Salesforce
PDII · Question #380
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service…
The correct answer is B. Implement the Queueable interface. See the full explanation below for the reasoning.
Question
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call. What should a developer do to implement these requirements?
Options
- AImplement platform events.
- BImplement the Queueable interface.
- CExpose an Apex class as a web service.
- DCreate a future method
How the community answered
(51 responses)- A4% (2)
- B75% (38)
- C8% (4)
- D14% (7)
Community Discussion
No community discussion yet for this question.