nerdexam
Salesforce

PDII · Question #254

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

The correct answer is C. The test class does not retrieve the updated value from the database.. See the full explanation below for the reasoning.

Question

A developer has a Visualforce page that automatically assigns ownership of an Account to a queue upon save. The page appears to correctly assign ownership, but an assertion validating the correct ownership fails. What can cause this problem?

Options

  • AThe test class does not use the Bulk API for loading test data.
  • BThe test class does not use the seeAllData=true annotation.
  • CThe test class does not retrieve the updated value from the database.
  • DThe test class does not implement the Queueable interface.

Community Discussion

No community discussion yet for this question.

Full PDII Practice