Salesforce certification · Exam Salesforce-Platform-Integration-Architect

Salesforce-Platform-Integration-Architect Mock Exam

Salesforce Platform Integration Architect (Plat-Arch-204)

Free Salesforce-Platform-Integration-Architect questions on Design Integration Solutions, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Design Integration Solutions questions

1–10 of 20 free
Question 1 Choose 1
An integration architect has built a solution using REST API, updating Account, Contact, and other related information. The data volumes have increased, resulting in higher API calls consumed, and some days the limits are exceeded. A decision was made to decrease the number of API calls using bulk updates. The customer prefers to continue using REST API to avoid architecture changes. Which REST API composite resources should the integration architect use to allow up to 200 records in one API call?
Show answerHide answer

Correct answer: B SObject Tree

Explanation

Explanation:

The requirement is to update Account, Contact, and other related information in bulk while using the REST API to reduce API call consumption. The key constraint is handling related records, including parent-child relationships, efficiently in a single call.

Why SObject Tree is the correct answer:

Parent-child relationship support:
The SObject Tree resource is specifically designed to create up to 200 records with parent-child relationships in a single API request. This directly matches the scenario where Account and Contact records are related and need to be created together.

Reduces API calls:
By allowing nested records, such as an Account with its associated Contacts, to be submitted in one call, it eliminates multiple round trips that would otherwise be required to create the parent first, retrieve its ID, and then create the child records.

Meets the 200-record limit:
The SObject Tree resource supports up to 200 total records across all trees, with a maximum depth of 5 levels.

Why Other Options Are Incorrect

A. Batch:
The Composite Batch resource allows multiple independent requests to be submitted in a single call, but each subrequest counts separately against API limits. It does not provide a mechanism for handling parent-child relationships within the batch, and it does not reduce API call consumption. It primarily reduces network round trips.

C. Composite:
While the general Composite resource, such as /composite, allows you to combine multiple subrequests into a single API call, it is not optimized for bulk data operations involving related records. The SObject Tree resource is the specialized tool for hierarchical record creation within the Composite API family.
Question 2 Choose 1
Northern Trail Outfitters needs to secure an integration with an external Microsoft Azure API Gateway. Which integration security mechanism should be employed?
Show answerHide answer

Correct answer: C Configure mutual server authentication with two-way SSL using certification authority (CA) signed certificates

Explanation

Explanation:

When securing a Salesforce integration with an external system such as a Microsoft Azure API Gateway, the recommended mechanism, especially for server-to-server or high-security scenarios, is mutual authentication, also called two-way SSL, mutual TLS, or mTLS.

In this model:

Both parties, Salesforce and the Azure API Gateway, present and validate each other’s certificates during the TLS handshake.

Certificates must be issued by a trusted Certification Authority (CA-signed). Self-signed certificates are generally not accepted for mutual authentication in Salesforce for this use case.

This provides strong authentication of both the client and the server at the transport layer, without relying solely on application-level credentials.

Salesforce supports this pattern for both inbound and outbound integrations. For outbound callouts from Salesforce to Azure, you configure a CA-signed certificate in Certificate and Key Management and present it on the callout. Azure API Management or API Gateway also supports client-certificate authentication through mutual TLS.

Why the other options are incorrect

A. Use an API-only user profile and implement an external identity provider with federated API access

This is more relevant for user-context or identity-federation scenarios, such as SSO, SAML, or federated identity. It does not provide the transport-level mutual certificate authentication typically required for securing an API Gateway integration.

B. Configure a connected app with an authorization endpoint of the API Gateway and configure OAuth settings

Connected Apps and OAuth are excellent for delegated authorization and user-context or client-credentials flows. However, the question focuses on securing the integration with an external API Gateway, where mutual TLS provides strong transport-level authentication, particularly when the gateway expects or supports client certificates.

Key Exam Point
For high-security Salesforce server-to-server integrations where both systems must authenticate each other at the TLS layer, mutual TLS (mTLS) using CA-signed certificates is the relevant security mechanism.
Question 3 Choose 1
Service agents at Northern Trail Outfitters use Salesforce to manage cases and B2C Commerce for ordering. Which integration solution should an architect recommend in order for the service agents to see order history from a business-to-consumer (B2C) Commerce system?
Show answerHide answer

Correct answer: A Salesforce B2C Commerce to Service Cloud Connector

Explanation

Explanation:

A. Salesforce B2C Commerce to Service Cloud Connector — Correct
The requirement is specifically for Service Cloud agents to see B2C Commerce order history while working with customer cases. The Salesforce B2C Commerce to Service Cloud integration/connector is designed for this type of commerce-to-service integration.

The connector provides a prebuilt integration between B2C Commerce and Service Cloud, avoiding the need to develop and maintain a custom integration. Salesforce's commerce documentation describes the service experience as allowing agents to access customer and order information while handling service interactions.

The key architectural clue is that the requirement is a standard B2C Commerce and Service Cloud use case, so a Salesforce-provided connector should be preferred over developing a custom API integration or introducing a general-purpose integration platform.

Why the other options are incorrect

B. REST API offered by Commerce Platforms — Incorrect

A REST API could technically be used to retrieve B2C Commerce order information, but it would require a custom integration to retrieve, transform, and expose the order history to Service Cloud agents.

When Salesforce provides a purpose-built connector for the required Salesforce Commerce and Service integration, using the standard connector avoids unnecessary custom development and maintenance.

C. MuleSoft Anypoint Platform — Incorrect

MuleSoft Anypoint Platform is a powerful choice when an organization needs a broader integration layer, orchestration, transformation, API management, or connectivity across many systems.

However, this requirement is narrowly defined: Service Cloud agents need B2C Commerce order history. Introducing a general-purpose integration platform would add unnecessary architectural complexity when a purpose-built Salesforce integration is available.

Exam Takeaway
For Salesforce Integration Architect questions, watch for this pattern:
Standard Salesforce product-to-product integration requirement → use the Salesforce-provided connector before building a custom API or introducing middleware.

Here, the requirement is specifically B2C Commerce → Service Cloud → service-agent order history, making Option A the expected answer.

Answer
A. Salesforce B2C Commerce to Service Cloud Connector
Question 4 Choose 1
An architect decided to use Platform Events for integrating Salesforce with an external system for a company. What should an architect consider when proposing this type of integration mechanism?
Show answerHide answer

Correct answer: B To subscribe to an event, the integration user in Salesforce needs Read access to the event entity

Explanation

Explanation:

Why B is correct:
Platform Events are modeled similarly to standard and custom objects in Salesforce, with event objects ending in __e. To successfully listen to or consume, or subscribe to, a Platform Event channel using an integration user, that user's profile or permission set must be provisioned with Read access to the specific event object or entity. Similarly, publishing requires Create permission.

Why A is incorrect:
Platform Events use an event bus that temporarily stores and buffers messages, typically for up to 24 hours for high-volume events. The external system does not need identical uptime to keep up. If the external system goes offline temporarily, messages can remain available in the event bus, and the client can resume consumption and replay events from where it left off once it reconnects.

Why C is incorrect:
Salesforce handles event routing and publishing natively through the event bus. Salesforce does not need to store explicit state configurations or records tracking individual external consuming systems to know when or what to broadcast. It publishes events onto the event bus for authorized subscribers listening to the relevant channel.

Reference
Salesforce Pattern: Event-Driven Architecture / Platform Events Security & Management
Salesforce Documentation: Platform Event Permissions & Considerations
Question 5 Choose 1
A customer is evaluating the Platform Events solution and would like help in comparing/contrasting it with Outbound Messaging for real-time/near-real time needs. They expect 3,000 customers to view messages in Salesforce. What should be evaluated and highlighted when deciding between the solutions?
Show answerHide answer

Correct answer: C Both Platform Events and Outbound Messaging offer declarative means for asynchronous near-real time needs. They aren't best suited for real-time integrations

Explanation

Explanation:

This question tests the architect's understanding of the appropriate use cases for Platform Events versus Outbound Messaging. Both are asynchronous, near-real-time mechanisms rather than true real-time integration tools.

Why this is the correct evaluation point

Declarative means:
Platform Events can be published declaratively through Flow or Process Builder, while Outbound Messages can be configured declaratively through Workflow Rules or Flow. Neither requires code for basic setup.

Asynchronous near-real-time:
Both mechanisms operate asynchronously. Outbound Messages are sent after a record is committed to the database, while Platform Events are published to an event bus for asynchronous delivery. Neither provides the synchronous, immediate response characteristic of a true real-time API call.

Not best suited for real-time:
True real-time integrations typically use synchronous request-response patterns, such as REST API callouts that provide an immediate response. Platform Events and Outbound Messages are inherently asynchronous, making them suitable for near-real-time scenarios where a small delay, such as seconds or minutes, is acceptable.

Fan-out consideration with 3,000 customers

The scenario mentions 3,000 customers viewing messages in Salesforce. This is an important architectural consideration.

Platform Events have limits on concurrent subscribers. If 3,000 customers each open a CometD subscription to view messages, the organization could exceed the applicable concurrent subscriber limit, causing subscription failures for additional users.

Outbound Messages are not designed for massive fan-out. They send SOAP messages to a configured endpoint URL for each message and are not intended to broadcast messages to thousands of individual users viewing a page.

Why Other Options Are Incorrect

A. In both Platform Events and Outbound Messaging, the event messages are retried by and delivered in sequence, and only once. Salesforce ensures there is no duplicate message delivery.

Incorrect. Neither mechanism guarantees in-sequence delivery or exactly-once delivery. Both can operate with at-least-once delivery semantics, meaning duplicate messages can occur. Outbound Messages may arrive out of sequence, and Platform Events do not provide a universal guarantee of ordering under all delivery conditions.

Therefore, an architecture must account for possible duplicate or out-of-order messages rather than assuming Salesforce guarantees exactly-once, ordered delivery.

B. Message sequence is possible in Outbound Messaging, but not guaranteed with Platform Events. Both offer very high reliability. Fault handling and recovery are fully handled by Salesforce.

Incorrect. Message sequence is not guaranteed in Outbound Messaging either, because retries can result in messages being delivered in a different order. In addition, fault handling and recovery are not completely handled by Salesforce for either mechanism.

Platform Events may require appropriate subscriber-side recovery mechanisms, while Outbound Messages retry delivery for a limited period and can eventually discard a message if the endpoint remains unavailable.

Key Exam Takeaway

Platform Events and Outbound Messaging are asynchronous mechanisms suited to near-real-time integration scenarios. They should not be treated as synchronous real-time APIs or as mechanisms that guarantee exactly-once, ordered delivery.

For architecture questions, also consider subscriber limits, fan-out requirements, retry behavior, ordering, and recovery responsibilities when selecting between Salesforce integration mechanisms.
Question 6 Choose 1
Northern Trail Outfitters needs to make synchronous callouts “available-to-promise” services to query product availability and reserve inventory during the customer checkout process. What should an integration architect consider when building a scalable integration solution?
Show answerHide answer

Correct answer: B The typical and worst-case historical response times

Explanation

Explanation:

For a synchronous Available-to-Promise (ATP) callout that queries product availability and reserves inventory during the customer checkout process, the integration runs in the same transaction as the user action. Salesforce imposes strict limits on synchronous callouts, including a maximum timeout of 120 seconds, while concurrent long-running transactions are also constrained.

To build a scalable solution, the architect must therefore evaluate:

Typical response times of the external ATP service under normal load
This helps determine whether the external service can consistently respond within an acceptable time during normal checkout activity.

Worst-case response times under peak load or degraded conditions
This helps identify whether the external service could approach or exceed Salesforce timeout limits during periods of high traffic or reduced performance.

These response-time figures determine whether the callout can reliably complete within the Salesforce timeout, whether the user experience remains acceptable, and whether additional patterns such as Continuations, asynchronous fallbacks, caching, circuit breakers, or capacity planning are required.

Why the other options are incorrect

A. The maximum query cursors open per user on the service
Incorrect. Query-cursor limits apply to Salesforce SOQL or certain external-data-source integrations. They are not a primary scalability concern for a standard synchronous HTTP callout to an external ATP service.

C. The number of batch jobs that can run concurrently
Incorrect. Batch Apex concurrency limits are irrelevant to this scenario. The requirement is a real-time, user-facing synchronous callout rather than an asynchronous batch process.

Key Exam Takeaway
For synchronous external-service integrations, response time is a critical scalability factor. Architects should evaluate both normal and worst-case response times to ensure the callout remains within Salesforce limits and provides an acceptable checkout experience.
Question 7 Choose 1
A subscription-based media company's system landscape forces many subscribers to maintain multiple accounts and to log in more than once. An Identity and Access Management (IAM) system, which supports SAML and OpenID, was recently implemented to improve the subscriber experience through self-registration and single sign-on (SSO). The IAM system must integrate with Salesforce to give new self-service customers instant access to Salesforce Community Cloud.
Show answerHide answer

Correct answer: A OpenID Connect Authentication Provider and Just-in-Time (JIT) provisioning1

Explanation

Explanation:

Northern Trail Outfitters wants to integrate its new Identity and Access Management (IAM) system, which supports SAML and OpenID Connect, with Salesforce Community Cloud to provide self-registration and single sign-on (SSO) for subscribers.

OpenID Connect Authentication Provider

Salesforce supports OpenID Connect (OIDC) as an authentication provider.
OIDC is built on OAuth 2.0 and is well suited to modern IAM systems that support self-registration and federated identity.
It allows subscribers to authenticate through the IAM system and gain access to Salesforce Community Cloud without requiring multiple logins.

Just-in-Time (JIT) Provisioning

JIT provisioning automatically creates a Salesforce user record at the time of login if one does not already exist.
This provides immediate access for new self-service customers without requiring manual user creation.
This is particularly useful when thousands of subscribers may register themselves and require immediate access to the community.

Why not the other options?

B. OpenID Connect Authentication Provider and Registration Handler

Incorrect. Registration Handlers are associated with certain authentication-provider-based registration flows, while for the OIDC scenario described here, JIT provisioning is the appropriate mechanism for automatically creating users during authentication.

C. SAML SSO and Registration Handler

Incorrect. SAML can be used for SSO, but the scenario specifically requires self-registration and immediate user access. A SAML-based approach can require a Registration Handler Apex class to create users, adding development and maintenance requirements compared with an OIDC and JIT provisioning approach.

Key Exam Takeaway

When an external IAM system supports OpenID Connect and the requirement includes SSO with automatic user creation at login, consider an OpenID Connect Authentication Provider together with Just-in-Time (JIT) provisioning.

Reference
Salesforce Documentation: OpenID Connect Authentication Provider
Salesforce Documentation: Just-in-Time User Provisioning
Salesforce Documentation: SAML SSO and Registration Handler
Question 8 Choose 1
Salesforce is considered to be the system of record for the customer. UC plans on using middleware to integrate Salesforce with external systems (ERP, ticketing, data lake). UC has a requirement to update the proper external system with record changes in Salesforce and vice versa. Which solution should an integration architect recommend?
Show answerHide answer

Correct answer: A Store unique identifiers in an External ID field in Salesforce and use this to update the proper records across systems.

Explanation

Explanation:

Why A is correct:
When integrating Salesforce with multiple external systems, such as an ERP or ticketing system, where Salesforce is the system of record, establishing a robust data relationship is paramount.

Using an External ID field, configured as unique and enabled as an External ID, on Salesforce objects allows the system to store the primary key of the corresponding external-system record. This enables reliable upserts, helps prevent duplicate record creation, and provides the necessary cross-reference key for middleware to match and update the correct record across heterogeneous systems in both directions.

Why B is incorrect:
Relying on the middleware layer to locally cache external IDs and manage cross-system mapping logic without native Salesforce identifiers introduces a fragile, high-maintenance architecture. Caching state externally increases the risk of data drift, synchronization failures, and complex recovery states if the middleware cache becomes out of sync or restarts.

Why C is incorrect:
While Change Data Capture (CDC) is an effective mechanism for publishing Salesforce data changes downstream, Option C only addresses one direction of the integration, Salesforce to external systems.

It does not address how systems correlate records or handle bidirectional synchronization, particularly when matching inbound changes from the external system back into Salesforce. Furthermore, CDC does not replace the fundamental requirement to store external keys for reliable upsert operations.

Key Exam Takeaway
For bidirectional integrations involving Salesforce and multiple external systems, External ID fields provide a reliable cross-reference mechanism. They allow middleware and external systems to identify Salesforce records consistently and support dependable upsert operations while reducing duplicate records and synchronization issues.

Reference:
Salesforce Pattern: Data Integration Patterns / Remote Process Sync / Data Virtualization
Salesforce Documentation: Data Integration Strategies (Integration Patterns and Practices)
Question 9 Choose 1
Universal Containers (UC) has a legacy homegrown application that stores customer data. Sales representatives edit contact records in Salesforce. UC requirements: 1. Salesforce updates should update the homegrown application. 2. Synchronization should be eventdriven. 3. Integration should be asynchronous. Which option should an architect recommend?
Show answerHide answer

Explanation

Explanation

A. Change Data Capture + CometD subscriber — Correct

The requirements are:

Changes made to Contact records in Salesforce must be sent to the legacy homegrown application.
The synchronization must be event-driven.
The integration must be asynchronous.

Change Data Capture (CDC) is specifically designed to publish Salesforce record changes as change events. When a Contact is created, updated, deleted, or undeleted, Salesforce publishes a corresponding change event.

The homegrown application can subscribe to these events using a CometD client. The subscriber receives the events asynchronously, so Salesforce does not need to wait for the homegrown application to process the change.

The architecture is therefore:

Salesforce Contact change → CDC event → Salesforce event channel → CometD subscriber → Homegrown application

This directly satisfies all three requirements.

Why B is less appropriate

B. Platform Events — Not the recommended choice

Platform Events are also asynchronous and event-driven, so they can certainly be used for integrations. However, Platform Events are intended for publishing custom business events.

In this scenario, the requirement is specifically to synchronize changes to the Contact object. CDC automatically captures and publishes those record changes without requiring custom Apex or other logic to construct a custom Platform Event containing the changed fields.

With Platform Events, UC would need to build logic that detects Contact changes and publishes the appropriate custom event. That introduces unnecessary custom development when CDC already provides the required record-change event capability.

Key distinction for the exam

Change Data Capture (CDC)
Use when the requirement is:

"Tell an external system whenever Salesforce records change."

Platform Events
Use when the requirement is:

"Publish a custom business event when something meaningful happens."

Here, the requirement is record synchronization based on Contact changes, so CDC is the better fit.

Exam takeaway

Look for these clues:

Salesforce record changes
Event-driven synchronization
Asynchronous integration
External/legacy application
CometD subscriber

These strongly indicate:

Change Data Capture + CometD

Answer: A. Leverage Change Data Capture to track changes to the Contact object and write a CometD subscriber on the homegrown application.
Question 10 Choose 1
An integration architect has received a request to prevent employees that leave the company from accessing data in Salesforce after they are deactivated in the company’s HR system. What should the integration architect determine before recommending a solution?
Show answerHide answer

Correct answer: B Data access prevention requirements, integration requirements, and system constraints

Explanation

Explanation:

Why B is correct:

When designing security and deactivation integration patterns (especially around identity management and immediate access revocation), an integration architect must take a holistic view. You need to analyze:

Data access prevention requirements: What does "immediate" truly mean? Is deactivation alone enough, or do active sessions need to be immediately revoked (e.g., via OAuth token revocation)?

Integration requirements: How will the HR system communicate the deactivation (e.g., SCIM, REST API, middleware)?

System constraints: Salesforce API limits, license constraints, identity provider (IdP) timing delays, and replication intervals.

Evaluating all three dimensions ensures the proposed design handles edge cases like active user sessions or cached tokens remaining valid after the user record is flagged as inactive.

Why A is incorrect:

Focusing solely on inbound integration requirements and frequency ignores critical security controls, session management constraints, and authorization requirements inherent to access prevention.

Why C is incorrect:

While data access requirements are essential, skipping system constraints and integration mechanics ignores technical limitations (such as whether Salesforce can be updated in real-time via SCIM or if a middleware layer is required to handle token revocation).

Reference
Salesforce Pattern: Identity and Access Management / User Provisioning / Security Integration Patterns

Salesforce Documentation: Salesforce Identity and Access Management Guide
Full mock exam

Sit the Salesforce-Platform-Integration-Architect exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Platform-Integration-Architect exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Salesforce-Platform-Integration-Architect mock exam
  • 60questions per mock
  • 105 mintime limit
  • 124questions in the bank
  • Newmock on every attempt