nerdexam
Salesforce

PDII · Question #313

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

The correct answer is B. Implement the Schedulable interface in the class that contains the aggregate calculation method. D. Implement the Queuable interface in the class that contains the aggregate calculation method.. See the full explanation below for the reasoning.

Question

A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run once a day after business hours. Which two steps should a developer take to accomplish this? (Choose two.)

Options

  • AUse the @future annotation on the method that performs the aggregate calculation.
  • BImplement the Schedulable interface in the class that contains the aggregate calculation method.
  • CUse the @readOnly annotation on the method that performs the aggregate calculation.
  • DImplement the Queuable interface in the class that contains the aggregate calculation method.

Community Discussion

No community discussion yet for this question.

Full PDII Practice
A Salesforce org has more than 50,000 contacts. A new business... | PDII Q#313 Answer | NerdExam