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.

The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message
'The year is 2020', withouthardcoding 2020?


A.

#[The year is $(pay load .year)]*


B.

The year is #[payload.year]'


C.

'#[The year is " + paytoad.year]'


D.

#["The year is "++ payload.year].





D.
  

#["The year is "++ payload.year].



Which keyword do you use to create a new function in DataWeave?


A. function


B. fun


C. func


D. map





B.
  fun

Explanation:
You can define your own DataWeave functions using the fun declaration in the header of a DataWeave script. Sample is as below. ----------------------------------------
%dw 2.0
output application/json
fun toUpper(aString) = upper(aString)
---
toUpper("hello")
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/dataweave-functions

Refer to the exhibits 

What payload and quantity arelogged at the end of the main flow?


A.

[[1,2,3,4], 14]


B.

[[order1, order2, order3, order4], 14]


C.

[[1,2,3,4], 10]


D.

[orderlorder2order3order4,14]





A.
  

[[1,2,3,4], 14]



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

A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices. What is valid RAML to specify a method to update the details for a specific department?


A. Option A


B. Option B


C. Option C


D. Option D





D.
  Option D

URI parameter is basically used to identify a specific resource or resources
* Here we want to update details about specific department, so question is asking 'How to use URI parameter' in RAML
* Correct answer is
/departments:
/{deptId}:
patch:
Reference: https://docs.mulesoft.com/design-center/design-common-problems-raml-10

Refer to the exhibits.

The Mule application configures and uses two HTTP Listener global configuration elements.
Mule application is run in Anypoint Studio.
If the mule application starts correctly, what URI and port numbers can receive web client requests? If the mule applications fails to start , what is the reason for the failure?


A. The mule application fails to start. There is URL path conflict because both HTTP Listeners are configured with same path


B. The mule application start successfully Web client requests can only be received at URI on port 2222 but not on port 3333


C. The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333


D. The mule application start successfully Web client requests can be received at URI on port 2222 and on port 3333.





D.
  The mule application start successfully Web client requests can be received at URI on port 2222 and on port 3333.

In this case both the flows can start without any error and requests can be received on both ports. Flow names httpListener1 can call other flow using HTTP request without any issues.

Refer to the exhibits.


A. [[5, 10, 15, 20], 1]


B. [[5, 10, 15, 20], 5]


C. [[Req5, Req10, Req15, Req20], 5]


D. [Req5Req10,Req15Req20, 5]





B.
  [[5, 10, 15, 20], 5]

Correct answer is [[5, 10, 15, 20], 5]
Key thing to note here is that any changes made to payload in for each loop are not available outside for each scope where as variable value updated in for each loop is visible out side for each loop too.

Refer to the exhibit.

How many private flows does APIKIT generate from the RAML specification?


A. 1


B. 2


C. 3


D. 4





D.
  4


Page 1 out of 29 Pages