Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Salesforce Certified Platform Integration Architect Plat-Arch-204 Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 13 Total 129 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Evaluate the Current System Landscape

Skill tested: Assess protocol, authentication, and network constraints before selecting an integration approach.

A manufacturer is inventorying an acquired company's landscape before connecting its order system to Salesforce. The order system exposes REST endpoints over HTTPS and authenticates clients with OAuth 2.0 client credentials. It is reachable only from a private corporate network; outbound connections from that network are permitted, but the system cannot accept inbound connections from the public internet. Salesforce is hosted on its standard multi-tenant platform, and the company will not deploy a gateway or agent inside its network. Which landscape constraint should drive the initial architecture decision?

Correct Answer: A. The order system is not reachable from Salesforce, so a direct Salesforce-initiated callout cannot meet the connectivity constraint.
Explanation:

The deciding constraint is network reachability: Salesforce cannot directly initiate a callout to a host available only inside a private network when no inbound path or intermediary is allowed. The architecture needs a change such as an approved connectivity intermediary or a direction in which the private system initiates communication. REST over HTTPS is a supported callout protocol, and OAuth client credentials do not inherently require a user password. The other choices incorrectly treat a supported protocol or authentication approach as the blocker.

Question 2

New Single answer

Topic: Evaluate Business Needs

Skill tested: Classify sensitive data and translate regulatory constraints into integration design requirements.

A healthcare provider plans to synchronize patient contact preferences from Salesforce to a regional care platform. The payload includes a patient identifier and a preference indicating whether the patient consents to text messages; it excludes clinical notes and diagnoses. The provider must honor consent changes within minutes, retain an auditable record of updates, and minimize exposure of patient information to systems that do not need it. The current proposal sends full patient records to a shared analytics service before forwarding the preference. Which requirement should most directly reshape the proposed data flow?

Correct Answer: B. Apply data minimization and appropriate protection to the patient-linked consent data, avoiding unnecessary disclosure to analytics.
Explanation:

A patient-linked consent preference is sensitive in context even though it is not a clinical diagnosis. The stated purpose requires timely, auditable synchronization, while data minimization limits disclosure to systems that do not need the information. Sending complete records through analytics expands exposure without serving the stated integration purpose. A nightly aggregate would not update the care platform's individual patient preferences promptly, and treating the attribute as non-sensitive would ignore the privacy constraint.

Question 3

New Multiple answers

Topic: Translate Needs to Integration Requirements

Skill tested: Derive API throughput, latency, and data-volume requirements from integration workload patterns.

A subscription business needs to load 1.2 million historical invoice records into Salesforce once, then apply roughly 18,000 invoice changes daily. A separate checkout process must create a Salesforce order synchronously and receive a result within two seconds. The source can publish change events, but it cannot hold a transaction open while Salesforce processes them. The integration team must document requirements before selecting APIs. Which three requirements should be captured? Select THREE.

Correct Answer: A. The historical load requires a high-volume bulk data capability with asynchronous job handling.; B. The change-feed design must account for asynchronous delivery, ordering or replay needs, and recovery from missed events.; E. The checkout interaction requires a synchronous request-response path that can return within its latency target.
Explanation:

A large one-time historical load is a bulk workload suited to an asynchronous bulk API pattern rather than many latency-sensitive requests. Checkout has a distinct synchronous requirement: the caller needs a response within two seconds. The event-driven daily changes require explicit delivery and recovery requirements, including how the source or consumer handles replay and any ordering expectations; the source cannot block its transaction awaiting processing. A single synchronous request for all daily records is unsuitable, and holding source transactions open contradicts the stated constraint.

Question 4

New Multiple answers

Topic: Translate Needs to Integration Requirements

Skill tested: Map system ownership, data direction, and volume into a clear integration inventory.

An insurer is documenting integrations before a Salesforce rollout. Salesforce owns customer service cases; a policy administration platform owns policy terms and coverage; a document repository owns signed policy files. Salesforce users need to see current coverage during a call, while policy changes must reach Salesforce within five minutes. Signed files must be retrievable on demand, but must not be copied into Salesforce because of retention and residency rules. The architecture team needs an inventory that clearly assigns systems of record and exchange behavior. Which three entries satisfy these requirements? Select THREE.

Correct Answer: C. Record the policy platform as the owner of policy terms and identify a low-latency read of coverage for service users.; D. Record a change-notification or change-data flow from the policy platform to Salesforce with a five-minute freshness objective.; E. Record the document repository as the owner of signed files and provide controlled retrieval without replicating file content to Salesforce.
Explanation:

The inventory should distinguish data ownership from where users consume it: the policy platform owns terms, while Salesforce is a service interface that needs current coverage. A five-minute freshness target calls for an explicit change propagation requirement. The repository remains the system of record for signed files, with retrieval designed to respect residency and retention constraints. Making Salesforce the policy master confuses presentation with ownership, and nightly replication violates the explicit prohibition on copying the files.

Question 5

New Single answer

Topic: Design Integration Solutions

Skill tested: Select a Salesforce API pattern for large asynchronous data loads and incremental changes.

A retailer must initially load 4.5 million product-location inventory rows into Salesforce overnight. After the initial load, the source produces several thousand changes per hour, and consumers need updates without polling the entire dataset. The source can publish changes, and temporary processing delays are acceptable as long as the integration can resume after an outage. The design should avoid synchronous request limits and unnecessary repeated reads. Which combination is most appropriate?

Correct Answer: D. Use Bulk API 2.0 for the initial high-volume load and a change-event approach for ongoing updates, with replay and recovery handling.
Explanation:

Bulk API 2.0 is designed for high-volume asynchronous data operations, making it appropriate for millions of initial rows. A change-event approach avoids repeatedly polling the complete dataset and supports an event-driven incremental flow; the consumer must manage replay and recovery rather than assume uninterrupted delivery. Individual synchronous requests, per-row SOAP calls, and per-row Apex callouts add avoidable overhead and encounter practical request, transaction, or resource constraints.

Question 6

New Single answer

Topic: Design Integration Solutions

Skill tested: Design secure outbound callouts using Named Credentials and external authentication.

A Salesforce application must call a vendor's REST API to retrieve a customer's shipment status. The vendor requires OAuth 2.0 client credentials, rotates secrets periodically, and does not require a Salesforce user identity to be represented downstream. Administrators must manage the endpoint and authentication configuration without embedding secrets in Apex or custom metadata. Which design best meets these requirements?

Correct Answer: B. Create a Named Credential associated with an External Credential configured for the vendor's OAuth client-credentials authentication, and reference the Named Credential in the callout.
Explanation:

Named Credentials provide a managed endpoint reference for callouts, while External Credentials configure authentication and principal mapping, including supported OAuth authentication patterns. This keeps secrets and endpoint configuration out of application code and supports administrative maintenance. A Remote Site Setting addresses endpoint trust, not OAuth credential management. Per-user authorization is unnecessary because the vendor requires an application identity, and embedding a secret in application data or a URL exposes it unnecessarily.

Question 7

New Multiple answers

Topic: Design Integration Solutions

Skill tested: Choose transaction-safe Salesforce integration patterns for synchronous cross-system operations.

During an online purchase, Salesforce must reserve inventory in an external fulfillment system and create an order record. The customer must receive a definitive reservation result before checkout completes. The fulfillment system supports idempotency keys but has variable response time; a reservation failure must not leave an order appearing confirmed. The business can tolerate the order being recorded as pending while a final confirmation is obtained, but cannot hold a database transaction open across a long external operation. Which two design actions are most appropriate? Select TWO.

Correct Answer: B. Perform the reservation through a bounded synchronous callout before marking the Salesforce order confirmed, using an idempotency key for safe retries.; D. Represent the order as pending until the reservation outcome is known, and use a durable recovery process for failures or timeouts.
Explanation:

The checkout needs a reservation result before it can present confirmation, so a bounded synchronous request is appropriate, with an idempotency key preventing duplicate effects when a timeout leaves the outcome uncertain. Modeling the order as pending avoids falsely confirming an unreserved purchase and allows durable recovery when the callout fails. Confirming first without tracking violates the business rule. Salesforce transactions should not be held open indefinitely, and unkeyed retries can create duplicate reservations.

Question 8

New Single answer

Topic: Design Integration Solutions

Skill tested: Use Salesforce Composite API capabilities to reduce round trips while preserving dependent operations.

A partner application creates a Salesforce account and then, only if that account is created successfully, creates a related contact and service case. The partner needs the results of all three operations in one HTTP round trip, and later requests may need the created account ID. The individual operations are standard Salesforce REST resources and fit within the Composite API's request limits. Which approach best satisfies the requirement?

Correct Answer: B. Use a Composite API request with dependent subrequests and reference the account's returned ID in the related records.
Explanation:

The Composite API is intended to combine supported REST subrequests into one request and can express dependencies by referencing results from earlier subrequests. That makes it suitable for creating the account first and using its ID for the contact and case while returning a consolidated response. Parallel independent requests cannot safely establish that dependency. Bulk API 2.0 is asynchronous, and a platform event does not provide the required synchronous response containing all created record IDs.

Question 9

New Single answer

Topic: Design Integration Solutions

Skill tested: Apply least-privilege OAuth scopes and integration-user permissions for Salesforce API access.

A warehouse application reads shipment records from Salesforce and updates only a custom field named Warehouse_Status. It does not need browser access, refresh-token persistence, or access to unrelated objects. The organization requires a dedicated integration identity and least-privilege access. Which configuration is the best starting point?

Correct Answer: B. Use a dedicated integration user, a connected app configured for an appropriate OAuth flow and narrow scope, and permission sets granting only required object and field access.
Explanation:

A dedicated integration user supports attribution and separation of duties. The connected app should use an OAuth flow appropriate to the machine-to-machine client and the minimum needed scopes, while the integration identity receives only the object and field permissions required to read shipment records and update Warehouse_Status. Broad administrator access increases impact if credentials are compromised. API access does not bypass Salesforce permissions, and guest access is not an appropriate substitute for an authenticated integration identity.

Question 10

New Multiple answers

Topic: Build Solution

Skill tested: Select resilient outbound Salesforce mechanisms and asynchronous processing for external notifications.

A service organization needs to notify a partner when a case changes to Escalated. The partner endpoint is occasionally unavailable, and the Salesforce transaction that updates the case must not fail merely because the partner is down. The notification can be processed shortly after commit, and an operations team needs a durable way to detect and recover failed deliveries. Which two implementation choices are most appropriate? Select TWO.

Correct Answer: A. Use a Queueable Apex process for the outbound callout, with durable failure tracking and controlled retry or escalation.; E. Publish a platform event after the case change and have an external consumer process it asynchronously with a defined replay and recovery strategy.
Explanation:

An asynchronous event or queued process separates partner availability from the case-save transaction. Platform events allow an external consumer to process notifications after publication, and the consumer must handle replay, durable checkpoints, and recovery. Queueable Apex can perform an outbound callout asynchronously, while application-level failure tracking supports controlled retries and escalation. A Remote Site Setting only permits callout destinations; it is not a queue. Synchronous rollback and silent error suppression conflict with the stated availability and operational requirements.

Question 11

New Multiple answers

Topic: Build Solution

Skill tested: Design idempotent retry handling and durable error recovery for API integrations.

A payment-status integration receives duplicate notifications and sometimes loses its connection after Salesforce has accepted a request but before the source receives the response. Replaying a notification must not create duplicate payment records, and failed items must be visible to support staff without blocking unrelated payments. The source can supply a stable event identifier. Which three measures should the team implement? Select THREE.

Correct Answer: C. Persist the source event identifier and enforce uniqueness or equivalent deduplication before creating payment effects.; D. Make processing idempotent so a repeated event produces the same effective result rather than duplicate records.; E. Record failures with correlation details and provide controlled retry or dead-letter-style recovery for operations.
Explanation:

A stable event identifier gives the consumer a durable deduplication key, and idempotent processing makes replay safe even when the sender cannot tell whether a timed-out request succeeded. Recording failures and correlation details supports investigation and controlled recovery without halting unrelated work. Blind immediate retries can amplify outages and obscure attempt history. A timeout is an ambiguous outcome, not proof of non-processing, so creating another payment record risks duplication.

Question 12

New Single answer

Topic: Build Solution

Skill tested: Account for governor limits and avoid excessive callouts in Salesforce transaction design.

A nightly Salesforce batch updates 150,000 contact records. For each contact, the current implementation makes one synchronous callout from Apex to an external preference service and then updates the record. The job routinely fails with callout-related governor-limit errors and runs longer than the maintenance window. The external service offers a bulk endpoint that accepts multiple contact identifiers per request. Which change is the best fit?

Correct Answer: A. Use bounded batches that invoke the external bulk endpoint, and size transactions to respect callout, payload, and processing limits.
Explanation:

A bulk endpoint reduces the number of callouts and is the appropriate way to process large volumes while respecting per-transaction limits. The batch scope and payload size should be measured and bounded so each transaction remains within callout, heap, timeout, and downstream service constraints. Salesforce governor limits cannot be raised by execution priority. Increasing scope worsens per-transaction pressure, while a single Queueable execution cannot bypass transaction limits or safely perform 150,000 callouts.

Question 13

New Single answer

Topic: Maintain Integration

Skill tested: Define operational monitoring using integration health, latency, failure, and recovery metrics.

A logistics integration consumes Salesforce change events and updates a shipment platform. Users report stale shipment statuses, but the daily success count appears normal because the consumer retries failures and eventually completes most work. The operations team currently records only total events processed. They need metrics that reveal degraded service before users report it and help distinguish a slow consumer from repeated delivery errors. Which monitoring set is most useful?

Correct Answer: A. Track event-consumption lag, processing latency, failure and retry rates, backlog or replay position, and time to recovery against service objectives.
Explanation:

A normal processed-event total can hide growing lag when retries eventually succeed. Consumption lag and processing latency show whether data is becoming stale; failures and retry rates expose instability; backlog or replay position indicates accumulated work; and recovery time measures operational resilience against service objectives. Event volume alone does not establish timeliness. Monthly record counts detect problems late, while infrastructure CPU cannot explain application-level delivery failures or replay progress.