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!

A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder.
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "Todd.Pal@mulesoft.com"?


A. 1. 1. import libs.etl
2. 2. ---
3. 3. WebStore.loginUser("Todd.Pal@mulesoft.com")


B. 1. 1. import * from libs::etl
2. 2. ---
3. 3. WebStore::loginUser("Todd.Pal@mulesoft.com")


C. 1. 1. import libs.etl.WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")


D. 1. 1. import * from libs::etl::WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")





D.
  1. 1. import * from libs::etl::WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")

Explanation:
* To use custom modules, you need to import the module or functions you want to use by adding the import directive to the head of your DataWeave script, for example:
1) Does not identify any functions to import from the String module: import dw::core::Strings
2) To identify a specific function to import from the String module: import camelize, capitalize from dw::core::Strings
3) To import all functions from the String module: import * from dw::core::Strings
The way you import a module impacts the way you need to call its functions from a DataWeave script. If the directive does not list specific functions to import or use * from to import all functions from a function module, you need to specify the module when you call the function from your script.
* In given scenario, it's mentioned to import all of the WebStore.dwl So correct answer is:
Reference: https://docs.mulesoft.com/mule-runtime/4.3/dw-functions

An organization is beginning to follow Mulesoft's recommended API led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.
What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivity approach as compared to other common enterprise integration solutions?


A. The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution


B. The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes


C. The API implementation are built with standards using common lifecycle and centralized configuration management tools


D. The APIO implementations are monitored with common tools, centralized monitoring and security systems





B.
  The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes

Explanation:
Correct answer is The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes.

A shopping API contains a method to look up store details by department.
To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId.
What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?


A. 1./department:
2. get:
3. uriParameter:
4. storeId:


B. 1.get:
2.uriParameter:
3.{storeId}:
4.queryParameter:
5.department:


C. 1.get:
2. queryParameter:
3. department:
4. uriParameter:
5. {storeId}:


D. 1./{storeId}:
2. get:
3. queryParameter:
4. department:





D.
  1./{storeId}:
2. get:
3. queryParameter:
4. department:

Refer to the exhibits.


The Mule application implements a REST API that accepts GET requests from web clients on the URLs: http://acme com/order/status and http:Vacme.com/customer/status. What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?


A. *[order,customer]/status


B. */status


C. ?[order,customer]/status


D. *status





B.
  */status

A RAML specification is defined to manage customers with a unique identifier for each
customer record. What URI does MuleSoft recommend to uniquely access the customer
identified with the unique ID 1234?


A.

/customers?custid=true&custid=1234


B.

/customers/1234


C.

/customers/custid=1234


D.

/customers?operation=get&custid=1234





B.
  

/customers/1234



In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?


A. To avoid duplicate processing of records in a database.


B. To delete the most recent records retrieved from a database to enable database caching


C. To enable duplicate processing of records in a database


D. To save the most recent records retrieved from a database to enable database caching





A.
  To avoid duplicate processing of records in a database.

Explanation:
The correct answer is To avoid duplicate processing of records in a database.
If a watermark column is provided, the values taken from that column are used to filter the contents of the next poll, so that only rows with a greater watermark value are returned. If an ID column is provided, this component automatically verifies that the same row is not picked twice by concurrent polls.

Refer to theexhibits.

The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use
default configurations.
What values are accessible in the child flow after a web client submits a request to
http://localhost:8081/order? col or = red?


A.

payload


B.

payload
quantity var


C.

payload
color query param


D.

payload
quantity var color query param





A.
  

payload



Refer to the payload.

The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]" What is the output of logger when this flow executes?


A. Result INFOpayload


B. Result INFO{"student":{"name":"Anay","age":6}}


C. 1. 1. "You called the function '++' with these arguments:
2. 2. 1: String ("INFO")
3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)


D. Error : You evaluated inline expression # without ++





C.
  1. 1. "You called the function '++' with these arguments:
2. 2. 1: String ("INFO")
3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)

Explanation:
Correct answer is as below as concatenation operation works only with string and not with the objects. In this case payload is object.
"You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age


Page 1 out of 29 Pages