Certified Platform Developer II Practice Test practice questions, page 14 of 17, with answer review and explanations.
Question 66
The progress of an apex job queued is using the System.enqueueJob method and needs to be monitored. Which options are valid? (Choose two.)
Use the Apex Jobs page in setup
Query the Queueable Apex record
Query the AsyncApexJob record
Use the Scheduled Jobs page in setup
Question 67
Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)
Log lines in the execution log panel can be analyzed for details about specific events
The performance tree should be use to analyze events further starting from the one that take the least amount of time
The execution tree can be used with the execution log to filter and get specific information about events
Multiple short bursts of Apex events should be analyzed since they can add up to a significant amount of time
Question 68
A developer is writing a complex application involving triggers, workflow rules, Apex classes, and processes. The developer needs to carefully consider the order of execution when developing the application. 1. Before Triggers 2. After Triggers 3. Post commit logic such as sending email 4. DML committed to the database 5. Workflow rules 6. Roll-up summary calculations In what order do the following operations execute?
1, 2, 5, 6, 4, 3
1, 5, 6, 2, 4, 3
1, 2, 4, 5, 6, 3
1, 6, 5, 2, 4, 3
Question 69
A developer has been asked to create code that will meet the following requirements: Receives input of: Map Performs a potentially long-running callout to an outside web service Provides a way to confirm that the process executed successfully Which asynchronous feature should be used?
@future (callout=true)
Database.AllowCallouts interface
Schedulable interface
Queueable interface
Question 70
A developer wants to retrieve and deploy metadata, perform simple CSV export of query results, and debug Apex REST calls by viewing JSON responses. Which tool should the developer use?