nerdexam
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)
  • A
    4% (2)
  • B
    75% (38)
  • C
    8% (4)
  • D
    14% (7)

Community Discussion

No community discussion yet for this question.

Full PDII Practice