ARC-101 practice question 25 of 25

Northern Trail Outfitters wants to use Salesforce as a front end for creating accounts using the lead- to-opportunity process. 1. An order is created…

Full set: 106 questions
Northern Trail Outfitters wants to use Salesforce as a front end for creating accounts using the lead- to-opportunity process. 1. An order is created in Salesforce when the opportunity is closed and won, but the back-end ERP system is the data master for order, 2. Customer wants to be able to see within Salesforce all the stages of order processing like Order Created, Order Shipped, Order Paid that are within the retention window. Which two message durability considerations should an Integration Architect make when designing a solution to meet these business requirements? Choose 2 answers
Answer options
A: When subscribing to Salesforce Event bus, ReplaylD is used with a value of -2 to be able to see old and new events. Correct answer
B: High-volume event messages are stored for 24 hours (one day).
C: When subscribing to Salesforce Event bus, ReplaylD is used with a value of -1 to be able to see new events.
D: High-volume event messages are stored for 72 hours (three days). Correct answer
Correct Answer:
A. When subscribing to Salesforce Event bus, ReplaylD is used with a value of -2 to be able to see old and new events.; D. High-volume event messages are stored for 72 hours (three days).
Explanation

This scenario requires a durable integration where Salesforce can receive order status updates from an ERP system, even if the Salesforce subscriber is temporarily offline. This is achieved using the Salesforce event bus (e.g., with High-Volume Platform Events).
1. Replaying Events (A): To ensure no messages are lost, a subscriber must be able to retrieve events that were published while it was disconnected. Using a ReplayID of -2 instructs the event bus to send all events within the retention window, starting from the earliest available event. This meets the requirement to see all stages of order processing within the retention period.
2. Message Retention (D): Message durability depends on how long events are stored. High-volume platform event messages are stored for 72 hours (three days). This retention period is a critical consideration for an architect to ensure that events are available for replay, especially over a weekend or extended maintenance window.

References

1. Salesforce Platform Events Developer Guide, "Subscribe to Platform Event Notifications with CometD": This guide details the use of ReplayID. It specifies that a replayId of -1 gets new events, while -2 replays all events within the retention period. This supports option A and refutes option C.

2. Salesforce Platform Events Developer Guide, "Message Durability": "High-volume platform event messages are stored for 72 hours (three days). You can retrieve stored event messages from the event bus." This directly supports option D and refutes option B.

3. Salesforce Documentation, "Platform Event Allocations": This official documentation confirms the retention period: "High-volume platform event and change data capture event messages are stored for 72 hours (three days). Standard-volume platform event messages are stored for 24 hours (one day)." This further validates that for high-volume events, 72 hours is the correct retention period to consider.

Scroll to Top