INTEGRATION-ARCHITECTURE-DESIGNER practice question 13 of 25
Sales representatives at Universal Containers (UC) use Salesforce Sales Cloud as their primary CRM. UC owns a legacy homegrown application that…
Full set: 106 questionsDomain Design an Integration Solution
Sales representatives at Universal Containers (UC) use Salesforce Sales Cloud as their primary CRM. UC owns a legacy homegrown application that stores a copy of customer dataas well. Sales representatives may edit or update Contact records in Salesforce if there is a change. Both Salesforce and the homegrown application should be kept synchronized for consistency. UC has these requirements: 1. When a Contact record in Salesforce is updated, the external homegrown application should be 2. The synchronization should be event driven. 3. The integration should be asynchronous. Which option should an architect recommend to satisfy the requirements?
Change Data Capture (CDC) is the most suitable solution as it is specifically designed for broadcasting record changes asynchronously and in an event-driven manner. When a Contact record is updated in Salesforce, CDC automatically publishes a change event containing details of the modification. The external homegrown application can then subscribe to this event stream using a CometD client to receive the updates in near real-time. This approach directly meets all requirements for event-driven, asynchronous synchronization with minimal custom implementation on the Salesforce side.
A. Platform Events would also work, but they require custom development (Apex trigger or Flow) to construct and publish the event, whereas CDC provides this functionality declaratively for record changes.
C. An Apex trigger with a @future callout creates a point-to-point integration. While asynchronous, this is less scalable and more tightly coupled than a publish-subscribe model like Change Data Capture.
D. An ETL tool operating on a "regular cadence" describes a scheduled batch process, which directly contradicts the requirement for an "event-driven" synchronization.
1. Salesforce Developer Documentation, Change Data Capture Developer Guide, "Change Data Capture Basics": "Change Data Capture is a streaming product on the Lightning Platform that enables you to efficiently integrate your Salesforce data with external systems. With Change Data Capture, you can receive changes of Salesforce records in real time and synchronize corresponding records in an external data store." This source confirms CDC is the purpose-built tool for real-time, event-driven data synchronization.
2. Salesforce Architects, "Architect's Guide to Event-Driven Architecture with Salesforce": In the section "Choosing the Right Eventing Solution," the guide positions Change Data Capture for "Record changes (create, update, delete, undelete)" and highlights its use for "Data replication." This directly aligns with the question's scenario of synchronizing Contact record updates.
3. Trailhead, Change Data Capture Basics, "Get Started with Change Data Capture": "Change Data Capture publishes events for changes in Salesforce records. ... Applications can subscribe to change events to... synchronize data with an external system." This reinforces that CDC is the standard mechanism for the required functionality.
Keep practicing
Take the free INTEGRATION-ARCHITECTURE-DESIGNER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other INTEGRATION-ARCHITECTURE-DESIGNER practice questions
- Question 1Northern Trail Outfitters has a requirement to encrypt few of widely used standard fields…
- Question 2An Integration Developer is developing an HR synchronization app for a client. The app sy…
- Question 3Northern Trail Outfitters submits orders to the manufacturing system web-service. Recentl…
- Question 4Customer is evaluating Platform Events solution and would like help in comparing/contrast…
- Question 5Universal Containers (UC) is a large printing company that sells advertisement banners. T…
- Question 6A large consumer goods manufacturer operating in multiple countries is planning to implem…
