Pre-Winter Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: agile70

ExamsBrite Dumps

Salesforce Certified MuleSoft Developer II Question and Answers

Salesforce Certified MuleSoft Developer II

Last Update Oct 12, 2026
Total Questions : 60

We are offering FREE Mule-Dev-301 Salesforce exam questions. All you do is to just go and sign up. Give your details, prepare Mule-Dev-301 free exam questions and then go for complete pool of Salesforce Certified MuleSoft Developer II test questions that will help you more.

Mule-Dev-301 pdf

Mule-Dev-301 PDF

$31.5  $104.99
Mule-Dev-301 Engine

Mule-Dev-301 Testing Engine

$37.5  $124.99
Mule-Dev-301 PDF + Engine

Mule-Dev-301 PDF + Testing Engine

$49.5  $164.99
Questions 1

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?

Options:

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

Discussion 0
Questions 2

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

Discussion 0
Questions 3

When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header.

How can this be achieved?

Options:

A.  

Configure a custom correlation policy

B.  

Enable the CorrelationID checkbox in the HTTP Listener configuration

C.  

Enable the auto-generate CorrelationID option when scaffolding the flow

D.  

No action is needed as the correlation ID is returned to the caller in the response header by default

Discussion 0
Questions 4

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

Discussion 0
Questions 5

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?

Options:

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

Discussion 0
Questions 6

A company has been using CI/CD. Its developers use Maven to handle build and deployment activities.

What is the correct sequence of activities that takes place during the Maven build and deployment?

Options:

A.  

Validate, initialize, compile, package, test, install, verify, deploy

B.  

Initialize, validate, compile, test, package, verify, install, deploy

C.  

Validate, initialize, compile, test, package, verify, install, deploy

D.  

Validate, initialize, compile, test, package, install, verify, deploy

Discussion 0
Questions 7

An order processing system is composed of multiple Mule applications responsible for warehouse, sales, and shipping. Each application communicates using Anypoint MQ. Each message must be correlated against the original order ID for observability and tracing.

How should a developer propagate the order ID as the correlation ID across each message?

Options:

A.  

Wrap all Anypoint MQ Publish operations within a With CorrelationID scope from the Tracing module, setting the correlation ID to the order ID

B.  

Use the underlying HTTP request of Anypoint MQ to set the X-CORRELATION-ID header to the order ID

C.  

Set a custom Anypoint MQ user property to propagate the order ID and set the correlation ID in the receiving applications

D.  

Use the default correlation ID; Anypoint MQ will automatically propagate it

Discussion 0
Questions 8

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:

Options:

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

Discussion 0
Questions 9

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

Discussion 0
Questions 10

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:

Options:

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.

Discussion 0
Questions 11

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:

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

Discussion 0
Questions 12

A custom policy needs to be developed to intercept all outbound HTTP requests made by Mule applications.

Which XML element must be used to intercept outbound HTTP requests?

Options:

A.  

http-policy:operation

B.  

It is not possible to intercept outgoing HTTP requests, only inbound requests

C.  

http-policy:processor

D.  

http-policy:source

Discussion 0
Questions 13

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]

Discussion 0
Questions 14

Which pattern can a web API use to notify its client of state changes as soon as they occur?

Options:

A.  

ETL data load

B.  

Schedule Event Publisher

C.  

HTTP Webhook

D.  

Shared database trigger

Discussion 0
Questions 15

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?

Options:

A.  

${secure::tls.keystore.keyPassword}

B.  

p(secure::tls.keystore.keyPassword)

C.  

$(secure::tls.keystore.keyPassword)

D.  

#[secure::tls.keystore.keyPassword]

Discussion 0
Questions 16

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

Options:

A.  

Write-behind invalidation

B.  

Write-through invalidation

C.  

Time to live

D.  

Notification-based invalidation

Discussion 0
Questions 17

A healthcare portal needs to validate the token that it sends to a Mule API. The developer plans to implement a custom policy using the HTTP Policy Transform Extension to match the token received in the header from the healthcare portal.

Which files does the developer need to create in order to package the custom policy?

Options:

A.  

XML template file, YAML configuration file

B.  

Deployable ZIP file, YAML configuration file

C.  

JSON properties file, XML template file

D.  

JSON properties file, YAML configuration file

Discussion 0
Questions 18

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

Discussion 0