Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

Salesforce-MuleSoft-Developer-I Practice Test


Page 13 out of 47 Pages

Refer to the exhibits. The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Mule application with this input payload. The File Write operation throws a FILE: CONNECTIVITY error.
What response message is returned to the web client?


A. "FILE: CONNECTMTV


B. "OTHER ERROR"


C. "File written"


D. "ORDER: NOT CREATED"





D.
  "ORDER: NOT CREATED"

In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.
About how many sec does it take from the Scatter-Gather is called until the "Set Payload" transformer is called?


A. 8


B. 0


C. 2


D. 10





A.
  8

Explanation: Correct answer is 8 as events are processed in parallel in case of scatter gather router

How are multiple conditions used in a Choice router to route events?


A. To route the same event to the matched route of EVERY true condition


B. To find the FIRST true condition, then distribute the event to the ONE matched route.


C. None of these


D. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes





B.
  To find the FIRST true condition, then distribute the event to the ONE matched route.

Explanation:
Choice router finds the FIRST true condition, then distribute the event to the ONE matched route. The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route’s execution and the others are not checked. If none of the expressions are true, then the default route executes.

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 from the 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

Explanation: Correct answer is Save the payload from the Database SELECT operation to a variable Response from HTTP request will override the payload and hence response of database SELECT can be lost. Best way to preserve is to assign payload of first operation to variable using TransformMessage.

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}


Page 13 out of 47 Pages
Previous