Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 15-Dec-2025



Mulesoft MCD-Level-1 exam questions feature realistic, exam-like questions that cover all key topics with detailed explanations. You’ll identify your strengths and weaknesses, allowing you to focus your study efforts effectively. By practicing with our MCD-Level-1 practice test, you’ll gain the knowledge, speed, and confidence needed to pass the Mulesoft exam on your first attempt.

Why leave your success to chance? Our Mulesoft MCD-Level-1 dumps are your ultimate guide to passing the exam on your first try!

Refer to the exhibits.

Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?


A. firstName


B. customer.firstName


C. vars."customer.firstName"


D. vars."customer"."firstName"





D.
  vars."customer"."firstName"

Correct answer is vars."customer"."firstName"
Please you can also access firstName using this syntax vars.customer.firstName.

Refer to the exhibit.

The main flow isconfigured with their error handlers. A web client submit a request to the
HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?’’
What response message is returned?


A.

APP: API RESOURCE NOT FOUND


B.

HTTP: NOT FOUND


C.

other error


D.

success - main flow





A.
  

APP: API RESOURCE NOT FOUND



Refer to the exhibits.

A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich the payload by prepending a vendor name to the sale data. What is written to the sales.csv file when the flow executes?


A. The enriched payload in JSON format


B. The enriched payload in XML format


C. The enriched payload in CSV format


D. An error message





A.
  The enriched payload in JSON format

Refer to the exhibits.

All three of the conditions for the Choice router are true. What messages are written in the application log?


A. Route1


B. Route2


C. Route1,Route2


D. Route1,Route2,Default





A.
  Route1

Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route1 execution and the others are not checked. If none of the expressions are true, then the default route executes. Hence only Route1 will be executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route’s execution and the others are not checked. If none of the expressions are true, then the default route executes.

Refer to the exhibit.



A.

Option A


B.

Option B


C.

Option C


D.

Option D





B.
  

Option B



Refer to theexhibits.

The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use
default configurations.
What values are accessible in the child flow after a web client submits a request to
http://localhost:8081/order? col or = red?


A.

payload


B.

payload
quantity var


C.

payload
color query param


D.

payload
quantity var color query param





A.
  

payload



Explanation: Correct answer is {customerID}.


A. var toUpper(userName) -> upper(userName)


B. fun toUpper(userName) = upper(userName)


C. fun toUpper(userName) -> upper(userName)


D. var toUpper(userName) = upper(userName)





B.
  fun toUpper(userName) = upper(userName)

A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.
What is the correct DW code to define the toUpper function?

Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?


A. Select only Attach Project Sources only


B. Select both Attach Project Sources and Include project modules and dependencies option


C. Select the Include project modules and dependencies option only


D. De-select both Attach Project Sources and Include project modules and dependencies option





A.
  Select only Attach Project Sources only

Explanation:
Correct answer is Select only Attach Project Sources only.
You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back into a Studio workspace.
Deselect the Include project modules and dependencies option.
This option skips bundling the actual modules and external dependencies required to run the Mule application in a Mule runtime engine, creating a lightweight JAR file package that does not include any dependencies specified in the Mule application’s pom.xml file.
The generated JAR file is not a functional deployable archive and cannot be deployed to a Mule runtime engine, but instead offers a way to archive only the source files that make up the Mule application. This is the same as using the -lightWeightPackage flag when packaging using the Mule Maven Plugin and is useful if you want to distribute your project to other Studio installations because it only keeps a reference to all its dependencies.
When you import a lightweight package into Studio, all your dependencies are automatically downloaded.


Page 1 out of 29 Pages