nerdexam
Salesforce

CRT-450 · Question #60

Which scenario is valid for execution by unit tests?

The correct answer is B. Set the created date of a record using a system method. See the full explanation below for the reasoning.

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 ().

How the community answered

(54 responses)
  • A
    2% (1)
  • B
    80% (43)
  • C
    6% (3)
  • D
    13% (7)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice