Black Friday Speed Sale: Save 75% on Every Exam Bundle! Use coupon code below now! - Ends in 0d 00h 00m 00s - Coupon code: stp75

Easiest Solution 2 Pass Your Certification Exams

Mule-Dev-301 Salesforce Certified MuleSoft Developer II Free Practice Exam Questions (2026 Updated)

Prepare effectively for your Salesforce Mule-Dev-301 Salesforce Certified MuleSoft Developer II certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2026, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 1
Total 60 questions

A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid.

How can the data be validated before posting to the target system?

A.

Add the JSON module dependency and add the validate schema operation in the flow, configured to reference the schema

B.

Using the DataWeave If Else condition, test the values of the payload against the examples included in the schema

C.

Apply the JSON Schema policy in API Manager and reference the correct schema in the policy configuration

D.

Use a DataWeave 2.0 transform operation, and at the top of the DataWeave script, add: %dw 2.0 / import json-module

A System API that communicates to an underlying MySQL database is deployed to CloudHub. The DevOps team requires a readiness endpoint to monitor all system APIs.

Which strategy should be used to implement this endpoint?

A.

Use an existing resource endpoint of the API

B.

Create a dedicated endpoint that responds with the API status and reachability of the underlying systems

C.

Create a dedicated endpoint that responds with the API status only

D.

Create a dedicated endpoint that responds with the API status and health of the server

Which pattern should be used to invoke multiple HTTP APIs in parallel and roll back any failed requests in sequence?

A.

Scatter-Gather as central Saga orchestrator for all API requests with compensating actions for failing routes

B.

A Parallel For Each scope with each HTTP request wrapped in a Try scope

C.

VM queues as a reliability pattern with error handlers to roll back any requests

D.

A database as a transactional outbox and an Until Successful router to retry any requests

Refer to the exhibit.

An API has been built to enable scheduling emails for a healthcare provider. The front-end system does very little data entry validation, and problems have started to appear in the emails that go out to patients. A "validate-customer" flow is added to validate the data.

What is the expected behavior of the "validate-customer" flow?

Exhibit:

A.

If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised

B.

If only the email address is invalid, a VALIDATION:INVALID_EMAIL error is raised

C.

If the email address is invalid, processing continues to see if the appointment date and customer name are also invalid

D.

If all of the values are invalid, the last validation error is raised: SCHEDULE:INVALID_CUSTOMER_NAME

Multiple individual Mule applications need to use the Mule Maven plugin to deploy to CloudHub. The plugin configuration should be reused where necessary and anything project-specific should be property-based.

Where should the Mule Maven plugin details be configured?

A.

A Bill of Materials (BOM) parent pom

B.

A parent pom.xml

C.

pom.xml

D.

settings.xml

A scatter-gather router is configured with four routes: Route A, B, C and D.

Route C fails.

Which expression allows access to the failing route so that it can be compensated?

A.

error.errorMessage.payload.failures[2]

B.

payload.failures[2]

C.

payload[2]

D.

error.errorMessage.payload.results[2]

Which type of cache invalidation does the Cache scope support without having to write any additional code?

A.

Write-behind invalidation

B.

Write-through invalidation

C.

Time to live

D.

Notification-based invalidation

Refer to the exhibits.

The flow is invoking a target API. The API's protocol is HTTPS. The TLS configuration in the HTTP Request Configuration global element is set to None. A web client submits a request to http://localhost:8081/vehicles.

If the certificate of the target API is signed by a certificate authority (CA), what is true about the HTTP Request operation when the flow executes?

Exhibit:

A.

The HTTP Request operation will always succeed regardless of the CA

B.

The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore

C.

The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default keystore

D.

The HTTP Request operation will always fail regardless of the CA

A developer deploys an API to CloudHub and applies an OAuth API policy in API Manager. During testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box HTTP Caching policy is applied first, and the OAuth API policy is applied second.

What will happen when an HTTP request is received?

A.

In case of a cache hit, both the OAuth and HTTP Caching policies are evaluated; then the cached response is returned to the caller

B.

In case of a cache miss, both the OAuth and HTTP Caching policies are evaluated; then the API retrieves the data from the API implementation, and the policy does not store the data in Object Store

C.

In case of a cache miss, only the HTTP Caching policy is evaluated; then the API retrieves the data from the API implementation, and the policy stores the data to be cached in Object Store

D.

In case of a cache hit, only the HTTP Caching policy is evaluated; then the cached response is returned to the caller

An organization uses CloudHub to deploy all of its applications.

How can a common-global-error-handler flow be configured so that it can be reused across all of the organization's deployed applications?

A.

Create a Mule plugin project. Create a common-global-error-handler flow inside the plugin project. Use this plugin as a dependency in all Mule applications. Import that configuration file in Mule applications.

B.

Create a Mule domain project. Create a common-global-error-handler flow inside the domain project. Use this domain project as a dependency.

C.

Create a Mule plugin project. Create a common-global-error-handler flow inside the plugin project. Use this plugin as a dependency in all Mule applications.

D.

Create a common-global-error-handler flow in all Mule applications. Refer to it via flow-ref wherever needed.

Which properties are mandatory on the HTTP Connector configuration in order to use the OAuth 2.0 Authorization Code grant type for authentication?

A.

External callback URL, access token URL, local authorization URL, authorization URL, client ID, client secret

B.

Token URL, authorization URL, client ID, client secret, local callback URL

C.

External callback URL, access token URL, client ID, response refresh token

D.

External callback URL, access token URL, client ID, response access token

A healthcare customer wants to use hospital system data, which includes code that was developed using legacy tools and methods. The customer has created reusable Java libraries in order to read the data from the system.

What is the most effective way to develop an API to retrieve the data from the hospital system?

A.

Install the libraries in a local repository and refer to it in the pom.xml file

B.

Refer to JAR files in the code

C.

Include the libraries while deploying the code into the runtime

D.

Create the Java code in your project and invoke the data from the code

Refer to the exhibit.

A Mule Object Store is configured with an entry TTL of one second and an expiration interval of 30 seconds.

What is the result of the flow if processing between os:store and os:retrieve takes 10 seconds?

Exhibit:

A.

nullPayload

B.

OS:KEY_NOT_FOUND

C.

testPayload

D.

originalPayload

A new Mule project has been created in Anypoint Studio with the default settings.

Which file inside the Mule project must be modified before using Maven to successfully deploy the application?

A.

config.yaml

B.

settings.xml

C.

pom.xml

D.

mule-artifact.json

Refer to the exhibits.

BioInfo System API is implemented and published to Anypoint Exchange. A developer wants to invoke this API using its REST Connector.

What should be added to the POM?

Exhibit / Answer Configurations:

A.

Add the generated asset as a Maven < dependency > with the Exchange groupId, artifactId, version, and < classifier > mule-plugin < /classifier > .

B.

Add the generated asset as a Maven < plugin > .

C.

Add the generated asset through a < rest-connect > element.

D.

Add the generated asset as a < repository > entry.

An API has been developed and deployed to CloudHub. Among the policies applied to this API is an allowlist of IP addresses. A developer wants to run a test in Anypoint Studio and does not want any policies applied because their workstation is not included in the allowlist.

What must the developer do in order to run this test locally without the policies applied?

A.

Pass in the runtime parameter "-Danypoint.platform.gatekeeper=disabled"

B.

Deactivate the API in API Manager so the Autodiscovery element will not find the application when it runs in Studio

C.

Run the test as-is, with no changes, because the Studio runtime will not attempt to connect to API Manager

D.

Create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager

A Mule application defines an SSL/TLS keystore property "tls.keystore.keyPassword" as secure.

How can this property be referenced to access its value within the application?

A.

${secure::tls.keystore.keyPassword}

B.

p(secure::tls.keystore.keyPassword)

C.

$(secure::tls.keystore.keyPassword)

D.

#[secure::tls.keystore.keyPassword]

A Mule application deployed to a standalone Mule runtime uses VM queues to publish messages to be consumed asynchronously by another flow.

In the case of a system failure, what will happen to in-flight messages in the VM queues that have not been consumed?

A.

For persistent queues, the message will be processed after the system comes online

B.

For transient queues, the message will be processed after the system comes online

C.

For any type of queue, the message will be lost

D.

For any type of queue, the message will be processed after the system comes online

Page: 1 / 1
Total 60 questions
Copyright © 2014-2026 Solution2Pass. All Rights Reserved