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
- A. Fire and Forget: Process driven Platform Events publishes events on Salesforce Event Bus.
- B. Data Virtualization: Salesforce Connect maps external REST data in external objects.
- C. Remote Call-In: Salesforce REST API with REST Composite Resources.
- D. Request and Reply: Enhanced External Services invokes a REST API.
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.