Salesforce Certified Platform Developer - Certified Platform Developer Exam
Page: 3 / 26
Total 127 questions
Question #11 (Topic: Exam A)
Given the following Anonymous block:

What should a developer consider for an environment that has over 10,000 Case records?

What should a developer consider for an environment that has over 10,000 Case records?
A. The try-catch block will handle exceptions thrown by governor limits.
B. The transaction will fail due to exceeding the governor limit.
C. The try-catch block will handle any DML exceptions thrown.
D. The transaction will succeed and changes will be committed.
Answer: B
Question #12 (Topic: Exam A)
Universal Containers have a large number if custom applications that were built using a third-party JavaScript framework and exposed using Visualforce pages. The company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience.
What should the developer do to fulfill the business request in the quickest and most effective manner?
What should the developer do to fulfill the business request in the quickest and most effective manner?
A. Enable Available for Lightning Experience, Lightning Communities, and the mobile app on Visualforce pages used by the custom application.
B. Incorporate the Salesforce Lightning Design System CSS stylesheet into the JavaScript applications.
C. Set the attribute enableLightning to true in the definition.
D. Rewrite all Visualforce pages as Lightning components.
Answer: B
Question #13 (Topic: Exam A)
What are two ways a developer can get the status of an enqueued job for a class that implements the queueable interface? (Choose two.)
A. View the Apex Status page
B. Query the AsyncApexJob object
C. View the Apex Jobs page
D. View the Apex Flex Queue
Answer: BC
Question #14 (Topic: Exam A)
Which statement describes the execution order when triggers are associated to the same object and event?
A. Trigger execution order cannot be guaranteed.
B. Triggers are executed in the order they are created.
C. Triggers are executed alphabetically by trigger name.
D. Triggers are executed in the order they are modified.
Answer: A
Question #15 (Topic: Exam A)
Universal Containers recently transitioned from Classic to Lightning Experience.
One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system when the user presses a custom button on the Opportunity detail page. Example values are as follows:
Name
Amount
Account
Which two methods should the developer implement to fulfill the business requirement? (Choose two.)
One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system when the user presses a custom button on the Opportunity detail page. Example values are as follows:
Name
Amount
Account
Which two methods should the developer implement to fulfill the business requirement? (Choose two.)
A. Create a custom Visualforce quick action that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.
B. Create a Remote Action on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.
C. Create a Lightning component quick action that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.
D. Create an after update trigger on the Opportunity object that calls a helper method using @Future (Callout=true) to perform the HTTP REST callout.
Answer: CD