nerdexam
SalesforceSalesforce

PDI · Question #60

PDI Question #60: Real Exam Question with Answer & Explanation

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

Submitted by certguy· Apr 18, 2026Testing, Debugging, and Deployment

Question

Which scenario is valid for execution by unit tests?

Options

  • ALoad data from a remote site with a callout.
  • BSet the created date of a record using a system method.
  • CExecute anonymous Apex as a different user.
  • DGenerate a Visualforce PDF with geccontentAsPDF ().

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI 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.

Topics

#Unit Testing#Apex Testing#Test Data Setup#System.Test methods
Full PDI PracticeBrowse All PDI Questions