Halloween Sale Special 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: budy75

Mule-Dev-301 Salesforce Certified MuleSoft Developer II Questions and Answers

Questions 4

The Center for Enablement team published a common application as a reusable module to the central Nexus repository.

How can the common application be included in all API implementations?

Options:

A.

Add a Maven dependency in the POM file with mule-plugin as < classifier >

B.

Add a Maven dependency in the POM file with jar as < classifier >

C.

Copy the common application's source XML file and put it in a new flow file in the src/main/mule folder

D.

Download the common application from Nexus and copy it to the src/main/resources folder in the API

Buy Now
Questions 5

Refer to the exhibits.

A Mule application's pom.xml configures the Maven Resources plugin to exclude parsing binary files in the project's src/main/resources/certs directory.

Which configuration of this plugin achieves a successful build?

Exhibits - Options A and B:

Mule-Dev-301 Question 5

Exhibits - Options C and D:

Mule-Dev-301 Question 5

Options:

A.

Configuration shown in Exhibit A

B.

Configuration shown in Exhibit B

C.

Configuration shown in Exhibit C

D.

Configuration shown in Exhibit D

Buy Now
Questions 6

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?

Options:

A.

error.errorMessage.payload.failures[2]

B.

payload.failures[2]

C.

payload[2]

D.

error.errorMessage.payload.results[2]

Buy Now
Questions 7

A developer is working on a project that requires encrypting all data before sending it to a backend application. To accomplish this, the developer will use PGP encryption in the Mule 4 Cryptography module.

What is required to encrypt the data before sending it to the backend application?

Options:

A.

The application needs the public key from the backend service to encrypt the data

B.

The application needs both the private and public keys to encrypt the data

C.

The application needs the private key from the backend service to encrypt the data

D.

The application needs to configure HTTPS TLS context information to encrypt the data

Buy Now
Questions 8

Refer to the exhibits.

Based on the code snippet, schema.json file, and payload below, what is the outcome of the given code snippet when a request is sent with the payload?

Exhibits:

Mule-Dev-301 Question 8

Options:

A.

The Mule flow will execute successfully with status code 204

B.

The Mule flow will execute successfully with status code 200, and in response will display the message "Age in years which must be equal to or greater than zero."

C.

The Mule flow will throw the exception "JSON:SCHEMA_NOT_HONOURED"

D.

The Mule flow will execute successfully with status code 200, and the response will be the JSON sent in request

Buy Now
Questions 9

Refer to the exhibits.

The flow name is "implementation" with code for the MUnit test case.

When the MUnit test case is executed, what is the expected result?

Exhibit:

Mule-Dev-301 Question 9

Options:

A.

The test case fails with an assertion error

B.

The test case fails with an unexpected error type

C.

The test case passes

D.

The test case throws an error and does not start

Buy Now
Questions 10

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?

Options:

A.

config.yaml

B.

settings.xml

C.

pom.xml

D.

mule-artifact.json

Buy Now
Questions 11

A Mule implementation uses an HTTP Request within an Until Successful scope to connect to an API.

How should a permanent error response like HTTP:UNAUTHORIZED be handled inside Until Successful to reduce latency?

Options:

A.

In Until Successful configuration, set the retry count to 1 for error type HTTP:UNAUTHORIZED.

B.

Continue retrying until a MULE:RETRY_EXHAUSTED error is raised or the API responds back with a successful response.

C.

Put the HTTP Request inside a try scope in Until Successful. In the error handler, use On Error Propagate to catch permanent errors like HTTP:UNAUTHORIZED.

D.

Put the HTTP Request inside a try scope in Until Successful. In the error handler, use On Error Continue to catch permanent errors like HTTP:UNAUTHORIZED.

Buy Now
Questions 12

A Mule application deployed to multiple CloudHub 2.0 replicas needs to temporarily persist large files over 10MB between flow executions, and routinely needs to query whether the file data exists on separate executions.

How can this be achieved?

Options:

A.

Store the contents of the file on separate storage, and store the key and location of the file using Object Store v2

B.

Use an in-memory Object Store

C.

Store the key and full contents of the file in an Object Store

D.

Use the file connector to store and read the file, caching the filename and location between requests

Buy Now
Questions 13

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?

Options:

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

Buy Now
Questions 14

Which statement is true about using mutual TLS to secure an application?

Options:

A.

Mutual TLS requires a hardware security module to be used

B.

Mutual TLS increases the encryption strength versus server-side TLS alone

C.

Mutual TLS authenticates the identity of the server before the identity of the client

D.

Mutual TLS ensures only authorized end users are allowed to access an endpoint

Buy Now
Questions 15

Two APIs are deployed to a two-node on-prem cluster. Due to a requirements change, the two APIs must communicate to exchange data asynchronously.

How can this be solved?

Options:

A.

Instead of using the VM Connector use directly

B.

It is not possible to use the VM Connector since the APIs are running in a cluster mode and each node has its own set of VM Queues

C.

If the two APIs use the same domain, VM Connector can be leveraged

D.

The VM Connector is used for inter-application communication, so it is not possible to use the VM Connector

Buy Now
Questions 16

When a client and server are exchanging messages during the mTLS handshake, what is being agreed on during the cipher suite exchange?

Options:

A.

The TLS version

B.

The public key format

C.

A protocol

D.

An encryption algorithm

Buy Now
Questions 17

A Mule application for processing orders must log the order ID for every log message output.

What is a best practice to enrich every log message with the order ID?

Options:

A.

Use the Tracing module to set logging variables with a Mapped Diagnostic Context

B.

Set a flow variable and edit the log4j2.xml file to output the variable as part of the message pattern

C.

Use flow variables within every logger processor to log the order ID

D.

Create a custom XML SDK component to wrap the logger processor and automatically add the order ID within the connector

Buy Now
Questions 18

A Mule application exposes an API for creating payments. An Operations team wants to ensure that the Payments API is up and running at all times in production.

Which approach should be used to test that the Payments API is working in production?

Options:

A.

Create a health check endpoint that reuses the same port number and HTTP Listener configuration as the API itself

B.

Configure the application to send health data to an external system

C.

Create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API

D.

Monitor the Payments API directly, sending real customer payment data

Buy Now
Exam Code: Mule-Dev-301
Exam Name: Salesforce Certified MuleSoft Developer II
Last Update: Oct 23, 2026
Questions: 60

PDF + Testing Engine

$140

Testing Engine

$105

PDF (Q&A)

$90