A developer is inserting, updating, and deleting multiple lists of records in a single transaction and wants to ensure that any error prevents all execution.How should the developer implement error exception handling in their code to handle this?
Answer(s): A
A Visualforce page needs to make a callout to get billing information and tax information from two different REST endpoints. The information needs to be displayed to the user at the same time and the return value of the billing information contains the input for the tax information callout. Each endpoint might take up to two minutes to process.How should a developer implement the callouts?
Answer(s): B
The Account edit button must be overridden in an org where a subset of users still use Salesforce Classic. The org already has a Lightning Component that will do the work necessary for the override, and the client wants to be able to reuse it.How should a developer implement this?
Answer(s): D
A developer wrote a trigger on Opportunity that will update a custom Last Sold Date field on the Opportunity’s Account whenever an Opportunity is closed. In the test class for the trigger, the assertion to validate the Last Sold Date field fails.What might be causing the failed assertion?
The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem.What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?
Post your Comments and Discuss Salesforce Certified Platform Developer II exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Certified Platform Developer II content, but please register or login to continue.