ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 28 - Certified B2C Solution Architect discussion

Report
Export

Northern Trail Outfitters (NTO) wants to use Salesforce as a front end for creating accounts using the lead-to-opportunity process. When an opportunity is closed or won, an order must be created in the ERP, which manages orders. The organization has an Enterprise Service Bus (ESB) that supports the CometD protocol.

Which two integration approaches or steps should a Solution Architect recommend for this scenario?

Choose 2 answers

A.
Define a new platform event in Salesforce and then create a Process Builder process to publish a platform event when the opportunity status changes to Closed-Won.
Answers
A.
Define a new platform event in Salesforce and then create a Process Builder process to publish a platform event when the opportunity status changes to Closed-Won.
B.
Enable ESB to publish to the platform event using the CometD protocol and notify the back-end ERP system to create the order synchronously.
Answers
B.
Enable ESB to publish to the platform event using the CometD protocol and notify the back-end ERP system to create the order synchronously.
C.
Define a new platform event in the back-end system for the order details and then create a Process Builder process to initiate the platform event when the opportunity status changes to Closed-Won.
Answers
C.
Define a new platform event in the back-end system for the order details and then create a Process Builder process to initiate the platform event when the opportunity status changes to Closed-Won.
D.
Enable ESB to subscribe to the platform event using the CometD protocol and notify the back-end ERP system to create the order asynchronously.
Answers
D.
Enable ESB to subscribe to the platform event using the CometD protocol and notify the back-end ERP system to create the order asynchronously.
Suggested answer: A, D

Explanation:

A is correct because defining a new platform event in Salesforce and publishing it with Process Builder when the opportunity status changes to Closed-Won is a valid way to trigger an integration with the ESB using the CometD protocol.

D is correct because enabling ESB to subscribe to the platform event using the CometD protocol and notifying the back-end ERP system to create the order asynchronously is a valid way to handle the integration with the ERP system using a publish-subscribe model.

B is incorrect because publishing to a platform event using the CometD protocol requires an Apex trigger, not a Process Builder process. Also, creating the order synchronously would not be advisable as it would introduce latency and dependency on the ERP system's availability.

C is incorrect because defining a new platform event in the back-end system for the order details would not be possible as platform events are Salesforce-specific objects that can only be defined within Salesforce.

: https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_intro_emp.htm

: https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_subscribe.htm

: https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_publish_apex.htm

: https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_define.htm

asked 23/09/2024
Medard Vedasto
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first