Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 13-Jan-2026



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 exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?


A. (customerlD)


B. {customerlD}


C. #[customerlD]


D. ${ customerID}





B.
  {customerlD}

Refer to the exhibits.

The Batch Job scope contains two Batch Steps scopes with different accept expression. The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?


A. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}


B. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=40}


C. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}


D. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
5.{step2amount=102}





D.
  1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
5.{step2amount=102}

Explanation:
Lets understand this solution step by step.
1) Batch Step (Less than 50)
Accept expression for this batch step is less than 50. Hence elements which will go in this batch step are amount value 40 and 2. Hence output of logger in first batch step is
{amount=140}
{amount=102}
2) Batch Step (Greater than 20)
Accept condition for this batch step is greater than 20. Note that input amount values for this batch step are 100 , 140 and 102 (last two values have been updated in batch step less than 50)
As all values satisfy this condition out put of second logger is
{step2amount=100}
{step2amount=140}
{step2amount=102}
Hence correct answer to this question is

{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
{step2amount=102}

Refer to the exhibit. 

What is a valid expression for the Choice router’s when expression to route events to the
documenticShipping flow?


A.

0#[ payload = 'US' ]


B.

#[ payload == 'US' J


C.

#[ if(payload = 'US') J


D.

#[ if(payload == "US") ]





B.
  

#[ payload == 'US' J



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.

A company has an API to manage purchaseorders, with each record identified by a unique
purchase order ID. The API was built with RAML according to MuleSoft best practices.
What URI should a web client use to request order P05555?


A.

/orders/{P05555}


B.

/orders/order=P05555


C.

/orders?order=P05555


D.

/orders/P05555





D.
  

/orders/P05555



Refer to the exhibits.


A. Option A


B. Option B


C. Option C


D. Option D





C.
  Option C

Refer to the exhibits.

The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.
What should be changed in the request so that a success response code is returned to the web client?


A. Set a request header with the name Content-Type to a value of applicatron/octet-stream


B. Set a request header with the name Content-Type to a value of application/xml


C. Set a response header with the name Content-Type to a value of applkation/xml


D. Set a response header with the name Content-Type to a value of application/octetstream





B.
  Set a request header with the name Content-Type to a value of application/xml

The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. As per RAML input is expected in application/xml.
Hence correct answer is Set a request header with the name Content-Type to a

Refer to the exhibits.

The my-app xml file contains an Error Handier scope named "global-error-handler"
The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application.
Where and how should the value "global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?


A. In the mule-artifact json file, as the value of a key-value pair


B. In the Validation folder as the value of a global element in the error-handling yaml file


C. In the pom.xml file, as the value of a global element


D. In the my-app.xml file, as an attribute of a configuration element





D.
  In the my-app.xml file, as an attribute of a configuration element


Page 1 out of 29 Pages