Certified Platform Developer II Practice Test practice questions, page 11 of 17, with answer review and explanations.
Question 51
A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system. What is the optimal way to update the Accounts from the external system?
Bulk API
SOAP API
Apex REST Web Service
Composite REST API
Question 52
A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller's account number before proceeding with the rest of their call script. Following best practices, what should a developer use to meet this requirement?
Apex Trigger
Process Builder
Flow Builder
Approvals
Question 53
What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?
Use the Schema namespace.
Use a static resource.
Perform a callout to the Metadata API.
Perform a SOQL Query.
Question 54
A company has a web page that needs to get Account record information, given its Salesforce record ID, from JavaScript on the page and then display it. Which method of integration is optimal?
REST API
Apex SOAP Web Service
Soap API
Apex REST Web Service
Question 55
A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that once sent emails and created tasks no longer do so. Which two statements are true regarding these issues and resolution? (Choose two.)
The administrators are deploying their own Change Sets, thus deleting each other's fields from the objects in production.
A sandbox should be created to use as a unified testing environment instead of deploying Change Sets directly to production.
Page Layouts should never be deployed via Change Sets, as this causes Workflows and Field-level Security to be reset and fields to disappear.
The administrators are deploying their own Change Sets over each other, thus replacing entire Page Layouts and Workflows in Production.