Deal of The Day! 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

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?
A) Leverage Change Data Capture to track changes to the Contact object and write a CometD subscriber on the homegrown application.
B) Leverage Platform Events to publish a custom event message containing changes to the Contact object.

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
Lizette
1 month ago
But option B offers more flexibility with event handling. It could be more scalable.
upvoted 0 times
...
Sabrina
1 month ago
Option A allows for real-time updates. That's crucial for our needs.
upvoted 0 times
...
Salena
2 months ago
I prefer option B. Platform Events are great for custom event messaging.
upvoted 0 times
...
Felice
2 months ago
I think option A is better. Change Data Capture is efficient for tracking changes.
upvoted 0 times
...
Lisbeth
2 months ago
Totally agree with A), it fits the requirements perfectly!
upvoted 0 times
...
Pilar
2 months ago
Wait, can it really handle asynchronous updates like that?
upvoted 0 times
...
Mitsue
2 months ago
Change Data Capture is great for tracking changes!
upvoted 0 times
...
Alyce
2 months ago
I think B) is better for custom event handling.
upvoted 0 times
...
Ilene
3 months ago
A) sounds solid for real-time updates!
upvoted 0 times
...
Christoper
3 months ago
Platform Events all the way! Gotta love that event-driven architecture.
upvoted 0 times
...
Huey
3 months ago
Hmm, I'm not sure. Change Data Capture might be a simpler solution. Depends on the specific requirements.
upvoted 0 times
...
Brock
4 months ago
I agree, Platform Events are the way to go. Asynchronous integration is key for this use case.
upvoted 0 times
...
Soledad
4 months ago
Option B seems like the way to go. Platform Events are designed for this kind of event-driven integration.
upvoted 0 times
...
Ming
4 months 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
4 months 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
4 months 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
4 months 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
5 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
5 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
5 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
5 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
5 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
Anjelica
24 days ago
I prefer option B. Platform Events seem more flexible for custom messages.
upvoted 0 times
...
Lore
29 days ago
I think option A is the way to go. Change Data Capture sounds perfect for tracking changes.
upvoted 0 times
...
...

Save Cancel