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

Free Salesforce Mule-Dev-301 Practice Exam with Questions & Answers

Questions 1

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:

Mule-Dev-301 Question 1

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.

Salesforce Mule-Dev-301 Premium Access
Questions 2

A developer has created the first version of an API designed for business partners to work with commodity prices.

What should the developer do to allow more than one major version of the same API to be exposed by the implementation?

Options:
A.

In Design Center, open the RAML and modify each operation to include the major version number

B.

In Anypoint Studio, generate scaffolding from the RAML, and then modify the < http:listener > in the generated flows to include a parameter to replace the version number

C.

In Design Center, open the RAML and modify baseUri to include a variable that indicates the version number

D.

In Anypoint Studio, generate scaffolding from the RAML, and then modify the flow names generated by APIkit to include a variable with the major version number

Questions 3

A Mule application uses API autodiscovery to access and enforce policies for a RESTful implementation.

What needs to be configured for the flowRef attribute of the autodiscovery global element?

Options:
A.

The name of the flow that has APIkit Console to receive all incoming RESTful operation requests

B.

Nothing because flowRef is an optional attribute which can be passed during runtime

C.

The name of the flow that has HTTP Listener to receive all incoming RESTful operation requests

D.

Any of the APIkit generated implementation flows

Questions 4

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

Questions 5

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 5

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

Questions 6

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

Questions 7

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

Questions 8

What is the MuleSoft recommended method to encrypt sensitive property data?

Options:
A.

The encryption key and sensitive data should be the same for all environments

B.

The encryption key should be identical for all environments and the sensitive data should be different for each environment

C.

The encryption key should be different for each environment and the sensitive data should be the same for all environments

D.

The encryption key and sensitive data should be different for each environment

Questions 9

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

Questions 10

In a Mule project, Flow-1 contains a flow-ref to Flow-2. Flow-2 depends on data from Flow-1 to execute successfully.

Which action ensures the test suites and test cases written for Flow-1 and Flow-2 will execute successfully?

Options:
A.

Use "After Test Case" to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases

B.

Use "Before Test Case" to collect data from Flow-1 test cases before running Flow-2 test cases

C.

Chain together the test suites and test cases for Flow-1 and Flow-2

D.

Use "Set Event" to pass the input data that is needed, and keep the test cases for Flow-1 and Flow-2 independent

Exam Code: Mule-Dev-301
Certification Provider: Salesforce
Exam Name: Salesforce Certified MuleSoft Developer II
Last Update: Oct 5, 2026
Questions: 60
PDF + Testing Engine
$164.99
$49.5
Testing Engine
$124.99
$37.5
PDF (Q&A)
$104.99
$31.5

Salesforce Free Exams

Salesforce Free Exams
Examstrack provides free Salesforce exam prep materials and practice tests to support your Salesforce certification goals.