PDI試験無料問題集「Salesforce Platform Developer I (PDI) 認定」

Which three code lines are required to create a Lightning component on a Visualforce page?
Choose 3 answers.

正解:A,D,E 解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
A software company uses the following objects and relationships:
* Case: to handle customer support issues
* Defect__c: a custom object to represent known issues with the company's software
* Case Defect__c a junction object between Case and Defect __c to represent that a defect is a cause of a customer issue Case and Defect__c have Private organization-wide defaults.
What should be done to share a specific Case_Defect__c record with a user?

解説: (GoShiken メンバーにのみ表示されます)
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own.
What should the developer use to enforce sharing permissions for the currently logged in user while using the custom search tool?

解説: (GoShiken メンバーにのみ表示されます)
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex class, Bodyfat, and its method, calculateBodyFat (). The product owner wants to ensure this method is accessible by the consumer of the application when developing customizations outside the ISV's package namespace.
Which approach should a developer take to ensure calculateBodyFat () is accessible outside the package namespace?

解説: (GoShiken メンバーにのみ表示されます)

When the code executes, a DML exception is thrown.
How should a developer modify the code to ensure exceptions are handled gracefully?

解説: (GoShiken メンバーにのみ表示されます)
Where are two locations a developer can look to find information about the status of batch or future methods?
Choose 2 answers

解説: (GoShiken メンバーにのみ表示されます)
Universal Containers hires a developer to build a custom search page to help users find the Accounts they want. Users will be able to search on Name, Description, and a custom comments field.
Which consideration should the developer be aware of when deciding between SOQL and SOSL?
Choose 2 answers

解説: (GoShiken メンバーにのみ表示されます)
A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with 200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code?
Choose 2 answers

解説: (GoShiken メンバーにのみ表示されます)
A custom picklist field, Pool Preference , exists on a custom object. The picklist contains the following options: 'Vegan', 'Kosher', 'No Preference'. The developer must ensure a value is populated every time a record is created or updated.
What is the optimal way to ensure a value is selected every time a record is saved?

解説: (GoShiken メンバーにのみ表示されます)
How should a developer write unit tests for a private method in an Apex class?

解説: (GoShiken メンバーにのみ表示されます)