Northern Trail Outfitters is planning to perform nightly batch loads into Salesforce from an external system with a custom Java application using the Bulk API. The CIO is curious about monitoring recommendations for the jobs from the technical architect. Which recommendation should help meet the requirements?
Correct Answer: A
For high-volume data loads using the Bulk API, monitoring should be performed programmatically by the orchestrating client-in this case, the custom Java application. The Bulk API is asynchronous, meaning that when you submit a job, Salesforce acknowledges the request and processes it in the background. The Java application must actively track the state of its own jobs. Using the `getBatchInfo` (or `getJobInfo` in Bulk API 2.0) method allows the application to retrieve the real-time status of each batch. The application can check for statuses such as `Queued`, `InProgress`, `Completed`, or `Failed`. Once a batch is marked as `Completed`, the application can then call `getBatchResult` to retrieve a list of successes and failures for individual records. Option B is architecturally unsound because Bulk API operations are designed to bypass most synchronous Apex logic to ensure performance; furthermore, creating custom records for every error in a "nightly batch load" would likely hit other platform limits (like storage or CPU) and defeat the purpose of using the Bulk API. Option C is ineffective for Bulk API monitoring, as debug logs do not capture the background processing of bulk batches and would quickly hit the log size limits. By recommending Option A, the architect ensures that the Java application maintains full control over the integration lifecycle. The application can log errors locally, implement automated retries for transient failures, and provide the CIO with accurate, high-level reporting on the success rate of the nightly loads without placing unnecessary overhead on the Salesforce platform. ---
Integration-Architect Exam Question 32
A large business-to-consumer (B2C) customer is planning to implement Salesforce CRM to become a customer-centric enterprise. Below is the B2C customer's current system landscape diagram. The goals for implementing Salesforce include: * Develop a 360-degree view of the customer. * Leverage Salesforce capabilities for marketing, sales, and service processes. * Reuse Enterprise capabilities built for quoting and order management processes. Which three systems from the current system landscape can be retired with the implementation of Salesforce?
Correct Answer: C
Comprehensive and Detailed 250 to 350 words of Explanation From Salesforce Pl14atform Integration Architect documents: In the rol15e of a Salesforce Platform Integration Architect, evaluating a legacy landscape requires a clinical mapping of current system functions against Salesforce's native capabilities, while strictly adhering to the "Constraints and Goals" provided by the business. The objective here is to maximize the ROI of the Salesforce implementation by consolidating redundant systems into the core platform. According to Goal 2, the business intends to utilize Salesforce for Marketing, Sales, and Service processes. Salesforce is architected to handle these three domains through its core clouds: Marketing Cloud (replacing the legacy Email Marketing System), Sales Cloud (replacing the Sales Activity System), and Service Cloud (replacing the Case Management System). By consolidating these three specific functions into Salesforce, the organization achieves Goal 1, which is the creation of a 360-degree view of the customer. When these activities occur on a single platform, the data is unified, eliminating the silos that existed in the previous landscape. However, the architect must also respect the technical constraints defined in Goal 3, which explicitly states the need to reuse enterprise capabilities built for quoting and order management. In architectural design, this designates the "Quoting System" and the "Order Management System" as systems of record that must remain in the future-state landscape. These systems likely contain complex, proprietary logic or are tightly coupled with back-end ERP systems like SAP Business Suite, making them "non-negotiable" for retirement at this stage. Therefore, because Email Marketing, Sales Activity, and Case Management map directly to Salesforce's primary strengths and are not excluded by the "reuse" requirement, they are the three systems that should be retired. This strategic retirement simplifies the integration architecture, allowing the architect to focus on building robust integration patterns (such as Request-Reply or Fire-and-Forget) between Salesforce and the remaining Quoting and Order Management systems.
Integration-Architect Exam Question 33
What is the first thing an integration architect should validate if a callout from a Lightning web component to an external endpoint is failing?
Correct Answer: A
When an integration callout initiated from a Lightning Web Component (LWC) fails, the architect must distinguish between client-side and server-side security layers. Unlike Apex callouts, which are governed by Remote Site Settings at the server level, LWC requests originate directly from the user's browser. Consequently, they are subject to the browser's Content Security Policy (CSP). CSP is a security layer that helps detect and mitigate certain types of attacks, including Cross-Site Scripting (XSS) and data injection attacks. It prevents a website from loading content from a third party unless that domain is explicitly safe-listed. If an LWC attempts to connect to an external API endpoint that is not listed in the CSP Trusted Sites in Salesforce Setup, the browser will block the request before it is even sent, often returning a "Refused to connect because it violates the document's Content Security Policy" error. While Cross-Origin Resource Sharing (CORS) is also a browser-level security mechanism, it must be configured on the external server to allow the browser to access its resources; however, the first validation step within the Salesforce environment for a failing LWC callout is ensuring the domain is allowed by the org's CSP.
Integration-Architect Exam Question 34
Universal Containers (UC) is a global financial company. UC support agents would like to open bank accounts on the spot for customers who inquire about UC products. During the bank account opening process, the agents execute credit checks for the customers through external agencies. At any given time, up to 30 concurrent reps will be using the service to perform credit checks for customers. Which error handling mechanisms should be built to display an error to the agent when the credit verification process has failed?
Correct Answer: A
In a synchronous Request-Reply integration-where a bank agent is waiting for a real-time credit check to open an account-the error handling strategy must balance user experience with system resilience. Handling these errors at the Middleware layer is the architecturally preferred solution for managing complex retry logic and providing a clean response to Salesforce. If the external credit agency's service is momentarily unavailable, the middleware (such as an ESB or MuleSoft) can automatically retry the request multiple times using a pre-defined strategy (e.g., exponential backoff). This "self-healing" behavior can often resolve transient network issues before the Salesforce agent even realizes there was a problem. If the retries fail, the middleware then returns a structured error message to Salesforce, which is displayed to the agent via the UI. Option B (Fire and Forget) is unsuitable for this use case because the agent needs the result immediately to proceed with the bank account opening; they cannot afford to wait for a background process to finish hours later. Option C (Mock Service) is a testing tool and has no place in a production environment where real financial decisions are being made. By delegating error management to the middleware, UC ensures that its Salesforce instance remains performant (avoiding long-running request timeo1112uts) while maximizing the chances of a successful credit check through automated, controlled retries.1314
Integration-Architect Exam Question 35
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.