Salesforce
PDII · Question #323
PDII Question #323: Real Exam Question with Answer & Explanation
The correct answer is A. Implement the Batchable interface.. See the full explanation below for the reasoning.
Question
A developer is asked to look into an issue where a scheduled Apex is running into DML limits. Upon investigation, the developer finds that the number of records processed by the scheduled Apex has recently increased to more than 10,000. What should the developer do to eliminate the limit exception error?
Options
- AImplement the Batchable interface.
- BUse the @future annotation.
- CImplement the Queueable interface.
- DUse platform events.
Community Discussion
No community discussion yet for this question.