ARC-101 practice question 19 of 25
When 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 data types of Boolean and string values. Which integration pattern and mechanism should be selected to meet the conditions?
Full set: 106 questionsThe scenario requires a synchronous, real-time callout from a Salesforce Flow to an external REST service, initiated by a user action. The Request-Reply pattern is the appropriate synchronous model where the flow sends a request and waits for an immediate response. Enhanced External Services is the specific Salesforce mechanism designed for this purpose. It declaratively consumes an external service's OpenAPI 2.0 definition and creates invocable actions that can be directly used within a Lightning Flow, perfectly matching the requirements.
1. Salesforce Architects, Integration Patterns and Practices Guide, Page 8, "Request and Reply": This document defines the Request-Reply pattern: "In this pattern, a remote system is invoked by a Salesforce app that waits for a response from that system... This is a synchronous call." This aligns with the real-time requirement.
2. Salesforce Help, External Services, "What Is External Services?": "External Services takes your API specification... and creates invocable actions in Salesforce... Call the invocable actions from a flow... The schema format must be OpenAPI 2.0...". This directly supports using External Services with an OpenAPI 2.0 definition from a Flow.
3. Salesforce Architects, Integration Patterns and Practices Guide, Page 10, "Remote Call-In": This pattern is defined as when "a remote system connects to Salesforce to create, retrieve, update, or delete data or to invoke custom business logic." This confirms option B describes the wrong direction.
4. Salesforce Architects, Integration Patterns and Practices Guide, Page 12, "Data Virtualization": "Salesforce Connect provides a fast, easy way to provide this type of integration and is the preferred method of data virtualization for Salesforce." This shows the primary purpose is representing data as objects, which is less direct than invoking an action.
5. Platform Events Developer Guide, "Platform Event Basics": "Platform events are part of Salesforce’s enterprise messaging platform. The platform provides an event-driven messaging architecture to enable apps to communicate inside and outside of Salesforce." This confirms its use for event-driven, asynchronous communication (Fire and Forget), not synchronous request-reply.
Keep practicing
Take the free ARC-101 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ARC-101 practice questions
- Question 1Northern Trail Outfitters has had an increase in requests from other business units to in…
- Question 2Salesforce users need to read data from an external system via HTTPS request. Which two s…
- Question 3The director of customer service at Northern Trail Outfitters (NTO) wants to capture and …
- Question 4Northern Trail Outfitters (NTO) has recently changed their Corporate Security Guidelines.…
- Question 5An Integration Architect has designed a mobile application for Salesforce users to get da…
- Question 6A company needs to integrate a legacy on premise application that can only support SOAP A…
