Salesforce Certified Integration Architect — Question 43

When a user clicks “Check Preferences” as part of a Lightning flow in Salesforce, preferences from an externally hosted RESTful service are to be checked in real time. The RESTful service has OpenAPI 2.0 JSON definitions, responding in Boolean and string values data types.

Which integration pattern and mechanism should be selected to meet the conditions?

Answer options

Correct answer: D

Explanation

The correct answer is D, as the Request and Reply pattern allows for synchronous communication with the external REST API, enabling real-time preference checks. Other options, such as A and B, are related to event-driven or data mapping processes that do not provide the immediate response required in this scenario, while C focuses on REST Composite Resources, which is not specifically designed for this use case.