ARC-101 practice question 18 of 25

Universal Containers (UC) is a leading provider of management training globally, UC requested students course registration data generated from the Salesforce student community to be synced with the learning management system (LMS). Any update to the course registration data needs to be reflected in the LMS. Which integration mechanism should be used to meet the requirement?

Full set: 106 questions
Answer options
A: Change Data Capture (CDC) Correct answer
B: Platform Event
C: Streaming API
D: Outbound Message
Correct Answer:
A. Change Data Capture (CDC)
Explanation

The requirement is to synchronize data changes from Salesforce to an external system (LMS) in near real-time. Change Data Capture (CDC) is the most appropriate mechanism for this use case. CDC is specifically designed to publish events for changes in Salesforce records (creations, updates, deletes, and undeletes). The external LMS can subscribe to the CDC event stream to receive these notifications and keep its own data synchronized. This approach is highly scalable, efficient, and provides a durable event stream with the ability to replay past events, ensuring data consistency between the two systems.

References

1. Salesforce Developer Documentation, Change Data Capture Developer Guide, "What Is Change Data Capture?": "Use Change Data Capture to synchronize Salesforce data with an external system. Change Data Capture publishes change events, which represent changes to Salesforce records. Changes include record creation, updates to existing records, record deletion, and record undeletion."

2. Salesforce Architects, Salesforce Integration Patterns and Practices, "Data Synchronization": This guide discusses various patterns. For the "Remote Call-In" pattern where Salesforce initiates the communication, it highlights event-based mechanisms. It states, "Change Data Capture is the preferred solution for keeping an external system in sync with Salesforce data... It provides a scalable way to publish and subscribe to a near-real-time stream of record changes." (This concept is detailed in the sections on event-based integration).

3. Salesforce Developer Documentation, Platform Events Developer Guide, "Platform Events vs. Change Data Capture": "Use Change Data Capture for... Synchronizing Salesforce records with an external data store." and "Use platform events for... Communicating business process changes, such as the status change of an order." This clearly differentiates the primary use cases.

4. Salesforce Developer Documentation, Streaming API Developer Guide, "Streaming API": "Salesforce offers a variety of streaming APIs that enable you to push events to client apps... The streaming APIs that Salesforce offers are PushTopic events, generic events, platform events, and Change Data Capture events." This confirms that Streaming API is a category, not a specific choice.

Scroll to Top