nerdexam
Salesforce

PDII · Question #208

PDII Question #208: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #208. The question stem and answer options stay visible for context.

Question

How should a developer assert that a trigger with an asynchronous process has successfully run?

Options

  • ACreate all test data, use @future in the test class, then perform assertions
  • BCreate all test data in the test class, invoke Test.startTest() and Test.stopTest() and then perform
  • CInsert records into Salesforce, use seeAllData=true, then perform assertions
  • DCreate all test data in the test class, use System.runAs() to invoke the trigger, then perform

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice