Salesforce Certified Platform Developer II Practice Test - Questions Answers, Page 23
List of questions
Related questions
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?
A company has reference data stored in multiple Custom Metadata records that represent default information for certain.
When a Contact is inserted, the default information should be set on the Contact from the Custom Metadata records .. Address information.
What is the optimal way to automate this?
As part of a custom development, a developer creates a Lightning Component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change:
• Amount Probability, Stage, or Close Date
What is the most efficient way to Query such information?
A developer must perform a complex SOQL query that joins two objects in a Lightning component. how can the Lightning component execute the query?
A company needs to automatically delete sensitive information after 7 years. This could delete almost a million records every day.
How can this be achieved?
A company has a custom object. Order__c, that has a custom picklist field. Status__c, with values of New, In Progress," or Fulfilled and a lookup field, Contact_c, to Contact.
Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?
How should a developer assert that a trigger with an asynchronous process has successfully run?
A corporation has many different Salesforce orgs, with some different objects and some common objects, and wants to build an application that can create, retrieve, and update common object records in all of the different orgs.
Which method of integration should the application use?
A business process requires sending new Account records to an external system. The Account Name, Id, CreatedDate. and CreatedByld must be passed to the external system in near real-time when an Account is Inserted without error.
How should a developer achieve this?
Given the following code:
Assuming there were 10 Contacts and five Accounts created today, what is the expected result?
Question