ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 36 - Certified B2C Solution Architect discussion

Report
Export

A company is using both Service Cloud and B2C Commerce but they are not using Mulesoft or any other integration middleware and do not plan on adding that in the near future. However, there is a need to keep customer records in sync across both Service Cloud and B2C Commerce. When a change to the customer record in Service Cloud takes place, such as an updated customer name, the same customer record should be updated in B2C Commerce. Assume that there is a common ID that uniquely identifies the customer across the two systems.

How should a Solution Architect deliver the desired functionality?

A.
Send a platform event from Service Cloud and subscribe to the platform event in B2C Commerce using the built-in functionality
Answers
A.
Send a platform event from Service Cloud and subscribe to the platform event in B2C Commerce using the built-in functionality
B.
Develop a custom solution in Service Cloud to consume and communicate with B2C Commerce APIs
Answers
B.
Develop a custom solution in Service Cloud to consume and communicate with B2C Commerce APIs
C.
Send an Outbound Message from Service Cloud and catch and handle the Outbound Message using the B2C Commerce APIs
Answers
C.
Send an Outbound Message from Service Cloud and catch and handle the Outbound Message using the B2C Commerce APIs
D.
Use change data capture to send a message from Service Cloud and catch and handle the message using B2C Commerce Service Cloud Connector
Answers
D.
Use change data capture to send a message from Service Cloud and catch and handle the message using B2C Commerce Service Cloud Connector
Suggested answer: B

Explanation:

A custom solution in Service Cloud can use Apex or Lightning Web Components to call the B2C Commerce APIs and update the customer records in B2C Commerce. This option provides the most flexibility and control over the integration logic and error handling. Platform events, outbound messages, and change data capture are not supported by B2C Commerce out of the box, so they would require additional development or middleware to handle them.

Reference:

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_rest_code_sample_basic.htm

https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.data_wire_example

https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2FOCAPI%2Fcurrent%2Fusage%2FRESTAPIs.html

asked 23/09/2024
David Codrington
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first