Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer II (PDII) · Salesforce
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
So ignoring the part that B is spelled wrong, D is needed for several reasons, most already mentioned. There is a second part to this though that allows for the queueable process to be reviewed, and this is generally handled with a transaction finalizer. Trailhead: https://trailhead.salesforce.com/content/learn/modules/asynchronous_apex/async_apex_queueable Finalizers: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_transaction_finalizers.htm
It's gotta be a queue. Database.AllowsCallouts (not Database.AllowCallouts) is the correct name of the interface.
1. Queueable Jobs can contain the member variable as SObjects or custom Apex Types. 2. When using queueable jobs it will make the AsyncApexJob which we can monitor like Scheduled jobs. 3. Queueable Apex can be called from the future and batch class. 4. Using Queueable Apex will chain up to queueable jobs and in Developer Edition it is only 5 Jobs.