Last updated: May 2026
Mule-Arch-202 — MuleSoft Certified Integration Architect
Test your knowledge with official exam-style questions
Questions and options are shuffled each attempt
▶Salesforce Certified MuleSoft Platform Integration Architect — Practice Exam Set 1: All Questions & Explanations
Full question text, answer options, and explanations for this practice set — a spoiler-free alternative is the interactive quiz above for scored, shuffled practice.
1. An e-commerce company needs to place an order in an ERP when a purchase occurs in Salesforce. The ERP response must be returned to the caller within 2 seconds. Which integration pattern best fits this requirement?
- A. Publish-Subscribe (async messaging)
- B. Request-Reply (synchronous REST integration)(correct)
- C. Batch Processing
- D. Fire-and-Forget (async with no response)
Explanation: The 2-second response SLA and the requirement to return the ERP's response to the caller define a synchronous, Request-Reply interaction. The Mule integration acts as a mediator: receives the request, calls the ERP synchronously, and returns the ERP's response within the SLA. Asynchronous patterns (Pub-Sub, Fire-and-Forget) would not meet the synchronous SLA requirement.
2. A logistics company needs to notify five downstream systems whenever a shipment status changes in their tracking database. The sender should not need to know about each subscriber. Which pattern is most appropriate?
- A. Point-to-point HTTP calls from the source to each of the 5 systems
- B. Publish-Subscribe: the source publishes to a message broker topic; all 5 systems subscribe independently(correct)
- C. Batch processing: export changed records nightly and load into each system
- D. Content-Based Router that routes each message to one of the 5 systems based on shipment type
Explanation: Publish-Subscribe decouples the publisher from subscribers. The source publishes one event to a topic; all subscribers receive it independently without the source knowing how many or which systems are subscribed. Adding a new downstream system only requires a new subscription — no source changes. Point-to-point tightly couples the source to each consumer.
3. An integration receives customer update events from a message queue. Events for the same customer may arrive out of order. What pattern ensures events are processed in the correct sequence per customer?
- A. Content-Based Router
- B. Message Aggregator
- C. Message Sequencer (or Resequencer)(correct)
- D. Dead Letter Queue
Explanation: The Message Sequencer (Resequencer) pattern collects out-of-order messages and re-emits them in the correct sequence based on a sequence number. This is the standard pattern for ordered processing when the message broker cannot guarantee ordering (or when ordering is only required per-key, such as per-customer-ID).
4. An architect is designing a Mule integration where a single incoming order event must be split, processed in parallel (one branch per line item), and the results aggregated into a single order confirmation. Which pattern combination should be used?
- A. Content-Based Router → Aggregator
- B. Message Splitter → Parallel processing (Scatter-Gather) → Message Aggregator(correct)
- C. For Each → VM Queue → Message Aggregator
- D. Batch Job → Async Scope → Scatter-Gather
Explanation: The Splitter → Aggregator combination (with parallel processing) is the Composed Message Processor pattern. In Mule 4: the payload (line items) is split, Scatter-Gather processes each item in a separate parallel branch, and Scatter-Gather's built-in aggregation collects all results into an array for final processing. This is the standard Mule 4 implementation of split-process-aggregate.
5. Which of the following are valid Enterprise Integration Patterns (EIP) supported by Mule 4? (Select THREE)
- A. Message Filter (Choice Router with a default 'discard' route)(correct)
- B. Content Enricher (using a 'target' variable on an HTTP Request to merge data without replacing the payload)(correct)
- C. Competing Consumers (multiple Mule workers consuming from the same queue)(correct)
- D. Two-Phase Commit (distributed ACID transaction across JMS and Database)
- E. Dead Letter Channel (routing failed messages to a dead letter queue via error handling)
Explanation: Mule 4 supports: Message Filter (Choice Router with a discard branch), Content Enricher (HTTP Request with 'target' variable stores the enriched data without overwriting payload), and Competing Consumers (multiple CloudHub workers consuming from the same Anypoint MQ queue). Two-Phase Commit across JMS and Database is not supported by Mule 4's transaction model (XA transactions have limited support). Dead Letter Channel is implemented via error handlers routing to a DLQ.
6. An architect is designing a canonical data model for a retail company's integrations. What is the primary benefit of a canonical model?
- A. It reduces the number of transformations required: each system maps once to/from the canonical model instead of n×(n-1)/2 bilateral mappings(correct)
- B. It eliminates the need for DataWeave transformations by using a universal data format
- C. It automatically synchronises data across all systems in real time
- D. It enforces all systems to use the same technology stack (REST, JSON)
Explanation: A canonical data model defines a common, agreed-upon data format for the integration hub. Each system writes one adapter (system format → canonical; canonical → system format). For n systems, this requires 2n transformations instead of n×(n-1)/2 bilateral ones. The savings grow rapidly as system count increases.
7. A customer's SLA requirement states the order processing API must handle 500 concurrent users with P99 response time under 3 seconds. What type of requirement is this?
- A. Functional requirement
- B. Non-functional requirement (NFR) — specifically a performance and scalability requirement(correct)
- C. Governance requirement
- D. Data residency requirement
Explanation: Non-functional requirements (NFRs) describe system qualities rather than specific behaviours. Concurrency (500 users), percentile response time (P99 < 3s), and throughput targets are performance NFRs. They drive architectural decisions on resource sizing, horizontal scaling, caching, and asynchronous offloading.
8. An architect is sizing a Mule integration that will process 1 million database records per night in a 4-hour batch window. Which Mule 4 component and configuration choice primarily influences throughput?
- A. Increasing the HTTP listener connection pool size
- B. Configuring the Batch Job's block size and the number of concurrent batch threads(correct)
- C. Increasing the DataWeave script complexity
- D. Adding more API Manager policies to the Batch Job endpoint
Explanation: Batch Job throughput is primarily controlled by: block size (number of records per processing chunk — larger blocks reduce overhead per record at the cost of memory) and maxConcurrency (number of threads processing blocks in parallel). Together, these two parameters determine how quickly the Batch Job processes the 1 million record workload.
9. A Mule API has an SLA of 99.9% availability (roughly 8.7 hours of acceptable downtime per year). The downstream ERP has a published SLA of 99.5%. How does the ERP's lower availability affect the composite API SLA?
- A. The composite availability equals the average: (99.9% + 99.5%) / 2 = 99.7%
- B. The composite availability is the product of both SLAs: 99.9% × 99.5% ≈ 99.4% — the API cannot exceed the weakest dependency(correct)
- C. The API SLA is independent of the ERP SLA because error handling absorbs ERP outages
- D. The composite SLA equals the highest value: 99.9% because redundancy covers ERP downtime
Explanation: In a synchronous dependency chain, composite availability is the product of component availabilities: 99.9% × 99.5% ≈ 99.4%. The API inherits the ERP's downtime unless resilience patterns (caching, circuit breaker, degraded-mode response) absorb ERP failures. The 99.9% API SLA cannot be met if the ERP is synchronously in the critical path and has lower availability.
10. An architect is designing for high availability of a Mule API. Which architectural decisions improve availability? (Select TWO)
- A. Deploy multiple Mule application replicas behind a load balancer(correct)
- B. Use synchronous calls to all downstream dependencies without fallbacks
- C. Implement a Circuit Breaker pattern to stop calling a failing downstream service and return a degraded response instead(correct)
- D. Deploy all application logic in a single Mule worker with no redundancy
Explanation: High availability requires: (1) redundant replicas so a single instance failure does not cause downtime; (2) Circuit Breaker to detect downstream failures quickly and return a cached/degraded response instead of waiting for timeouts that cascade and exhaust thread pools. Single workers with no fallbacks are the opposite of high availability.
11. An architect needs to recommend how a Mule API should handle a downstream service that is intermittently slow (P99 = 45 seconds, far exceeding the API's 5-second SLA). What architectural control addresses this?
- A. Increase the API's SLA from 5 seconds to 50 seconds to accommodate the downstream latency
- B. Configure a 5-second HTTP Request timeout; if the downstream does not respond in time, throw a TIMEOUT error and return a 504 response to the caller(correct)
- C. Use a larger vCore size on CloudHub to speed up the downstream service
- D. Add the Rate Limiting policy to reduce the number of calls reaching the slow downstream service
Explanation: Request timeouts are the primary tool for enforcing response SLAs when calling slow downstream services. Setting a 5-second timeout on the HTTP Request connector ensures the Mule flow fails fast (5s) rather than hanging for 45s, preserving thread pool capacity. The caller receives a 504 Gateway Timeout rather than an indefinite wait. The downstream slowness must be addressed separately, but the integration must not propagate it.
12. An architect is evaluating whether to use synchronous or asynchronous processing for a patient record synchronisation between a hospital EMR and a Salesforce Health Cloud. Updates arrive at ~50/minute, and the EMR caller cannot wait for the Salesforce update to complete. Which pattern is most appropriate?
- A. Synchronous HTTP: EMR calls Mule, which calls Salesforce, and returns 200 to EMR after Salesforce confirms
- B. Async: EMR publishes the update to Anypoint MQ; Mule subscribes, processes at its own pace, and updates Salesforce; EMR immediately receives 202 Accepted(correct)
- C. Scheduled polling: Mule polls the EMR every minute for changed records
- D. Direct Salesforce connector called from the EMR without Mule
Explanation: When the caller cannot wait for the downstream to complete, the correct pattern is async fire-and-forget with an acknowledgement. The EMR publishes the event to Anypoint MQ and receives 202 Accepted immediately. Mule processes from the queue at its own pace, decoupling EMR and Salesforce update rates. This also provides natural buffering during Salesforce maintenance windows.
13. A Mule API receives a JWT Bearer token from a client. The architect wants to validate the token's signature without calling the issuer's server on every request. Which JWT validation approach enables this?
- A. Token introspection: call the issuer's /introspect endpoint on every request
- B. Validate the JWT's signature locally using the issuer's public key (obtained from the JWKS endpoint and cached)(correct)
- C. Validate only the token's expiry claim (exp) without verifying the signature
- D. Forward the JWT to the target backend and let it validate the token
Explanation: JWTs are self-contained and signed with the issuer's private key. The recipient validates the signature using the issuer's public key (fetched from the JWKS endpoint once and cached). This stateless validation requires no network call per request — a significant scalability advantage over token introspection (which requires a live server call for every request).
14. An architect is designing an API gateway that must propagate the authenticated user's identity from an external JWT to internal Mule APIs. Which approach maintains security while enabling downstream authorisation?
- A. Pass the original external JWT unchanged to all internal APIs
- B. Extract claims from the external JWT, validate them at the gateway, and issue a new internal JWT signed by the internal authorisation server with the necessary claims(correct)
- C. Pass the user's username as a plain HTTP header X-User-ID to downstream services
- D. Remove all authentication headers before forwarding to internal services
Explanation: Token exchange (external JWT → internal JWT) is the secure identity propagation pattern. The gateway validates the external token, extracts the user identity/claims, and mints a new internal JWT signed by the internal authority. Internal services trust the internal authority. Passing the raw external JWT to internals exposes external tokens; plain headers are trivially forgeable.
15. Which of the following are valid claims an architect would validate in a JWT to enforce API access control? (Select THREE)
- A. exp (expiration time): reject tokens that have expired(correct)
- B. iss (issuer): reject tokens not issued by the trusted identity provider(correct)
- C. aud (audience): reject tokens not intended for this API(correct)
- D. jti (JWT ID): always use this to track and invalidate used tokens
- E. alg (algorithm header): accept any algorithm including 'none'
Explanation: Required JWT validation: exp (not expired), iss (trusted issuer), aud (intended for this service). jti is used for replay protection in specific high-security scenarios (requires a nonce store) — not universally required. NEVER accept alg='none' — it disables signature verification, a known JWT vulnerability. Always require a specific signing algorithm (RS256 or ES256).
16. An API serves both mobile consumers (public internet) and internal microservices (internal network). The architect wants different security policies per consumer type. Which Anypoint Platform approach supports this?
- A. Deploy two separate Mule applications — one for external, one for internal
- B. Use API Manager to manage two separate API instances with different policy sets applied to the same Mule application, one per consumer group(correct)
- C. Apply all policies to the single API instance and let consumers bypass policies they do not support
- D. Use a single shared client ID/secret for all consumers and apply one rate limit
Explanation: API Manager supports multiple API instances for the same Mule application. Each instance can have a different set of policies applied (e.g., external instance: OAuth 2.0 + rate limiting; internal instance: Client ID Enforcement only or mTLS). The application code is unchanged — policies differ at the API Manager layer. This is the standard pattern for multi-channel API products.
17. An architect is designing a solution where a Mule integration must call an external API protected by OAuth 2.0 using the Client Credentials flow. Where should the client secret be stored and how should it be retrieved at runtime?
- A. Hardcoded in the Mule application's XML configuration and committed to source control
- B. Stored as an encrypted Secure Property and the decryption key provided via a CloudHub property or runtime argument — never in source control(correct)
- C. Stored in Anypoint Exchange as a shared configuration asset
- D. Emailed to the operations team who enter it manually via Runtime Manager console on each deployment
Explanation: Client secrets are credentials and must never be in source control. The correct approach: encrypt the secret using the Secure Properties Tool, store the encrypted value in the properties file (which can be committed), and supply the decryption key as a CloudHub application property or environment variable at deploy time. The key itself is never in the codebase.
18. A Mule integration processes payment events from a JMS queue. If a payment fails due to a transient downstream error, the message should be retried up to 3 times before being sent to a dead letter queue. Which Mule 4 mechanism provides automatic retry with dead letter routing?
- A. Configure the JMS connector's 'maxRedelivery' setting; JMS delivers the message up to maxRedelivery+1 times before routing to the broker's dead letter queue(correct)
- B. Use a For Each loop with a retry counter variable and a Choice Router to check if attempts < 3
- C. Set a Mule flow timeout property of 3 seconds, which triggers 3 retry attempts
- D. Apply a Rate Limiting policy with a burst of 3 to the JMS listener endpoint
Explanation: JMS brokers support native message redelivery with a dead letter queue. Configuring the Mule JMS connector's maxRedelivery property (or equivalent broker-side setting) causes the broker to redeliver the unacknowledged message up to the specified number of times. After exhausting retries, the broker moves the message to a dead letter queue (DLQ) automatically. This is more reliable than application-level retry loops.
19. A Mule integration calls an external shipping API that experiences occasional rate limit errors (HTTP 429). What retry strategy minimises the risk of making the situation worse?
- A. Retry immediately 10 times in a tight loop to maximise the chance of success
- B. Exponential backoff with jitter: wait 1s, then 2s, then 4s (with random jitter added each time) before each retry attempt(correct)
- C. Wait a fixed 30 seconds before every retry attempt
- D. Route the message to a Scatter-Gather to attempt three retries in parallel simultaneously
Explanation: Exponential backoff with jitter is the standard resilience pattern for rate limit and transient errors. Each retry waits progressively longer (1s → 2s → 4s), giving the downstream service time to recover. Jitter (random ±N% variation) prevents the 'thundering herd' problem where multiple clients all retry at the exact same moment, re-flooding the service. Tight-loop retries and parallel retries worsen rate limiting.
20. A Mule integration's 'Order Process' flow calls a downstream Inventory API that has been failing for the past 10 minutes. The Mule flow holds threads waiting for each timeout. What pattern would prevent thread exhaustion?
- A. Increase the HTTP Request timeout to 60 seconds to give the Inventory API more time to respond
- B. Implement a Circuit Breaker: detect repeated failures, open the circuit, and return a cached/fallback response immediately without calling the downstream until it recovers(correct)
- C. Add more CloudHub workers to absorb the backlog of blocked threads
- D. Apply a Rate Limiting policy to reduce the number of requests reaching the Inventory API
Explanation: The Circuit Breaker pattern detects a failure threshold (e.g., 5 consecutive failures in 30s), opens the circuit, and stops calling the failing downstream for a configurable period. Callers receive an immediate fallback response instead of waiting for timeouts. This prevents thread pool exhaustion cascading into a full outage. Adding workers only delays the same thread exhaustion; increasing timeouts makes the problem worse.
21. An integration architect is designing a reliable event-driven order processing system. Which of the following ensure at-least-once delivery of order events? (Select TWO)
- A. Configure the JMS consumer to acknowledge messages only after successful processing (client-acknowledge mode), not before(correct)
- B. Use fire-and-forget publishing from the producer with no acknowledgement
- C. Persist the event to a durable queue (e.g., Anypoint MQ with persistent storage) before processing(correct)
- D. Use UDP for message transport to reduce latency
Explanation: At-least-once delivery requires: (1) client-acknowledge mode — the consumer only acknowledges (and thus removes) the message after successfully processing it; if processing fails, the broker redelivers; (2) durable queues — messages survive broker restarts, ensuring no data loss. Fire-and-forget and UDP are non-durable, at-most-once patterns that lose messages on failure.
22. A Mule API makes an identical call to a slow external Product Catalogue API for nearly every request. The catalogue rarely changes (updated weekly). What performance optimisation should an architect recommend?
- A. Increase the HTTP Request timeout to allow more time for the slow API to respond
- B. Implement response caching using the Mule HTTP Caching policy or an Object Store to cache the catalogue response and serve subsequent requests from cache(correct)
- C. Migrate the Product Catalogue API to a faster technology stack
- D. Use Scatter-Gather to call the catalogue API in parallel with other work
Explanation: When a resource is stable (updated weekly) and read frequently, caching is the highest-leverage performance optimisation. API Manager's HTTP Caching policy or an Object Store cache stores the response and serves repeated requests without calling the downstream API. Cache TTL set to hours/days (matching update frequency) reduces downstream calls by orders of magnitude.
23. A Mule API receives 10,000 requests per minute but each request requires a computationally expensive DataWeave transformation (500ms CPU time). What architectural change most improves throughput?
- A. Switch from JSON to XML payload format to reduce parsing overhead
- B. Scale horizontally: add more CloudHub workers and load-balance across them; each worker handles its subset of requests independently(correct)
- C. Use Scatter-Gather inside the flow to run the DataWeave transformation in parallel with itself
- D. Upgrade to a larger vCore size on the single worker
Explanation: CPU-bound transformations constrain throughput on a single worker. Horizontal scaling (adding workers) increases aggregate CPU capacity linearly — N workers can process N× the requests of a single worker. A load balancer distributes traffic across workers. A single larger vCore (vertical scaling) has diminishing returns and a ceiling; horizontal scaling is unbounded.
24. A Mule application processes messages from an Anypoint MQ queue. As message volume increases, processing falls behind the incoming rate. What is the most effective way to increase consumer throughput?
- A. Reduce the maxConcurrency setting on the MQ subscriber to process one message at a time
- B. Increase the maxConcurrency setting on the MQ subscriber to allow multiple messages to be processed in parallel, and deploy additional Mule workers if needed(correct)
- C. Increase the queue's message TTL (time-to-live)
- D. Compress the messages before publishing to reduce processing time
Explanation: MQ consumer throughput is increased by raising maxConcurrency (allowing parallel processing of multiple messages within the same worker) and, if one worker is saturated, by deploying additional workers that each consume from the same queue (Competing Consumers pattern). Reducing maxConcurrency or adjusting TTL/compression do not increase processing rate.
25. An architect is designing a Mule API that aggregates data from five downstream services, each with ~200ms average response time. The responses are independent. What is the expected total response time if Scatter-Gather is used?
- A. 1000ms (200ms × 5 sequential calls)
- B. ~200ms (Scatter-Gather executes all 5 calls in parallel; the total time equals the slowest response, approximately max(all five responses))(correct)
- C. 40ms (average 200ms divided by 5 parallel threads)
- D. 200ms per call × 5 calls ÷ 2 threads = 500ms
Explanation: Scatter-Gather executes all routes concurrently. The total elapsed time equals the duration of the slowest parallel route — not the sum. If all five services respond in ~200ms, the aggregate response is ~200ms (plus negligible overhead), compared to 1000ms for sequential calls. This is the core performance benefit of parallelisation for independent calls.