MuleSoft mcd-level-1 practice test

MuleSoft Certified Developer - Level 1 (Mule 4) Exam


Question 1

Refer to the exhibits.
206/207
Questions & Answers PDF
P-

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
Answer:

B

Explanation:
207/207

Discussions

Question 2

Refer to the exhibit.
205/207
Questions & Answers PDF
P-

The Mule application's connectors are configured with property placeholders whose values are set in
the config.yaml file
What must be added to the Mule application to link the config.yaml file's values with the property
placeholders?

  • A. A configuration-properties element in the acme-app xml file
  • B. A dependency element in the pom xml file
  • C. A file-config element in the acrne-app xml file
  • D. A propertiesFile key/value pair in the mule-artifact json file
Answer:

A

Discussions

Question 3

A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call
the updateTemp flow After the test flow returns a response, the web client then sends a different
GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time.
What response is returned from the request to the getTemp flow's HTTP Listener?


204/207
Questions & Answers PDF
P-

A)

B)

C)

D)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

C

Discussions

Question 4

Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path
203/207
Questions & Answers PDF
P-
attribute?

  • A. (customerlD)
  • B. {customerlD}
  • C. #[customerlD]
  • D. ${ customerID}
Answer:

B

Discussions

Question 5

Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].
What is a valid DataWeave expression to set as the message attribute of the Logger to access the
value "Max" from the Mule event?

  • A. vars "customer first"
  • B. "customer first"
  • C. customer first
  • D. vars "customer" "first"
Answer:

D

Discussions

Question 6

Refer to the exhibits.
201/207
Questions & Answers PDF
P-


In the Choice router, the When expression for the domesticShipping route is set to "#[payload =
'FR']". What is logged after the Choice router completes?

  • A. A string with value "FR"
  • B. A DataVVeave syntax error
  • C. The result of the intemationalShipping flow
  • D. The result of the domesticShipoing flow
Answer:

B

Explanation:
202/207
Questions & Answers PDF
P-

Discussions

Question 7

Refer to the exhibits.


200/207
Questions & Answers PDF
P-

The Batch Job scope contains two Batch Step scopes with different accept expressions.
The input payload is passed to the Batch Job scope.
After the entire payload is processed by the Batch Job scope, what messages have been logged by
the Logger components?
A)

B)

C)

D)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

C

Discussions

Question 8

A Mule project contains a DataWeave module file WebStore dvA that defines a function named
loginUser The module file is located in the projects src/main/resources/libs/dw folder
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the
loginUser function for the login "[email protected]"?
A)

B)
199/207
Questions & Answers PDF
P-

C)

D)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

D

Discussions

Question 9

Refer to the exhibits.


198/207
Questions & Answers PDF
P-
The Batch Job scope processes the array of strings
After the Batch Job scope completes processing the input payload what information is logged by the
Logger component?
A)

B)

C)

D)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

C

Discussions

Question 10

Refer to the exhibit.
How should the WHERE clause be changed to set the city and state values from the configured input
parameters?

A)

197/207
Questions & Answers PDF
P-
B)

C)

D)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Answer:

A

Discussions
To page 2