Universal Containers (UC) is currently managing a custom monolithic web service that runs on an on-premise server. This monolithic web service is responsible for Point-to-Point (P2P) integrations between Salesforce and a legacy billing application, a cloud-based ERP, and a data lake. UC has found that the tight interdependencies are causing failures. What should an integration architect recommend to decouple the systems and improve performance?
Correct Answer: C
The primary architectural flaw in UC's current landscape is the reliance on a monolithic P2P integration layer. In such designs, any failure in one integration thread or a surge in volume for one system can monopolize resources (CPU, memory, threads), causing the entire service-and thus all other integrations-to fail. This lack of isolation leads to the "tight interdependencies" described. To effectively decouple these systems, the architect should recommend a Microservices Architecture. By breaking the monolithic service into smaller, independent, and modular components, each integration (Billing, ERP, Data Lake) becomes its own isolated service. This approach provides several key architectural benefits: Isolation of Failure: If the connection to the legacy billing application fails or times out, it no longer impacts the ERP or Data Lake integrations. Independent Scalability: If the Data Lake integration requires high throughput, that specific microservice can be scaled horizontally without wasting resources on the others. Technology Agility: Each microservice can be updated or patched independently, allowing for faster maintenance cycles. Furthermore, moving a "monolithic" service to the cloud (Option B) is simply a "lift and shift" that preserves the underlying fragility. While the Bulk API (Option A) is excellent for high-volume data loading, it does not solve the fundamental problem of system interdependency and orchestration failure. Transitioning to a modular, service-oriented design allows UC to implement modern integration patterns, such as asynchronous queuing between the microservices, which significantly improves the overall resilience and performance of the Salesforce-to-back-office landscape.
Question 42
Northern Trail Outfitters is creating a distributable Salesforce package. The package needs to call into a Custom Apex REST endpoint in the central org. The security team wants to ensure a specific integration account is used in the central org that they will authorize after installation. Which item should an architect recommend?
Correct Answer: B
For a distributable package to securely access a central "Hub" org, the architecture must support the OAuth 2.0 Web Server Flow. This flow is designed for applications (like the package installed in a "Spoke" org) that can securely store a Client Secret and need to act on behalf of a specific user. The Connected App in the central org acts as the "Identity and Access" gatekeeper. A critical component of the Connected App configuration is the Callback URL (Redirect URI). When a user in the "Subscriber" org clicks "Authorize," Salesforce redirects them to the central org to log in. After successful authentication, the central org needs to know where to send the "Authorization Code" back to. In a multi-org packaging scenario, each subscriber org will have a unique instance URL (e.g., na15.salesforce.com). The architect must ensure that the Connected App's callback URLs are correctly configured to handle these redirects. Option C (Encrypted Passwords) is a major security risk and is considered an "anti-pattern" in modern integration. Option A is unnecessary, as API access is a standard feature. By using the Connected App with correct Callback URLs, the architect allows the security team in the central org to oversee exactly which "Spoke" orgs have authorized access. They can use the "Connected Apps OAuth Usage" page to monitor, rotate secrets, or revoke access for individual orgs, providing the granular security control required for an enterprise-grade distributed Salesforce architecture.
Question 43
A company's cloud-based single page application consolidates data local to the application with data from on-premise and Third-party systems. The diagram below typifies the application's combined use of synchronous and asynchronous calls. The company wants to use the average response time of its application's user interface as a basis for certain alerts. For this purpose, the following occurs: Log every call start and finish date and time to a central analytics data store. Compute response time uniformly as the difference between the start and finish date and time (A to H in the diagram). Which computation represents the end-to-end response time from the user's perspective?
Correct Answer: A
Question 44
Universal Containers (UC) is a global financial company that sells financial products and services. There is a daily scheduled Batch Apex job that generates invoices from a given set of orders. UC requested building a resilient integration for this Batch Apex job in case the invoice generation fails. What should an integration architect recommend to fulfill the requirement?
Correct Answer: A
Resiliency in long-running Batch Apex processes is best achieved by utilizing modern, event-driven error handling frameworks provided by the Salesforce platform. The BatchApexErrorEvent is the architecturally recommended component for monitoring and responding to failures in Batch Apex jobs. When a Batch Apex class implements the `Database.RaisesPlatformEvents` interface, the platform automatically publishes a BatchApexErrorEvent whenever an unhandled exception occurs during the execution of a batch. This event contains critical metadata, including the exception message, the stack trace, and the scope (the specific IDs of the records that were being processed when the failure occurred). An Integration Architect should recommend building a Platform Event Trigger that subscribes to these error events. This trigger can perform sophisticated error handling logic, such as: * Logging the failure details into a custom "Integration Error" object for auditing. * Initiating a retry logic by re-enqueuing only the failed records into a new batch job. * Notifying administrators or external systems via an outbound call or email. This approach is superior to Option B (internal handling) because unhandled exceptions often cause the entire batch transaction to roll back, potentially losing any error logging performed within the same scope. It is also more efficient than Option C (middleware), as it keeps the error recovery logic "close to the data," reducing the need for external systems to constantly poll for job status or parse complex logs. By using BatchApexErrorEvent, UC ensures a resilient, self-healing process that maintains the integrity of the invoice generation cycle. ---
Question 45
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: A
In the framework of a Salesforce Platform Integration Architect's landscape evaluation, the primary goal is to determine the "system of record" for each business function and identify redundancies between legacy systems and the proposed Salesforce architecture. This process is driven by the alignment of Salesforce's native "Customer 360" capabilities with the specific goals defined by the enterprise stakeholders. According to Goal 2, the customer intends to leverage Salesforce specifically for marketing, sales, and service processes. Within the standard Salesforce ecosystem, these domains are addressed by the three core cloud products: Marketing Cloud provides the capabilities found in the legacy Email Marketing System. Sales Cloud replaces the functions of the Sales Activity System. Service Cloud is the native replacement for the Case Management System. By migrating these three domains to a single platform, the organization directly fulfills Goal 1-developing a 360-degree view of the customer. Consolidating these interactions onto the Salesforce platform allows for a unified data model where customer behaviors in marketing, sales, and support are visible in one place, eliminating the silos inherent in the previous landscape. However, a critical constraint is presented in Goal 3, which explicitly mandates the reuse of existing enterprise capabilities for quoting and order management. In an integration architecture, this signals that the Quoting System and Order Management System (OMS) are designated as external systems of record that must remain active. These systems often contain complex logic, tax calculations, or supply chain integrations (such as with an SAP Business Suite) that the business is not currently ready to migrate. Therefore, since the Quoting and Order Management systems must be retained, they are excluded from the retirement list. The remaining three systems-Email Marketing, Sales Activity, and Case Management-overlap with Salesforce's native strengths and are not protected by the "reuse" requirement. Retiring them streamlines the technology stack and allows the architect to focus on building robust integration patterns (such as REST or SOAP callouts) to connect Salesforce to the retained Quoting and Order Management systems.