Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 3-Nov-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.

The<when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?


A.

#['MuleSoft' == paytoad.company]


B.

#[ company = "MuleSoft" ]


C.

#[ if( company = "MuleSoft") ]


D.

#[ if('MuleSoff == payload.company) ]





A.
  

#['MuleSoft' == paytoad.company]



A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090.
The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a log message reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?


A. The HTTP Listener is listening on port 80


B. The HTTP Listener is listening on port 9090


C. The HTTP Listener is listening on port 8081


D. The HTTP Listener failed to bind to the port and is not listening for connections





C.
  The HTTP Listener is listening on port 8081

Explanation:
Cloudhub expose services on port 8081 and override value in http.port with this one.
Sample log in Runtime Manager is below
21:15:53.148 08/08/2021 Worker-0 ArtifactDeployer.start.01 INFO
Listening for connections on 'http://0.0.0.0:8081'

Refer to the exhibit.



A.

Option A


B.

Option B


C.

Option C


D.

Option D





B.
  

Option B



What of the below is not a feature of API Notebooks?


A. API documentation


B. Creates a client for an API


C. Creates a mock service for an API


D. Perform authenticated live calls on a real server





C.
  Creates a mock service for an API

Explanation:
Correct answer is Creates a mock service for an API
API Notebook is an open source, shareable web application for API documentation, interactive API tutorial and example generatation, and a client for your API endpoints. Using API Notebook, you can make requests and quickly transform the responses into readable format. However it cannot be used to mock service for an API.

Refer to exhibits.

What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?


A. #["The city is" ++ payload.City]


B. The city is + #[payload.City]


C. The city is #[payload.City]


D. #[The city is ${payload.City}





C.
  The city is #[payload.City]

Explanation:
Correct answer is The city is #[payload.City]
Answer can get confused with the option #["The city is" ++ payload.City] But note that this option will not print the space between is and city name. This will print The city isPune.

Refer to the exhibits.

A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?


A.

"String"


B.

"Object"


C.

"Array"


D.

"JSON"





C.
  

"Array"



Refer to the exhibit. 

What is the correct DataWeave expression for the Set Payload transformer to call the
createCustomerObject flow with values for the first and last names of a new customer?


A.

lookupC createCustomerObJect( "Alice", "Green- ) )


B.

createCustomerObject( { first: "Alice", last: "Green" > )


C.

lookupf "createCustomerObject", { first: "Alice", last: "Green" > )


D.

createCustomerObject( "Alice", "Green")





C.
  

lookupf "createCustomerObject", { first: "Alice", last: "Green" > )



Refer to the exhibits.

The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.
What is the minimum number of global elements that must be defined to support all these HTTP Listeners?


A. 1


B. 2


C. 3


D. 4





C.
  3

Explanation:
In this case three configurations will be required each for port 8000, 6000 and 7000.
There would be three global elements defined for HTTP connections.
Each HTTP connection will have host and port. One example shown below with host as localhost and port 6000.


Page 1 out of 29 Pages