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

How to import Core (dw::Core) module into your DataWeave scripts?


A. #include dw::core


B. Not needed


C. import core


D. import dw::core





B.
  Not needed

Correct answer is Not needed as dw::core module is included by default. We don't need to include it explicitly

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



Which of the below functionality is provided by zip operator in DataWeave?


A. Merges elements of two lists (arrays) into a single list


B. Used for sending attachments


C. Minimize the size of long text using encoding.


D. All of the above





A.
  Merges elements of two lists (arrays) into a single list

Explanation: Correct answer is Merges elements of two lists (arrays) into a single list MuleSoft Doc.
Reference: https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functionszip

What is the trait name you would use for specifying client credentials in RAML?


A. headers


B. client-id


C. client-id-required


D. cannot be specified in RAML





C.
  client-id-required

Explanation:
client-id-required enforces clients to add client_id and client_secret.
Please refer to below steps.
Add a section called traits: at the root level to define query parameters:
•traits:
- client-id-required:
queryParameters:
client_id:
type: string
client_secret:
type: string
2) Reference the trait in each of the methods to specify that each of the methods require these query parameters. After each method in the RAML file, add is:
[client-id-required]. For example:
/users:
get:
is: [client-id-required]
description: Gets a list of JSONPlaceholder users.

Refer to the exhibit 

What is the output payload in the On Complete phase


A.

summary statistics with NO record data


B.

The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]


C.

The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2,
StepTwoStepOne3]


D.

The original payload: [1,2,31





D.
  

The original payload: [1,2,31



How are multiple conditions used in a Choice router to route events?


A. To route the same event to the matched route of EVERY true condition


B. To find the FIRST true condition, then distribute the event to the ONE matched route.


C. None of these


D. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes





B.
  To find the FIRST true condition, then distribute the event to the ONE matched route.

Explanation:
Choice router finds the FIRST true condition, then distribute the event to the ONE matched route.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/choice-router-concept
The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route’s execution and the others are not checked. If none of the expressions are true, then the default route executes.

Refer to the exhibit. 

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the
flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?


A.

0


B.

10


C.

20


D.

30





C.
  

20




Page 1 out of 29 Pages