Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 1-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 Mule application does NOT define any global error handlers. The Validation component in the private flow throws an error. What response message is returned to a web client request to the main flow's HTTP Listener?


A. Child error


B. Parent error


C. Validation Error


D. Parent completed





C.
  Validation Error

Refer to the exhibit.

All three of the condition for the Choice router are true. What log messages are written?


A. Route 1


B. Route2


C. Route1, Route2


D. Route1, Route2, Default





A.
  Route 1

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 ]

Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?


A. Select only Attach Project Sources only


B. Select both Attach Project Sources and Include project modules and dependencies option


C. Select the Include project modules and dependencies option only


D. De-select both Attach Project Sources and Include project modules and dependencies option





A.
  Select only Attach Project Sources only

Explanation:
Correct answer is Select only Attach Project Sources only.
You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back into a Studio workspace.
Deselect the Include project modules and dependencies option.
This option skips bundling the actual modules and external dependencies required to run the Mule application in a Mule runtime engine, creating a lightweight JAR file package that does not include any dependencies specified in the Mule application’s pom.xml file.
The generated JAR file is not a functional deployable archive and cannot be deployed to a Mule runtime engine, but instead offers a way to archive only the source files that make up the Mule application. This is the same as using the -lightWeightPackage flag when packaging using the Mule Maven Plugin and is useful if you want to distribute your project to other Studio installations because it only keeps a reference to all its dependencies.
When you import a lightweight package into Studio, all your dependencies are automatically downloaded.

Which one of them is NOT a flow in Mule?


A. sync flow


B. subflow


C. async sub flow


D. async flow





C.
  async sub flow

Explanation:
Correct answer is async sub flow. Rest are valid flows in Mule.
Sub flow is always synchronous.

Refer to the exhibit.



A.

Option A


B.

Option B


C.

Option C


D.

Option D





D.
  

Option D



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]



Refer to the exhibit.

What payload is returned from a request to http//localhost.8081/
Refer to the exhibits, what payload is returned from a request tohttp://localhost;8081/?


A.

1


B.

2


C.

3


D.

4





C.
  

3




Page 1 out of 29 Pages