Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Integration Architect All Questions

View all questions & answers for the Certified Integration Architect exam

Exam Certified Integration Architect topic 1 question 63 discussion

Actual exam question from Salesforce's Certified Integration Architect
Question #: 63
Topic #: 1
[All Certified Integration Architect Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
JLee1
1 year ago
Salesforce does provide an option to publish events before the transaction commits. This is known as the “Publish Immediately” behavior. However, it’s important to note that this isn’t transactional, meaning a Salesforce record that an event publisher creates after publishing might not be committed to the database before the subscriber receives the event message. This could lead to potential issues where the event is processed before the Salesforce record in the trigger is committed to the database. Therefore, in most cases, it’s recommended to use the “Publish After Commit” behavior to ensure that the transaction is completed before the event is published.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...