Refer to the exhibits.
The main flow contains a Flow Reference to the child flow.
A web client sends a GET request to the main flow's HTTP Listener that includes a make
query parameter.
What values are accessible in the child flow?
A.
payload
B.
payload
make query param
C.
payload
model var
D.
payload
make query param model var
payload
make query param model var
Refer to the exhibits.
A web client submits a request to the HTTP Listener andthe HTTP Request throws an
error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP
Request throws an error.
What payload and status code are returned to theweb client?
A.
Response body: "Error" Default response status code: 200
B.
Response body: "Success - Begin* Default response status code: 200
C.
Error response body: error, description Default error response status code: 500
D.
Response body: "Success - End" Default response status code: 200
Response body: "Error" Default response status code: 200
Refer to theexhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use
default configurations.
What values are accessible in the child flow after a web client submits a request to
http://localhost:8081/order? col or = red?
A.
payload
B.
payload
quantity var
C.
payload
color query param
D.
payload
quantity var color query param
payload
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?
A. Route1
B. Route2
C. Route1,Route2
D. Route1,Route2,Default
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route1 execution and the others are not checked. If none of
the expressions are true, then the default route executes. Hence only Route1 will be
executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept
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.
Refer to the exhibit. 
What is a valid expression for the Choice router’s when expression to route events to the
documenticShipping flow?
A.
0#[ payload = 'US' ]
B.
#[ payload == 'US' J
C.
#[ if(payload = 'US') J
D.
#[ if(payload == "US") ]
#[ payload == 'US' J
Refer to the exhibits.
Client sends the request to ClientRequestFlow which calls
ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown
whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work
successfully?
A. Change the method attribute value to "*’’
B. Change the path attribute value to "/api/ship"
C. Change the allowed method attributes value to "POST"
D. Change the protocol attribute value to "HTTPS"
Explanation:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions
about changing ClientRequestFlow)
Pick the component with which DataWeave is tightly integrated.
A. All APIs
B. Mule runtime
C. Exchange
D. Flow Designer
Explanation:
Correct answer is Mule runtime
DataWeave is the MuleSoft expression language for accessing and transforming data that
travels through a Mule app. DataWeave is tightly integrated with the Mule runtime engine,
which runs the scripts and expressions in your Mule app.
How can you call a subflow from Dataweave?
A. Not possible in Mule 4
B. Import function
C. Lookup function
D. Include function
This is a trick question.
You can call only flows from DataWeave using lookup function. Note that lookup function
does not support calling subflows.
A subflow needs a parent context to inherit behaviors from such as exception handling,
which a flow does not need.
Hence correct answer is Not possible in Mule 4
| Page 1 out of 29 Pages |