Mulesoft MCD-Level-1 Exam Questions

229 Questions


Updation Date : 2-Jun-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!

Explanation: Correct answer is {customerID}.


A. var toUpper(userName) -> upper(userName)


B. fun toUpper(userName) = upper(userName)


C. fun toUpper(userName) -> upper(userName)


D. var toUpper(userName) = upper(userName)





B.
  fun toUpper(userName) = upper(userName)

A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.
What is the correct DW code to define the toUpper function?

What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021


A. Patient with id 2021


B. Patients from year 2021


C. No patients


D. All patients





B.
  Patients from year 2021

Explanation:
Correct answer is Patients from year 2021.
The thing to note here is that year is not a query parameter and not the uri parameter. Hence it will filter all the patients and return the ones for whom year is 2021.

A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?


A. A scope


B. A flow


C. An operation


D. An event source





B.
  A flow

Explanation:
Correct answer is an operation. For each method of the RAML specification , REST connect module provide an operation.
Please refer to the below screenshot.

Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?


A. (customerlD)


B. {customerlD}


C. #[customerlD]


D. ${ customerID}





B.
  {customerlD}

What should this endpoint return?
http://dev.acme.com/api/patients?name=John&surname=Bell


A. Patient with name as John


B. Patient with surname as bell


C. Patients with either name as John or surname as Bell


D. Patients with name as John and surname as Bell





D.
  Patients with name as John and surname as Bell

Explanation:
Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a ‘?’ Is added followed immediately by a query parameter.
To add multiple parameters, an ‘&’ is added in between each.
Hence coming back to question, endpoint would return Patients with name as John and (and is very important here) surname as Bell.

Refer to the exhibits.


Mule application has an HTTP request configuration where host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?


A. #[training.host]


B. ${http.host}


C. #{training.host}


D. ${training.host}





D.
  ${training.host}

An SLA based policy has been enabled in API Manager. What is the next step to configure
the API proxy to enforce the newSLA policy?


A.

Add new property placeholders and redeploy the API proxy


B.

Add new environment variables and restart the API proxy


C.

Restart the API proxy to clear the API policy cache


D.

Add required headers to the RAML specification and redeploy the newAPI proxy





D.
  

Add required headers to the RAML specification and redeploy the newAPI proxy



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.


Page 5 out of 29 Pages
Mulesoft MCD-Level-1 Exam Questions Home Previous