What path setting is required for an HTTP Listener endpoint to route all requests to an
APIkit router?
A.
/(*)
B.
/
C.
/()
D.
/*
/*
A shopping API contains a method to look up store details by department.
To get information for a particular store, web clients will submit requests with a query
parameter named department and a URI parameter named storeld.
What is a valid RAML snippet that supports requests from web clients to get data for a
specific storeld and department name?
A. Option A
B. Option B
C. Option C
D. Option D
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}
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 exhibits. In the color flow , both the variable named color and payload are set
to "red".
An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP request completes?

A. white
B. red
C. blue
D. Error message
Explanation:
Correct answer is white.
Key thing to note here is that variables are not available to the called flow when it is invoked using HTTP request.
So the flow goes like below:
1) Color variable is set to red
2) Payload is set to red
3) Child flow is called using HTTP request which means variables are not available in
called flow (They would have been if flow reference activity would have been used)
4) Hence set payload activity will set payload to white as color variable is null.
5) Payload returned in main flow is white.
6) So finally output of logger is white.
Refer to the exhibits.
The<when> expression for the Choice router needs to be written.
What is a valid <when> expression to route Mule events to the non-default flow?
A.
#['MuleSoft' == paytoad.company]
B.
#[ company = "MuleSoft" ]
C.
#[ if( company = "MuleSoft") ]
D.
#[ if('MuleSoff == payload.company) ]
#['MuleSoft' == paytoad.company]
Refer to the exhibits The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Multi application with this input payload The File
Write operation throws a FILECONNECTIVITY error. What response message is returned to the web client?
A. "ORDER NOT_CREATED"
B. "OTHER ERROR"
C. "File written"
D. "FILECONNECTIVITY"
Refer to the exhibits.
The mule application is debugged in Anypoint Studio and stops at the breakpoint as shown
in below exhibit.
What is the value of the payload displayed in the debugger at this breakpoint?
A. Start
B. Process
C. Finished
D. Payload is always empty at the breakpoint
Correct answer is Start as that is the payload set before.
| Page 1 out of 29 Pages |