Salesforce Certified Platform Developer II — Question 30

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.
Which feature should be used to implement these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B, Queueable, as it allows for asynchronous processing and can handle complex operations, such as making individual callouts to a web service for each record. @future methods, while also asynchronous, cannot handle complex job chaining as well as Queueable. Process Builder and Workflow are not suitable for handling callouts directly, as they are primarily designed for declarative business logic.