SLM Integration Design 2 — Questions and Answers
Question 1: Which Salesforce integration pattern is best suited for real-time loyalty point accrual from a POS system that requires an immediate response?
- Request and Reply (Correct answer)
- Fire and Forget
- Batch Data Synchronization
- UI Update Based on Data Changes
Correct answer: Request and Reply
Request and Reply is ideal when the calling system needs an immediate synchronous response, such as confirming point accrual at checkout.
Question 2: A loyalty platform needs to push real-time tier upgrade events to an external CRM without waiting for a response. Which pattern best fits this scenario?
- Request and Reply
- Fire and Forget (Correct answer)
- Batch Data Synchronization
- Remote Call-In
Correct answer: Fire and Forget
Fire and Forget sends the event asynchronously and does not wait for a reply, ideal for notifications like tier upgrades.
Question 3: Which Salesforce feature allows an external system to subscribe to loyalty member tier change events without polling the Salesforce API?
- Outbound Messages
- Platform Events (Correct answer)
- Scheduled Apex
- Salesforce Connect
Correct answer: Platform Events
Platform Events enable event-driven integration where external systems subscribe to events published by Salesforce, eliminating the need for polling.
Question 4: When integrating Loyalty Management with an external marketing platform, which authentication mechanism is the Salesforce-recommended standard for securing API-to-API calls?
- Basic Authentication
- OAuth 2.0 Client Credentials Flow (Correct answer)
- API Key in URL parameter
- Session ID sharing
Correct answer: OAuth 2.0 Client Credentials Flow
OAuth 2.0 Client Credentials Flow is the recommended server-to-server authentication mechanism that does not require user interaction.
Question 5: A company wants to display loyalty points from Salesforce on a third-party portal without replicating data. Which Salesforce feature enables this?
- External Objects via Salesforce Connect (Correct answer)
- Data Loader export
- Change Data Capture
- Apex callouts
Correct answer: External Objects via Salesforce Connect
Salesforce Connect uses External Objects to display data from external systems in real time without storing it in Salesforce.
Question 6: Which Salesforce tool provides a low-code way to call an external REST API and map its response to Salesforce fields within a Flow?
- Apex HTTP Callout
- External Services (Correct answer)
- Named Credentials
- MuleSoft Anypoint
Correct answer: External Services
External Services allows admins to register an external REST API and invoke it declaratively within Flows without writing code.
Question 7: When configuring a Named Credential for a loyalty integration, what is the primary security benefit over storing credentials in Custom Settings?
- Named Credentials support multiple authentication protocols
- Credentials are encrypted and not exposed in Apex code or logs (Correct answer)
- Named Credentials allow more API calls per day
- They automatically retry failed callouts
Correct answer: Credentials are encrypted and not exposed in Apex code or logs
Named Credentials store authentication details securely so they are never exposed in Apex code, debug logs, or setup fields.
Which Salesforce integration pattern is best suited for real-time loyalty point accrual from a POS system that requires an immediate response?