Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 7-Jul-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 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



Refer to the exhibits.

In the requestFlow an HTTP Request operation is configured to send an HTTP request with
an XML payload. The request is sent to the HTTP Listener in the transform Flow.
That flow transforms the incoming payload into JSON format and returns the response to
the HTTP request. The response of the request is storedin a target variable named the
Result.
What is the payload at the Logger component after the HTTP Request?


A.

A non-empty Java object


B.

The original XML payload


C.

null


D.

The returned JSON response





B.
  

The original XML payload



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


A. Option A


B. Option B


C. Option C


D. Option D





C.
  Option C

Where would you create SLA Tiers for an API?


A. Exchange


B. API Manager


C. Anypoint Studio


D. In RAML specifications





B.
  API Manager

Explanation:
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/policy-mule3-tutorialmanage- an-api#to-add-the-tier
Steps to create SLA Tier are as follows:
1) In API Manager, in API Administration, click a version.
2) Check that the API supports resource-level policies: On the API version details page, in Status, click Configure Endpoint, and check that Type is RAML.
3) Choose the SLA Tiers, and click Add SLA Tier. Set up limit on SLA tier.

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 is the main purpose of flow designer in Design Center?


A. To design and develop fully functional Mule applications in a hosted development environment


B. To design API RAML files in a graphical way


C. To design and mock Mule application templates that must be implemented using Anypoint Studio


D. To define API lifecycle management in a graphical way





A.
  To design and develop fully functional Mule applications in a hosted development environment

Its primary function is to design and develop fully functional Mule applications in a hosted development environment.

A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?


A. An Array of the three Mule event Objects


B. An Object containing all three Mule event Objects


C. An Array of the three JSON payload Objects


D. An Object containing all three JSON payload Objects





B.
  An Object containing all three Mule event Objects

Correct answer is An Object containing all three Mule event Objects
The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather component then combines the Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully.
The Scatter-Gather component executes each route in parallel, not sequentially. Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing.
Sample output is as below

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?


A. { port : p('db.port')}


B. { port : {db:port}}


C. { port : p['db.port']}


D. Application property cannot be accessed in Dataweave





A.
  { port : p('db.port')}

Option 1 is the correct syntax


Page 1 out of 29 Pages