最新的Salesforce Programmatic Development using Apex and Visualforce in Lightning Experience - DEX-450免費考試真題
問題1
A developer created a new after insert trigger on the Lead object that creates Task records for each Lead.
After deploying to production, an existing outside integration that inserts Lead records in batches to Salesforce is occasionally reporting total batch failures being caused by the Task insert statement. This causes the integration process in the outside system to stop, requiring a manual restart.
Which change should the developer make to allow the integration to continue when some records in a batch cause failures due to the Task insert statement, so that manual restarts are not needed?
After deploying to production, an existing outside integration that inserts Lead records in batches to Salesforce is occasionally reporting total batch failures being caused by the Task insert statement. This causes the integration process in the outside system to stop, requiring a manual restart.
Which change should the developer make to allow the integration to continue when some records in a batch cause failures due to the Task insert statement, so that manual restarts are not needed?
正確答案: A
問題2
Universal Containers needs to create a custom user interface component that allows users to enter information about their accounts.
The component should be able to validate the user input before saving the information to the database.
What is the best technology to create this component?
The component should be able to validate the user input before saving the information to the database.
What is the best technology to create this component?
正確答案: A
問題3
The following Apex method is part of the ContactService class that is called from a trigger:

How should the developer modify the code to ensure best practices are met?
A)


C)

D)

How should the developer modify the code to ensure best practices are met?
A)


C)

D)
正確答案: D
問題4
A custom object Trainer__c has a lookup field to another custom object Gym__c.
Which SOQL query will get the record for the Viridian City Gym and all it's trainers?
Which SOQL query will get the record for the Viridian City Gym and all it's trainers?
正確答案: D
問題5
What are two characteristics related to formulas?
Choose 2 answers
Choose 2 answers
正確答案: A,D
問題6
How can a developer check the test coverage of autolaunched Flows before deploying them in a change set?
正確答案: A
問題7
Which annotation exposes an Apex class as a RESTful web service?
正確答案: C
問題8
Which three resources in an Aura component can contain JavaScript functions?
Choose 3 answers
Choose 3 answers
正確答案: A,B,C
問題9
How is a controller and extension specified for a custom object named "Notice" on a Visualforce page?
正確答案: B

