Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer II (PDII) · Salesforce
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
I choose C due to Salesforce's "clicks over code" marketing. The requirement is simply notifying an external system. Outbound Messages are built exactly for this use case, requiring no code. Apex should only be used if custom processing is needed, which is not stated in the question. Outbound Messages handle this perfectly, while an Apex trigger would be unnecessary complexity and problematic due to the above limits. Even if you use a future method for the trigger, Salesforce limits the number of concurrent callouts, making this less reliable for high-volume processing. Outbound Messages do not count against these limits and have built-in retry mechanisms, making them more resilient.
D. Real-time Notification: An Apex trigger on the Order object can fire automatically when an Order's status changes to 'Paid'. This ensures that the OMS is notified in real-time, without any delays.
Must be outbound message as Salesforce wants people to use those.