Salesforce Certified Platform Developer - Plat-Dev-201 Exam Practice Test
Which three data types can a SOQL query return? Choose 3 answers
Correct Answer: A,C,D
When the code executes, a DML exception is thrown.
How should a developer modify the code to ensure exceptions are handled gracefully?

How should a developer modify the code to ensure exceptions are handled gracefully?

Correct Answer: B
When a user edits the Postal Code on an Account, a custom Account text field named
''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object.
What should be built to implement this feature?
''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object.
What should be built to implement this feature?
Correct Answer: B
A developer wants to improve runtime performance of Apex calls by caching result on the client.
What is the most efficient way to implement this and follow best practices?
What is the most efficient way to implement this and follow best practices?
Correct Answer: A
The sales management team at Universal Container requires that the Lead Source field of the Lead record be populated when a.. converted.
What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?
What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?
Correct Answer: C
A team of many developers work in their own individual orgs that have the same configuration as the production org.
Which type of org is best suited for this scenario?
Which type of org is best suited for this scenario?
Correct Answer: D
A developer must provide custom user interfaces when users edit a Contact in either Salesforce Classic or Lightning Experience.
What should the developer use to override the Contact's Edit button and provide this functionality?
What should the developer use to override the Contact's Edit button and provide this functionality?
Correct Answer: A
What are two considerations for running a flow in debug mode? Choose 2 answers
Correct Answer: C,D
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 it's trainers?
Correct Answer: A
A developer created a trigger on a custom object. This custom object also has some dependent pick lists.
According to the order of execution rules, which step happens first?
According to the order of execution rules, which step happens first?
Correct Answer: A
When a user edits the Postal Code on an Account, a custom Account text field named
''Timezone'' must be updated based on the values another custom object object called.
What is the optimal way to Implement this feature?
''Timezone'' must be updated based on the values another custom object object called.
What is the optimal way to Implement this feature?
Correct Answer: D
While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors. Why did the method fail in the sandbox test framework but succeed in the Developer Console?
Correct Answer: C
A developer created a new trigger that inserts a Task when a new Lead is created. After deploying to production, an outside integration chat reads task records is periodically reporting errors. Which change should the developer make to ensure the integration is not affected with minimal impact to business logic?
Correct Answer: D