Salesforce
PDII · Question #105
Which use case is an appropriate fit for the @future asynchronous Apex method? (Choose two.)
The correct answer is B. A developer needs to segregate DML operations and bypass the mixed save DML error D. A developer has long-running methods and needs to prevent delaying an Apex transaction. See the full explanation below for the reasoning.
Question
Which use case is an appropriate fit for the @future asynchronous Apex method? (Choose two.)
Options
- AA developer has jobs that need larger query results than regular transactions allow
- BA developer needs to segregate DML operations and bypass the mixed save DML error
- CA developer has long-running jobs with large data volumes that need to be performed in batches
- DA developer has long-running methods and needs to prevent delaying an Apex transaction
How the community answered
(24 responses)- A17% (4)
- B75% (18)
- C8% (2)
Community Discussion
No community discussion yet for this question.