A company needs to integrate a legacy on-premise application that can only support SOAP API. The integration architect determines that the Fire and Forget integration pattern is most appropriate for sending data from Salesforce to the external application and getting a response back in a strongly-typed format. Which integration capabilities should be used?
Correct Answer: C
For an outbound, declarative, Fire-and-Forget integration to a legacy SOAP-based system, Salesforce Outbound Messaging is the native tool of choice. Outbound Messaging sends an XML message to a designated endpoint when specific criteria are met. It is highly reliable as Salesforce will automatically retry the delivery for up to 24 hours if the target system is unavailable. For the communication back from the legacy system to Salesforce, a strongly-typed SOAP API approach is required. The Enterprise WSDL is the correct recommendation here because it is a strongly-typed WSDL that is specific to the organization's unique data model (including custom objects and fields). Using the Enterprise WSDL allows the legacy system to communicate with Salesforce using specific data types, providing compile-time safety and reducing errors during the mapping process. Option A is less efficient because Platform Events would likely require middleware to translate the event into the legacy system's SOAP format. Option B suggests the Partner WSDL, which is loosely-typed and designed for developers building tools that must work across many different Salesforce orgs. Since this is an internal integration for a specific company, the Enterprise WSDL provides a much more streamlined development experience with better data integrity. By combining Outbound Messaging (for fire-and-forget delivery) and the Enterprise WSDL (for the strongly-typed callback), the architect fulfills the technical requirements while minimizing custom code.
Question 17
A company needs to integrate a legacy on-premise application that can only support SOAP API. After the integration architect evaluates the requirements and volume, they determine that the Fire and Forget integration pattern will be most appropriate for sending data from Salesforce to the external application and getting response back in a strongly-typed format. Which integration capabilities should be used to integrate the two systems?
Correct Answer: A
When integrating with a legacy SOAP-only application using a Fire and Forget pattern, Salesforce Outbound Messaging is the native, declarative choice. Outbound Messaging is a platform feature that sends a SOAP message to a designated endpoint when specific criteria are met. It is inherently asynchronous and provides built-in reliability; if the legacy system is offline, Salesforce will automatically retry the delivery for up to 24 hours. This perfectly fits the "Fire and Forget" requirement. For the strongly-typed response back (Remote Call-In), the Enterprise WSDL is the correct recommendation.1415 Enterprise WSDL: This is a strongly-typed WSDL generated specifically for one org's metadata. It includes specific references to16 custom objects and fields, ensu17ring that the legacy system can communicate with Salesforce using a rigid, predictable data structure. Partner WSDL (Option C): This is a loosely-typed WSDL designed for developers building tools that must work across many different orgs; it is not ideal for an internal, strongly-typed legacy integration. While Platform Events (Option B) are a modern alternative, they typically use REST or Streaming APIs, making them a less natural fit for an application that "can only support SOAP". By combining Outbound Messaging and the Enterprise WSDL, the architect provides a robust, SOAP-native solution that satisfies the business's technical constraints and reliability requirements.
Question 18
Northern Trail Outfitters (NTO) has an affiliate company that would like immediate notifications of changes to opportunities in the NTO Salesforce Instance. The affiliate company has a CometD client available. Which solution is recommended in order to meet the requirement?
Correct Answer: B
To provide near real-time notifications to a client that already supports CometD, an Integration Architect should leverage the Streaming API. While Platform Events are a modern alternative, PushTopic Events are specifically designed to stream changes to Salesforce records based on a defined SOQL query. A PushTopic event is triggered when a record is created, updated, deleted, or undeleted. By creating a PushTopic on the Opportunity object, NTO defines the criteria (fields and record states) that should trigger a message to the 1subscriber. The affiliate's CometD client can then subscribe to this topic's channel (e.g., /topic/OpportunityUpdates) to receive the data payload instantly. Option A is incorrect because "Accept CometD API Requests" is not a standard checkbox or configuration within a Connected App; authentication is handled via standard OAuth flows, but the streaming channel must still be defined. Option C describes a Polling mechanism, which is the architectural opposite of the requested "immediate notification" and would unnecessarily consume SOAP API limits while introducing latency. By using a PushTopic, NTO ensures a decoupled, event-driven architecture that scales effectively for notification-only use cases while respecting the technical capabilities of the affiliate's existing CometD-compatible infrastructure.
Question 19
Northern Trail Outfitters (NTO) has recently changed its Corporate Security Guidelines. The guidelines require that all cloud applications pass through a secure firewall before accessing on-premise resources. NTO is evaluating middleware solutions to integrate cloud applications with on-premise resources and services. Which consideration should an integration architect evaluate before choosing a middleware solution?
Correct Answer: A
When corporate guidelines mandate that all cloud-to-on-premise traffic must pass through a secure firewall, the architecture must support a Demilitarized Zone (DMZ) or "Perimeter Network" strategy. The Integration Architect must evaluate whether the middleware solution includes a robust API Gateway component. A secure API Gateway acts as the single entry point for all external requests. It is typically deployed within the DMZ to terminate incoming TLS connections from the cloud (Salesforce) and perform deep packet inspection, IP whitelisting, and authentication before proxying the request to internal on-premise resources. This provides a critical layer of insulation, ensuring that internal services-such as an ERP or legacy database-are never exposed directly to the public internet. While OAuth enforcement (Option B) is a common requirement for authorization, it does not fulfill the specific network-level firewall requirement described. Similarly, ODBC connectivity (Option C) is a low-level internal database protocol that should generally be avoided for cross-firewall communication due to its inherent security risks. By selecting a middleware solution with integrated API Gateway capabilities, Northern Trail Outfitters can provide the security team with centralized control over encryption, rate limiting, and threat protection, thereby strictly adhering to the new Corporate Security Guidelines while enabling seamless hybrid cloud integration.
Question 20
A customer of Salesforce has used Platform Events to integrate their Salesforce instance with an external third-party artificial intelligence (AI) system. The AI system provides a prediction score for each lead that is received by Salesforce. Once the prediction score is received, the lead information is saved to Platform Events for other processes. The trigger on the Platform Events has failed ever since it was rolled out to production. Which type of monitoring should the integration consultant have considered to monitor this integration?
Correct Answer: A
Troubleshooting failures in Platform Event-triggered logic is challenging because these triggers execute under the "Automated Process" system user, making them invisible to standard user-level monitoring. To diagnose why a trigger is failing in production, an Integration Architect must set up debug logs specifically for that trigger or the automated process user. Debug logs provide a granular view into the execution execution path, including Apex errors, governor limit consumption, and specific DML failures. Without these logs, it is impossible to determine if the failure is due to a null pointer exception, a validation rule violation, or a record locking conflict.678 Option B is a design-time validation step; while important, it would not help mon9itor or troubleshoot a runtime failure in a deployed trigger. Option C focuses on high-level consumption limits; while reaching the "Created Per Hour" limit would prevent events from1011 being published, it would not explain why an existing trigger is failing once the event has already arrived in the bus. By proactively establishing debug logs for the integration's triggers, the consultant can pinpoint the exact line of code or system constraint causing the failure, ensuring a faster "Mean Time to Repair" (MTTR) for critical AI-driven business processes.