New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Plat-Arch-204 Exam - Topic 5 Question 6 Discussion

Actual exam question for Salesforce's Plat-Arch-204 exam
Question #: 6
Topic #: 5
[All Plat-Arch-204 Questions]

Universal Containers (UC) has a legacy homegrown application that stores customer data. Sales representatives edit contact records in Salesforce. UC requirements: 1. Salesforce updates should update the homegrown application. 2. Synchronization should be event-driven. 3. Integration should be asynchronous. Which option should an architect recommend?

Show Suggested Answer Hide Answer
Suggested Answer: A

For a requirement focused on synchronizing record updates from Salesforce to an external system in an event-driven and asynchronous manner, Change Data Capture (CDC) is the architecturally preferred solution over custom Platform Events.

CDC is designed specifically for data replication and synchronization. It automatically publishes change events for Salesforce records (Create, Update, Delete, and Undelete) to the event bus. Unlike Platform Events, which require manual publishing via Apex triggers or Flows, CDC is a low-code feature that requires only a simple activation for the Contact object in Setup. The external homegrown application can then act as a CometD subscriber, listening to the specialized /data/ContactChangeEvent channel to receive near real-time updates without the need for constant polling. Furthermore, CDC provides ordered, replayable events and an extended 72-hour retention window, ensuring that the homegrown application can recover missed updates using a Replay ID if it momentarily loses connection. This native broadcasting capability ensures data integrity across systems while breaking the tight coupling between Salesforce and the legacy application.


Contribute your Thoughts:

0/2000 characters
Huey
13 days ago
Hmm, I'm not sure. Change Data Capture might be a simpler solution. Depends on the specific requirements.
upvoted 0 times
...
Brock
18 days ago
I agree, Platform Events are the way to go. Asynchronous integration is key for this use case.
upvoted 0 times
...
Soledad
23 days ago
Option B seems like the way to go. Platform Events are designed for this kind of event-driven integration.
upvoted 0 times
...
Ming
28 days ago
I lean towards option B because it allows for custom event messages, but I wonder if it can keep up with the volume of changes we might see.
upvoted 0 times
...
Quentin
1 month ago
I feel like I've seen a similar question before, and I think Change Data Capture was the answer. But I'm a bit confused about how it integrates with the homegrown app.
upvoted 0 times
...
Arthur
1 month ago
I remember practicing with Platform Events, and they seem to fit the event-driven requirement well. But does it handle the asynchronous part effectively?
upvoted 0 times
...
Desmond
1 month ago
I think option A sounds familiar, especially with Change Data Capture. It might be the right choice for tracking changes, but I'm not entirely sure how CometD works.
upvoted 0 times
...
Eloisa
2 months ago
This is a tricky one. I'm not super familiar with the Salesforce integration features, so I'll need to do a bit of research on Change Data Capture and Platform Events to understand the pros and cons of each approach. I want to make sure I recommend the best solution.
upvoted 0 times
...
Ernest
2 months ago
I'm leaning towards Option A. Leveraging Change Data Capture to track the Salesforce changes and then using a CometD subscriber on the homegrown app seems like a solid approach. I'll need to double-check the details, but this option feels more straightforward to implement.
upvoted 0 times
...
Martina
2 months ago
Option B looks promising to me. Using Platform Events to publish custom event messages containing the Contact updates seems like a good way to achieve the event-driven and asynchronous requirements. I'll make sure to explain how that would work in my answer.
upvoted 0 times
...
Janna
2 months ago
Hmm, I'm a bit confused. Both options mention using Salesforce features to track changes, but I'm not sure how the homegrown application would receive those updates asynchronously. I'll need to think this through carefully.
upvoted 0 times
...
Kenia
2 months ago
This question seems straightforward - it's asking us to recommend the best option for integrating Salesforce with a legacy homegrown application. The key requirements are event-driven and asynchronous synchronization.
upvoted 0 times
...

Save Cancel