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!

To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file. Where does the configuration file'slocation need to be specified in the Mule application?


A.

The pom.xml file


B.

A global element


C.

The mule-art if act .json file


D.

a flow attribute





B.
  

A global element



A function named newProdCode needs to be defined thataccepts two input parameters, an
integer value for itemID and a string value for productCategory, and returns a new product
code. What is the correct DataWeave code to define the newProdCode function?


A.

fun newProdCode{itemID: Number, productCategory: String) —> "PC-" ++
productCategory ++ (itemID as String)


B.

fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++
productCategory ++ (itemID as String)


C.

function newProdCode(itemID: Number, productCategory: String) =
"PC-" ++ productCategory++ (itemID as String)


D.

var newProdCode(itemID: Number, productCategory: String) ->
"PC-" ++ productCategory ++ (itemID as String)





B.
  

fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++
productCategory ++ (itemID as String)



What statement is a part of MuleSoft's description of an application network?


A. Creates and manages high availability and fault tolerant services and infrastructure


B. Creates reusable APIs and assets designed to be consumed by other business units


C. Creates and manages a collection of JMS messaging services and infrastructure


D. Leverages Central IT to deliver complete point-to-point solutions with master data management





B.
  Creates reusable APIs and assets designed to be consumed by other business units

Refer to the exhibits. What payload is logged at the end of the main flow?



A.

[order1, order2, order3, order4]


B.

[1, 2, 3,4]


C.

order4


D.

order1order2order3order4





B.
  

[1, 2, 3,4]



What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?


A. Attributes are replaced with new attributes from the HTTP Request response (which might be null)


B. New attributes may be added from the HTTP response headers, but no headers are ever removed


C. Attributes do not change


D. Previous attributes are passed unchanged





A.
  Attributes are replaced with new attributes from the HTTP Request response (which might be null)

Explanation:
Attributes are replaced with new attributes from the HTTP Request response.
Attributes include everything apart from Payload/body. For ex: Headers, query parameters, URI parameters.
So, when outbound HTTP request is made, new attributes need to pass the outbound HTTP request and old attributes are replaced.
I have created below diagram to make it easy for you to understand:

What is output of Dataweave flatten function?


A. Object


B. Map


C. Array


D. LInkedHashMap





C.
  Array

Explanation:
Correct answer is Array.
Flatten turns a set of subarrays (such as [ [1,2,3], [4,5,[6]], [], [null] ]) into a single, flattened array (such as [ 1, 2, 3, 4, 5, [6], null ]).
This example defines three arrays of numbers, creates another array containing those three arrays, and then uses the flatten function to convert the array of arrays into a single array with all values.
Source
%dw 2.0
output application/json
var array1 = [1,2,3]
var array2 = [4,5,6]
var array3 = [7,8,9]
var arrayOfArrays = [array1, array2, array3]
---
flatten(arrayOfArrays)
Output
[ 1,2,3,4,5,6,7,8,9 ]

Refer to the exhibits.

A web client submits a request to http://localhQst:8081 /flights. What is the result at the end
of the flow?


A.

"string"


B.

"Java"


C.

"object"


D.

"XML"





C.
  

"object"



Refer to the exhibits.

In the Choice router, the When expression for the domesticShipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?


A. A string with value "FR"


B. A DataVVeave syntax error


C. The result of the intemationalShipping flow


D. The result of the domesticShipoing flow





B.
  A DataVVeave syntax error



Page 1 out of 29 Pages