Summer Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: s2p65

Easiest Solution 2 Pass Your Certification Exams

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

Prepare effectively for your Salesforce Salesforce-MuleSoft-Developer-II Salesforce Certified MuleSoft Developer II (Mule-Dev-301) 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 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

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

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

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 the modify the in the generated flows to include a parameter to replace the version number

C.

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

D.

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

Refer to the exhibit.

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

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

A.

The test case fails with an assertion error

B.

The test throws an error and does not start

C.

The test case fails with an unexpected error type

D.

The test case passes

Which statement is true when using XML SDK for creating custom message processors?

A.

Properties are fields defined by an end user of the XML SDK component and serve as a global configuration for the entire Mule project inwhich they are used

B.

An XML SDK provides both inbound and outbound operations

C.

Operations can be reused in recursive calls

D.

All operations are public

A Mule application defines as SSL/TLS keystore properly ‘tis,keystore.keyPassword’’ as secure.

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

A.

#{secure::tiskeystore,keyPassowrd}

B.

${secure::tiskeystore,keyPassowrd}

C.

${secure::tiskeystore,keyPassowrd}

D.

p{secure::tiskeystore,keyPassowrd}

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?

A.

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

B.

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

C.

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

D.

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

Refer to the exhibits.

Bioinfo System API is implemented and published to Anypoint Exchange. Adeveloper wants to invoke this API using its REST Connector.

What should be added to the POM?

A)

B)

C)

D)

E)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

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

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

A.

Use a DataWeave 2.09 transform operation, and at the log of the DataWeave script, add:

%dw 2.0

Import.json-moduls

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.

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

Refer to the exhibit.

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?

A.

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

B.

The Mule flow will execute successfully with status code 204

C.

The Mule flow will throw the exception ‘JSON:SCHEMA_NOT_HONOURED

D.

The Mule flow will execute successfully with status code 200m and a response will display themessage ‘’ Age in years which must equal to or greater than zero.’’

Refer to the exhibit.

What required changes can be made to give a partial successful response in case the United Airlines API returns with a timeout?

A.

Add a Scatter-gather component inside a Try scope.

Set the payload to a default value ‘Error’ inside the error handler using the On Error Propagate scope.

B.

Add Flow Reference components inside a Try scope.

Set the payload to a default value’’ insider the error handler using the ON Error Continue scope

C.

Add Flow Reference components inside a Try scope

Set the payload to a default value ‘’ inside the error handler using the On Error Propagate scope

D.

Add a Scatter-Gather component inside a Try scope.

Set the payload to a defaultvalue ‘Error’’ inside the error handler using the On Error Continue scope.

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

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

A.

Use the underlying HTTP request of Anypoint MQ to set the ‘X-CORRELATION_ID’ header to the order ID

B.

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

C.

Use the default correlation ID, Anypoint MQ will sutomatically propagate it.

D.

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

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 heathcare portal.

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

A.

Deployable ZIP file, YAML configuration file

B.

JSON properties file, YAML configuration file

C.

JSON propertiesfile, XML template file

D.

XML template file, YAML configuration file

Mule application A is deployed to CloudHub and is using Object Store v2. Mute application B is also deployed to CloudHub.

Which approach can Mule application B use to remove values from Mule application A’S Object Store?

A.

Object Store v2 RESTAPI

B.

CloudHub Connector

C.

Object Store Connector

D.

CloudHub REST API

Which configurations are required for HTTP Listener to enable mTLS authentication?

A.

Set an appropriate reconnection strategy and use persistent connections for the listener

B.

Set an appropriate keystore configuration and use persistent connections for the listener

C.

Set an appropriate keystore and truststore configuration for the listener

D.

Set an appropriate truststore configuration and reconnection strategy for the listener

A Flight Management System publishes gate change notification events whenever a flight’s arrival gate changes. Other systems, including Baggage Handler System. Inflight Catering System and Passenger Notifications System, must each asynchronously receive the same gate change notification to process the event according.

Which configuration is required in Anypoint MQ to achieve this publish/subscribe model?

A.

Publish each client subscribe directly to the exchange.

Have each client subscribe directly to the queue.

B.

Publish the gate change notification to an Anypoint MC queue

Have each client subscribe directly to the queue

C.

Publish the gate change notification to an Anypoint MQ queue.

Createdifferent anypoint MQ exchange meant for each of the other subscribing systems

Bind the queue with each of the exchanges

D.

Publish the gate change notification to an Anypoint MQ exchanhe.

Create different Anypoint MQ queues meant for each of the other subscribing systems.

Bind the exchange with each of the queues.

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

Route C false.

A.

Error,errorMesage.payload.results [‘2’]

B.

Payload failures[‘2’]

C.

Error,errorMessage,payload.failures[‘2’]

D.

Payload [‘2’]

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

A.

A protocol

B.

The TLS version

C.

An encryption algorithm

D.

The Public key format

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.

Settings.xml

B.

Config.yaml

C.

Pom.xml

D.

Mule.artificact.json

A Mule application need to invoice an API hosted by an externalsystem to initiate a process. The external API takes anywhere between one minute and 24 hours to compute its process.

Which implementation should be used to get response data from the external API after it completes processing?

A.

Use an HTTP Connector toinvoke the API and wait for a response

B.

Use a Scheduler to check for a response every minute

C.

Use an HTTP Connector inside Async scope to invoice the API and wait for a response

D.

Expose an HTTP callback API in Mule and register it with the external system

Copyright © 2014-2025 Solution2Pass. All Rights Reserved