Salesforce
PDII · Question #395
Batch Apex is being considered by a developer to process more than 25 million account records in an organization. Which of the following can be used to define the scope and collect these records…
The correct answer is A. Database.BatchableContext D. Database.QueryLocator. See the full explanation below for the reasoning.
Question
Batch Apex is being considered by a developer to process more than 25 million account records in an organization. Which of the following can be used to define the scope and collect these records before they can be updated in a batch Apex class? Choose 2 answers.
Options
- ADatabase.BatchableContext
- BAsyncApexJob
- CCustom Iterable
- DDatabase.QueryLocator
How the community answered
(27 responses)- A74% (20)
- B19% (5)
- C7% (2)
Community Discussion
No community discussion yet for this question.