Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 24-Feb-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!

What of the below is not a feature of API Notebooks?


A. API documentation


B. Creates a client for an API


C. Creates a mock service for an API


D. Perform authenticated live calls on a real server





C.
  Creates a mock service for an API

Explanation:
Correct answer is Creates a mock service for an API
API Notebook is an open source, shareable web application for API documentation, interactive API tutorial and example generatation, and a client for your API endpoints. Using API Notebook, you can make requests and quickly transform the responses into readable format. However it cannot be used to mock service for an API.

A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?


A. examples: !include StudentExample.raml


B. examples: #import StudentExample.raml


C. examples: !include examples/StudentExample.raml


D. examples: #import examples/StudentExample.raml





C.
  examples: !include examples/StudentExample.raml

To include property. To keep the API definition concise, you can include external content, such as documentation, schemas, and frequently used patterns outside the definition itself. The parser interprets !include as if the content of the externally-hosted file or a URL were declared in-line.
To use the fragments in RAML you have to include the exact path(copy the path) of that fragment you want to use as shown below Option 3 is the correct as correct syntax is examples: !include examples/StudentExample.raml

Refer to the exhibits.

A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?


A.

"String"


B.

"Object"


C.

"Array"


D.

"JSON"





C.
  

"Array"



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

What is the correct syntax for a Logger component to output a message with the contents
of a 3SON Object payload?


A.

The payload is: $(payload)


B.

#["The payload is: " ++ payload]


C.

The payload is: #[payload]


D.

#["The payload is: " + payload]





B.
  

#["The payload is: " ++ payload]



How does APIkit determine the number of flows to generate from a RAML specification?


A. Creates a separate flow for each resource


B. Creates a separate flow for each HTTP method


C. Creates a separate flow for each response status code


D. Creates a separate flow for each resource that contains child res





B.
  Creates a separate flow for each HTTP method

APIKIt Creates a separate flow for each HTTP method.

Refer to the exhibits. In the color flow , both the variable named color and payload are set to "red".
An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP request completes?


A. white


B. red


C. blue


D. Error message





C.
  blue

Explanation:
Correct answer is white.
Key thing to note here is that variables are not available to the called flow when it is invoked using HTTP request.
So the flow goes like below:
1) Color variable is set to red
2) Payload is set to red
3) Child flow is called using HTTP request which means variables are not available in called flow (They would have been if flow reference activity would have been used)
4) Hence set payload activity will set payload to white as color variable is null.
5) Payload returned in main flow is white.
6) So finally output of logger is white.

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