Integration Design Flashcards
7 cards from real SLM practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Integration Design flashcards as text
A loyalty program needs to integrate with an airline partner's SOAP-based rewards API. Which Salesforce tooling generates the Apex stub classes from a WSDL?
Answer: WSDL2Apex tool in Setup
The WSDL2Apex tool in Salesforce Setup parses a partner's WSDL file and generates the Apex proxy classes needed to invoke the SOAP service.
An external e-commerce platform needs to check a member's real-time loyalty point balance before checkout. Which API approach provides the lowest latency response?
Answer: Composite REST API with a GET on LoyaltyMemberCurrency
A direct REST GET on the LoyaltyMemberCurrency record provides real-time point balance data with the lowest latency for checkout scenarios.
Which Salesforce integration pattern should be used when an external system needs to both insert a transaction and query the resulting point balance in a single round trip?
Answer: Composite API using sObject Tree or Composite Batch
The Composite API allows combining multiple REST requests into a single HTTP call, enabling insert and query in one round trip to reduce latency.
A loyalty system architect wants to ensure that duplicate transaction journals are not created if an external POS retries a failed API call. What design approach addresses this?
Answer: Implement idempotency using a unique external transaction reference field
Storing a unique external reference on the transaction journal and checking for duplicates before insert ensures idempotent processing of retried requests.
When using Salesforce Outbound Messaging for loyalty tier change notifications, which limitation is most critical to understand?
Answer: Outbound Messages only support SOAP, not REST, and require the receiving endpoint to acknowledge receipt
Outbound Messages deliver SOAP-formatted notifications and require the receiving system to return an Ack response; without it, Salesforce retries for up to 24 hours.
A global loyalty program requires integration with regional partners in the EU, requiring data to remain in-region. Which Salesforce feature helps enforce this data residency requirement?
Answer: Hyperforce with region-specific deployment
Hyperforce allows deploying Salesforce infrastructure in specific geographic regions, enabling data residency compliance for EU loyalty program data.
In a loyalty integration, the architect decides to use Platform Events instead of Apex callouts for decoupling. What is a key operational advantage of this approach?
Answer: Events are stored for up to 72 hours allowing subscribers to process at their own pace without losing messages
Platform Events are stored in the event bus for up to 72 hours (standard) or longer (high-volume), letting subscribers process events independently of the publisher's timing.