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}
Refer to the exhibit.
In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1
second to complete, and the "sleep 5 sees" Row Reference takes about 5 secondsto
complete.
About how many seconds does it take from the time the Scatter-Gather is called until the
Set Payload transformer is called?
A.
0
B.
1
C.
5
D.
6
5
Which of the below activity doesn't support parallel execution?
A. Scatter-Gather Router
B. First Successful Router
C. Parallel For Each
D. Batch job
Refer to the exhibits.
In the requestFlow an HTTP Request operation is configured to send an HTTP request with
an XML payload. The request is sent to the HTTP Listener in the transform Flow.
That flow transforms the incoming payload into JSON format and returns the response to
the HTTP request. The response of the request is storedin a target variable named the
Result.
What is the payload at the Logger component after the HTTP Request?
A.
A non-empty Java object
B.
The original XML payload
C.
null
D.
The returned JSON response
The original XML payload
A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?
A. An Array of the three Mule event Objects
B. An Object containing all three Mule event Objects
C. An Array of the three JSON payload Objects
D. An Object containing all three JSON payload Objects
Correct answer is An Object containing all three Mule event Objects
The Scatter-Gather component is a routing event processor that processes a Mule event
through different parallel processing routes that contain different event processors. Each
route receives a reference to the Mule event and executes a sequence of one or more
event processors. Each of these routes uses a separate thread to execute the event
processors, and the resulting Mule event can be either the same Mule event without
modifications or a new Mule event with its own payload, attributes, and variables. The
Scatter-Gather component then combines the Mule events returned by each processing
route into a new Mule event that is passed to the next event processor only after every
route completes successfully.
The Scatter-Gather component executes each route in parallel, not sequentially. Parallel
execution of routes can greatly increase the efficiency of your Mule application and may
provide more information than sequential processing.
Sample output is as below
Refer to the exhibit.
The main flow contains a Flow Reference for the child flow.
What values are accessible in the child flow after a webclient submits a request to
http://localhost:8Q81/order? color=red?
A.
payload
B.
payload
quantity var
C.
payload
color query param
D.
payload
quantity var color query param
payload
quantity var color query param
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
A. As query parameters in the HTTP Request operation
B. As URI parameters in the HTTP Request operation
C. In the Mule event's payload
D. As flow variables
Explanation:
In General > Request > Query Parameters, click the plus icon (+) to add a parameter to a
request. Type a name and value for the parameter or use a DataWeave expression to
define the name and value.
Refer to the exhibits.
A web client sends a POST request to the HTTP Listener with the payload "Hello-". What
response is returned to the web client?
What response is returned to the web client?
A.
Hello- HTTP-] MS2-Three
B.
HTTP-JMS2-Three
C.
Helb-JMS1-HTTP-JMS2 -Three
D.
Hello-HTTP-Three
Hello- HTTP-] MS2-Three
| Page 8 out of 29 Pages |
| Mulesoft MCD-Level-1 Exam Questions Home | Previous |