Exam Information
Free practice questions with explanations
Salesforce Salesforce-MuleSoft-Developer-II Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Expose production-ready Anypoint Platform-managed APIs from Mule applications
A retail company has published an order API through API Manager. Version 1 consumers must keep working unchanged, while a new version 2 introduces a breaking change to the response payload. The operations team wants both versions to route to the same Mule application deployment on CloudHub 2.0 with minimal duplication. The API implementation must also register with API Manager so that policies can be applied per version. Which approach meets these requirements?
Correct Answer: AExplanationIn API Manager each API version is a separate API instance tied to its own implementation, so creating a second instance for version 2 lets policies and consumer contracts be managed independently while version 1 remains unchanged. Editing the RAML in place breaks existing consumers, and a path segment without a registered instance gives API Manager no way to apply or track policies per version. Routing version 1 traffic to version 2 through a load balancer rewrite would deliver a breaking payload to existing consumers, which violates the stated requirement.
-
2 Question 2 Single choice Implement monitorable Mule applications
A logistics company runs a Mule application on Mule runtime 4.4 with three replicas. Operations reports that during an incident, log lines from the shipment-tracking flow cannot be correlated across the upstream API gateway and the downstream inventory service. The company mandates that the correlation ID from an incoming X-Correlation-ID header be reused when present, and that the same value be passed to outgoing HTTP requests. The team must not change the log4j2 configuration globally, since other applications share the logging server. Which change best satisfies these constraints?
Correct Answer: CExplanationMule 4 assigns each event a correlation ID that the HTTP Listener can honour from the inbound X-Correlation-ID header, and the HTTP Request connector can forward a header explicitly so the value propagates downstream. Generating a fresh UUID in a logger ignores the upstream ID and breaks the trace. Enabling DEBUG globally is prohibited because the logging server is shared, and thread names do not persist across HTTP calls, so they cannot correlate hops.
-
3 Question 3 Single choice Secure data at rest and in transit
A healthcare integration team must expose a patient-summary API over HTTPS and require client certificates from partner systems. The Mule application runs on a self-managed Mule runtime in an on-premises cluster. The security office forbids storing private keys in the application archive, and each environment (dev, test, prod) uses different certificates. The team wants the keystore reference and passwords to change per environment without rebuilding the deployable. Which approach satisfies the constraints?
Correct Answer: BExplanationSecure properties files encrypted with the Secure Properties Configuration module allow environment-dependent values to be supplied at deployment without baking secrets into the archive, which satisfies the rebuild-free requirement. Embedding keys in the archive violates the security office rule, and putting the private key in XML and rebuilding per environment violates the no-rebuild and no-embedding constraints. Disabling client certificate checks removes the mutual TLS requirement the team must enforce.
-
4 Question 4 Multiple choice Implement maintainable and modular Mule applications and their Maven builds
A financial services team maintains twelve Mule applications that all share a common error-handling flow, a logging template, and a set of data transformation DataWeave functions. The team wants to reduce duplication, keep each application's build reproducible, and let the shared code be versioned and reused from Anypoint Exchange or a private Maven repository. Which TWO actions best achieve these goals? (Choose two.)
Correct Answer: A, EExplanationA Mule library project published to a Maven repository gives the shared code a versioned artifact that applications consume as a normal dependency, which keeps builds reproducible and avoids copies. Declaring that dependency in each pom.xml with explicit coordinates pins a known version. Copying files drifts over time, merging applications destroys independent deployment, and SNAPSHOT dependencies make builds non-reproducible across time, which conflicts with the stated reproducibility goal.
-
5 Question 5 Single choice Implement performant and reliable Mule applications
An airline's booking Mule application calls a third-party fare API that returns HTTP 429 when the rate limit is exceeded and HTTP 503 during maintenance windows. The company must avoid duplicate bookings, so non-idempotent POST calls may only be retried when the failure occurred before the request reached the provider. Operations wants the retry behaviour to react correctly to status codes with minimal custom code. Which design is most appropriate?
Correct Answer: DExplanationRetrying a POST after a 503 or 429 can duplicate a booking if the provider already accepted it, so the design must distinguish failure stages and use an idempotency mechanism before retrying non-idempotent calls. Using Until Successful for GET lookups is safe because they are idempotent, while the booking path routes status codes differently. Blindly retrying every error with zero delay ignores both the duplicate risk and rate limiting. A fixed fallback response hides failures from the caller, and the Mule runtime does not retry HTTP POST calls automatically.
-
6 Question 6 Dropdown Expose production-ready Anypoint Platform-managed APIs from Mule applications
A payments team needs its Mule API to cache successful GET responses for 60 seconds at the gateway so that repeated balance lookups do not reach the backend, and the caching must be configured from API Manager rather than in code. The team is deploying to a Flex Gateway environment and must choose the policy and its settings. Select the correct value for each blank in the policy configuration summary.
Choose the correct value for each blank.
Policy: Expiry setting: Scope:Correct Answer:Policy: HTTP Caching Expiry setting: 60 seconds Scope: Per API instance
ExplanationThe HTTP Caching policy is the gateway-enforced policy for caching responses, and its expiry is configured in seconds, so 60 seconds matches the requirement. Scoping the cache per API instance keeps balance responses shared for the endpoint. Rate Limiting and Response Cache are not the names of the caching policy in API Manager, and milliseconds, minutes or hours would miscalibrate the 60-second requirement. Per client IP would fragment the cache unnecessarily, while per organisation is not a valid caching scope for an API instance.
-
7 Question 7 Order list Implement monitorable Mule applications
A team must expose a health check endpoint for a Mule 4 application deployed on CloudHub 2.0 so that the load balancer removes an unhealthy replica from rotation. The check must verify that the database connection pool is reachable before returning success. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Deploy the updated application to the CloudHub 2.0 environment and verify the replica status in Runtime Manager.
- Add an HTTP Listener flow at the health path that returns a 200 status only after a database query succeeds.
- Configure the load balancer health check to call the health path with the expected HTTP status code.
- Define the database connector and its connection pool in global configuration so the health flow can reference it.
Correct Answer:- Add an HTTP Listener flow at the health path that returns a 200 status only after a database query succeeds.
- Configure the load balancer health check to call the health path with the expected HTTP status code.
- Define the database connector and its connection pool in global configuration so the health flow can reference it.
- Deploy the updated application to the CloudHub 2.0 environment and verify the replica status in Runtime Manager.
ExplanationThe database configuration must exist before the health flow can reference it, so it is defined first. The health flow is then built on top of that connection and returns success only after a real query. The load balancer can only be pointed at a path that already exists, so its health check is configured after the endpoint is in place. Deployment comes last, followed by verification in Runtime Manager that the replica reports healthy.
-
8 Question 8 Drag and drop Implement performant and reliable Mule applications
A logistics application processes order events through several parallel calls and must stay reliable under load. Match each requirement to the Mule component or practice that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Fan out three independent carrier rate lookups and collect all results into one payloadPersist a deduplication key across application restarts in a clusterPass work to another flow asynchronously without losing messages if the consumer is downValidate an inbound order message against a published JSON Schema before processingVM queue with persistent storageValidation module schema validationCache resourceScatter-Gather routerPersistent ObjectStoreUntil Successful routerCorrect Answer:- Fan out three independent carrier rate lookups and collect all results into one payload → Scatter-Gather router
- Persist a deduplication key across application restarts in a cluster → Persistent ObjectStore
- Validate an inbound order message against a published JSON Schema before processing → Validation module schema validation
- Pass work to another flow asynchronously without losing messages if the consumer is down → VM queue with persistent storage
ExplanationScatter-Gather runs the branches concurrently and merges their results, which is the correct parallelism construct. A persistent ObjectStore survives restarts and is shared across cluster nodes, making it suitable for deduplication keys. Schema checks belong to the Validation module, and a persistent VM queue keeps messages when the consumer is unavailable. Cache resource and Until Successful are real components but do not satisfy these specific requirements.
-
9 Question 9 Single choice Implement maintainable and modular Mule applications and their Maven builds
A team uses the Mule Maven plugin to deploy the same application to a Mule runtime on-premises and to CloudHub 2.0. The CI pipeline must run MUnit tests on every build, fail the build if coverage drops below an agreed threshold, and deploy only when tests pass. Developers should be able to run the tests locally with a single command. Which Maven configuration meets these requirements?
Correct Answer: CExplanationRunning the MUnit goal in the test phase with a coverage threshold makes failing tests and insufficient coverage break the build, and binding deployment after the test phase ensures it only runs once tests pass. Developers can execute the same mvn test command locally. Skipping tests or running them in a non-gating pipeline removes the gate, and binding deploy to validate would deploy before any tests run.
-
10 Question 10 Single choice Implement performant and reliable Mule applications
A retail Mule application fans out a product-enrichment request to three internal services using a Scatter-Gather router. If one branch fails after another has already created a reservation record, the team must undo the reservation to keep data consistent. The reservation service exposes a DELETE endpoint keyed by reservation ID. The team needs the compensation to run only when the scatter-gather partially fails. Which implementation is most appropriate?
Correct Answer: DExplanationScatter-Gather returns a collection of branch results and errors, so the flow can detect partial failure and compensate exactly the branches that succeeded by using their reservation IDs. The runtime does not roll back successful branches on its own, and calling DELETE for branches that never created a reservation would produce spurious errors. Running sequentially removes the performance requirement the team set for parallel fan-out.
-
11 Question 11 Multiple choice Secure data at rest and in transit
A government agency exposes a citizen-record API over mutual TLS. The Mule application on a self-managed runtime must accept only clients presenting certificates signed by the agency's internal CA, and the outbound HTTP Request calls to a partner system must also authenticate with a client certificate. Keys must be packaged for distribution to the operations team without exposing the private key in source control. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: B, EExplanationRequiring client authentication with a truststore containing the internal CA enforces that only certificates from that CA are accepted at the listener. The outbound connector needs its own keystore with the client certificate and private key to present during the handshake, and loading it from a secured location keeps the key out of source control. Committing private keys breaks the packaging rule, accepting any certificate defeats mutual TLS, and one-way TLS does not authenticate the client at all.
-
12 Question 12 Single choice Expose production-ready Anypoint Platform-managed APIs from Mule applications
A health insurer's member API runs on Mule 4 and is registered in API Manager. Security requires that every request include a client ID and secret, and the company wants the same enforcement applied consistently across all environments without changing application code. A separate requirement is that the backend should not be reached when a client exceeds 100 requests per minute. Which combination of policies should the API team apply in API Manager?
Correct Answer: CExplanationClient ID enforcement is an out-of-the-box API Manager policy that requires credentials at the gateway and applies uniformly without code changes, and Rate limiting caps requests per time window before they reach the backend. Putting authentication inside the flow ties enforcement to application code and does not use the gateway as required. JWT validation solves a different credential model and applying policies only to production breaks consistency. IP allowlisting and caching do not provide client credential checks or enforce the stated quota.
-
13 Question 13 Dropdown Implement maintainable and modular Mule applications and their Maven builds
A build engineer needs to run MUnit tests and produce a coverage report from the command line for a Mule 4 project using the Mule Maven plugin. The engineer wants the tests executed and the build to stop if they fail, without deploying. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
mvn -Dmunit.coverage.=true -Dmunit.coverage.=falseCorrect Answer:mvn test -Dmunit.coverage.runCoverage=true -Dmunit.coverage.skipTests=false
ExplanationThe test phase runs MUnit suites under the Mule Maven plugin, and the coverage flag enabling a report is runCoverage. The third blank must disable the test skip behaviour, so skipTests set to false keeps tests running and failing the build on error. Deploy would publish the application without the required gating, package and verify do not run the MUnit suites, and check or summary are not the coverage property names used by MUnit.
-
14 Question 14 Single choice Implement monitorable Mule applications
A utilities company runs a Mule application on CloudHub 2.0 that intermittently returns slow responses. The operations team wants to change the logging level for the org.mule.runtime.core package to DEBUG for one hour on a single production replica, then revert automatically, without redeploying. Logs must still be aggregated in the central logging service. Which approach best meets these requirements?
Correct Answer: CExplanationRuntime Manager allows log level changes for a package on a specific replica without redeployment, and the team can revert the change afterwards, which fits the temporary one-hour requirement. Editing the archive forces redeployment against the no-redeploy constraint. Adding logger components requires a new release and affects all traffic, and disabling aggregation breaks the central logging requirement.
-
15 Question 15 Single choice Expose production-ready Anypoint Platform-managed APIs from Mule applications
A transport company's dispatch service must notify a customer's system when a delivery status changes. The customer exposes an HTTPS endpoint and expects a POST with a signature header so it can verify the sender. The dispatch team wants the notification to be delivered without the customer polling, and it must not block the main shipment workflow if the customer endpoint is slow. Which design best satisfies these requirements?
Correct Answer: CExplanationA webhook is an outbound HTTP callback that pushes the event when it occurs, and decoupling the delivery through a queue with an asynchronous flow keeps the shipment workflow from blocking on a slow customer endpoint. Customer polling is explicitly excluded by the requirements. A synchronous call would couple the shipment transaction to the customer's availability. Exposing an ObjectStore directly is not a supported integration path and bypasses the signed notification design.
These are 15 of the 60 questions in the full Salesforce-MuleSoft-Developer-II pack.
Get All 60 QuestionsGet all 60 questions & answers
Full access options for Salesforce Salesforce-MuleSoft-Developer-II
Self-study
PDF Version
- 60 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 60 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 60 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Salesforce-MuleSoft-Developer-II Exam (Salesforce Certified MuleSoft Developer II) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.