MCD-Assoc Practice Test Questions

60 Questions


What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?


A. /*


B. /


C. /{*}


D. ALL





B.
  /

Refer to the exhibit. What payload is logged at the end of the mainFlow?


A. [order1, order2, order3, order4]


B. [1,2,3,4]


C. [order4]


D. order4





A.
  [order1, order2, order3, order4]

Refer to the exhibits. What is the expected data that the POST /accounts endpoint expects?


A. Option A


B. Option B


C. Option C


D. Option D





A.
  Option A

Refer to the exhibit. What should be changed to fix the 400 Bad Request error?


A. Set therequestContent-Type header to application/json


B. SettheresponseContent-Type header to application/json


C. Set theresponseContent-Type in the RAML specification to text/plain


D. Set therequestContent-Type header to text/plain





A.
  Set therequestContent-Type header to application/json

Refer to the exhibits. The parentFlow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.
What values areaccessible to the parent Logger at the end of parentFlow after a web client submits a request tohttp://localhost:8081/order?color=red?


A. payload


B. payload
quantity var


C. payload
color query param


D. payload
quantity var
color query param





B.
  payload
quantity var

Refer to the exhibit. What action will resolve the exception?


A. Create the accounts table in the database


B. Ensure the database is accessible


C. Implementorg.apache.derby.jdbc.ClientDriver


D. Add a JDBC driver to the project’s build path





C.
  Implementorg.apache.derby.jdbc.ClientDriver

A Mule application is created with an HTTP inbound endpoint defined to receive custName and accountType as query parameters. The accountType is captured using a Set Variable transformer with the same name. What is the correct MEL expression for logging accountType?


A. #[message.inboundProperties.accountType]


B. #[message.”http.query.params’.accountType]


C. #[flowVars.accountType]


D. #[message.outboundProperties.accountType]





C.
  #[flowVars.accountType]

Refer to the exhibit. What is the correct way to create a user?


A. Option A


B. Option B


C. Option C


D. Option D





A.
  Option A

Refer to the exhibits. The parentFlow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What valuesare accessible in childFlow after a web client submits a request tohttp://localhost:8081/order?color=red?


A. payload


B. payload
quantity var


C. payload
color query param


D. payload
quantity var
color query param





B.
  payload
quantity var

Refer to the exhibits. What DataWeave transformation calls the flow with the following input payload?


A. Option A


B. Option B


C. Option C


D. Option D





B.
  Option B

What HTTP method should be used toadd a new member to a collection in a RESTful service?


A. DELETE


B. PUT


C. POST


D. GET





C.
  POST

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/1234


B. /customers?operation=get&custid=1234


C. /customers/custid=1234


D. /customers?custid=1234





A.
  /customers/1234


Page 1 out of 5 Pages