Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 21-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 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].



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"



A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?


A. #["Content-Type: " ++ attributes.headers.'content-type']


B. #["Content-Type: " + headers.'content-type']


C. #["Content-Type: " + attributes.headers.'content-type']


D. #["Content-Type: " ++ headers.'content-type']





A.
  #["Content-Type: " ++ attributes.headers.'content-type']

Explanation: Option 1 is the only correct choice due to two reasons. 1) Concatenation is always with ++ sign and not with + sign which makes option 2 and 3 wrong 2) hearders can be accessed with attributes. headers and not with only headers which makes option 4 incorrect.

Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
What values are accessible to the Logger at the end of the flow after a web client submit request to http://local:801/order?color=red?


A. payload


B. payload quantity var


C. payload color query param


D. payload quantity var color query param





B.
  payload quantity var

Correct answer is as below. Query parameters are replaced when external HTTP call is invoked.
payload
producer var

In an application network. If the implementation but not the interface of a product API
changes, what needs to be done to the other APIs that consume the product API?


A.

The applicationsassociated with the other APIs must be restarted


B.

The applications associated with the other APIs must be recoded


C.

The other APIs must be updated to consume the updated product API


D.

Nothing needs to be changed in the other APIs or their associated applications





D.
  

Nothing needs to be changed in the other APIs or their associated applications



By default, what happens to a file after it is read using an FTP connector Read operation? 


A.

The file is deleted from the folder


B.

The file is moved to a different folder


C.

The file stays in the same folder unchanged


D.

The file is renamed in the same folder





C.
  

The file stays in the same folder unchanged



Refer to the exhibits.

What DataWeave expression transforms the conductorIds array to the XML output?


A. 1. 1. trains:
2. 2. conductorIds map ((engId, index) ->
3. 3. train: {
4. 4. engineerId: engId
5. 5. }
6. 6. )


B. 1. 1. { trains:
2. 2.
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. }


C. 1. 1. trains:
2. 2. {(
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. )}


D. 1. 1. {( trains:
2. 2.
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. )}





C.
  1. 1. trains:
2. 2. {(
3. 3. conductorIds map ((engId, index) ->
4. 4. train: {
5. 5. engineerId: engId
6. 6. }
7. 7. )
8. 8. )}

Explanation:
Points to remember:
* XML must have a root element.
* XML only allows one root element
* To avoid multiple root issues, you must create a root element for the XML output, whenever we transform output
* When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)}
-{ } are defining the object
( ) are transforming each element in the array as a key/value pair
* The transformation to XML would fail if the above mentioned considerations were not taken into account.
* Thus the transformation script declares a root element as trains and wraps the data in “{( )}“.
Whenever you see such type of question, always look out for root element followed by {( )} wrapping map.
I call this a "Wrap The Map" scenario. Hope it would help you remember !

What is not the function of API Gateway ?


A. Determine which traffic is authorized to pass through the API to backend services


B. Meter the traffic flowing through


C. Logs all transactions , collecting and tracking analytics data


D. Specify throttling , security and other policies





D.
  Specify throttling , security and other policies

Explanation:
Correct answer is Specify throttling , security and other policies
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/api-gateway-capabilitiesmule4
API Gateway is responsible for below functions.
1) Determine which traffic is authorized
2) Meter the traffic
3) Logs transaction
4) Apply throttling and other policies (Not specifying. These are specified in API Manager)


Page 1 out of 29 Pages