Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 15-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 exhibit.
 
What is the response to a web client request tohttp://localhost:8081?


A.

After


B.

before


C.

Validation Error


D.

null





C.
  

Validation Error



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

An organization's Center for enablement (C4E)has built foundational assets (API specifications and implementation templates, common frameworks, and best practices guides) and published them to Anypoint Exchange.
What is a metric related to these foundational assets that helps the organization measure the success of it's C4E efforts?


A. Utilization counts of foundational assets in production applications


B. Correlation of each foundational asset with the counts of developers that download such asset


C. Correlation of key performance indicators (KPI) of production applications with foundational assets


D. Count how many Lines Of Business (LoBs) onsumed each foundational asset





C.
  Correlation of key performance indicators (KPI) of production applications with foundational assets

Explanation:
Below are the Key performance indicators (KPIs), to measure and track the and success of the C4E and its activities, as well as the growth and health of the application network. Most of the metrics can be extracted automatically, through REST APIs, from Anypoint Platform.
• # of assets published to Anypoint Exchange
• # of interactions with Anypoint Exchange assets
• # of APIs managed by Anypoint Platform
• # of System APIs managed by Anypoint Platform
• # of API clients registered for access to APIs
• # of API implementations deployed to Anypoint Platform
• # of API invocations
• # or fraction of lines of code covered by automated tests in CI/CD pipeline
• Ratio of info/warning/critical alerts to number of API invocations

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

A web client submits a request to http://localhost:8081?accountType=personal. The query
parameter is captured using a Set Variable transformer to a variable named accountType.
What is the correct DataWeave expression to log accountType?


A.

Account Type: #[flowVars.accountType]


B.

Account Type: #[message.inboundProperties.accountType]


C.

Account Type: # [attributes.accountType]


D.

Account Type: #[vars.accountType]





D.
  

Account Type: #[vars.accountType]



A web client submits a request tohttp://localhost:8081/books/0471767840. The value
"0471767840" is captured by a Set Variable transformer to a variable named booklSBN.
What is the DataWeave expression to access booklSBN later in the flow?


A.

booklSBN


B.

attributes.booklSBN


C.

flowVars.booklSBN


D.

vars. booklSBN





D.
  

vars. booklSBN



Refer to the exhibits.

Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work successfully?


A. Change the method attribute value to "*’’


B. Change the path attribute value to "/api/ship"


C. Change the allowed method attributes value to "POST"


D. Change the protocol attribute value to "HTTPS"





C.
  Change the allowed method attributes value to "POST"

Explanation:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)

A flow needs to combine and return data from two different data sources. It contains a
Database SELECT operation followed by an HTTP Request operation.
What is the method to capture both payloads so the payload from the second request does
not overwrite that fromthe first?


A.

Put the Database SELECT operation inside a Cache scope


B.

Put the Database SELECT operation inside a Message Enricher scope


C.

Nothing, previous payloads are combined into the next payload


D.

Save the payload from the Database SELECT operation to a variable





D.
  

Save the payload from the Database SELECT operation to a variable




Page 1 out of 29 Pages