Salesforce Certified Integration Architect — Question 35
An integration architect has built a Salesforce application that integrates multiple systems and keeps them synchronized via Platform Events.
What is taking place if events are only being published?
Answer options
- A. The platform events are published immediately before the Apex transaction completes.
- B. The platform events have a trigger in Apex.
- C. The platform events are being published from Apex.
- D. The platform events are published after the Apex transaction completes.
Correct answer: D
Explanation
The correct answer is D because platform events are published only after the Apex transaction has successfully completed, ensuring that all processing is done before the events are sent. Option A is incorrect as it suggests events are published too early, while B and C do not address the timing of the publication relative to the Apex transaction.