Salesforce Certified Platform Developer II — Question 76

A business process requires sending new Account records to an external system. The Account Name, Id, CreatedDate, and Created ById must be passed to the external system in near real-time when an Account is inserted without error.
How should a developer achieve this?

Answer options

Correct answer: C

Explanation

The correct answer is C because a Process Builder allows for asynchronous processing and can easily call an @InvocableMethod to handle the data transfer to the external system. Options A and B involve triggers, which may not be the best approach for external calls due to governor limits and execution context. Option D, while it also uses an @InvocableMethod, is limited in capabilities compared to Process Builder.