Refer to the exhibits.
A web client submits a request to http://localhQst:8081 /flights. What is the result at the end
of the flow?
A.
"string"
B.
"Java"
C.
"object"
D.
"XML"
"object"
A RAML specification is defined to manage customers with a unique identifier for each
customer record. What URI does MuleSoft recommend to uniquely access the customer
identified with the unique ID 1234?
A.
/customers?custid=true&custid=1234
B.
/customers/1234
C.
/customers/custid=1234
D.
/customers?operation=get&custid=1234
/customers/1234
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 fromthe 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
Save the payload from the Database SELECT operation to a variable
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
A. Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
B. Incoming array objects would be split into three and each part would be sent to one route each in parallel
C. Entire event would be sent to each route sequentially
D. Entire event would be sent to each route in parallel
Explanation:
Entire event would be sent to each route in parallel.
Scatter-Gather works as follows :
- The Scatter-Gather component receives a Mule event and sends a reference of this Mule
event to each processing route.
- Each of the processing routes starts executing in parallel. After all processors inside a
route finish processing, the route returns a Mule event, which can be either the same Mule
event without modifications or a new Mule event created by the processors in the route as
a result of the modifications applied.
- After all processing routes have finished execution, the Scatter-Gather component
creates a new Mule event that combines all resulting Mule events from each route, and
then passes the new Mule event to the next component in the flow.
What should this endpoint return?
http://dev.acme.com/api/patients?name=John&surname=Bell
A. Patient with name as John
B. Patient with surname as bell
C. Patients with either name as John or surname as Bell
D. Patients with name as John and surname as Bell
Explanation:
Query parameters are a defined set of parameters attached to the end of a url. They are
extensions of the URL that are used to help define specific content or actions based on the
data being passed. To append query params to the end of a URL, a ‘?’ Is added followed
immediately by a query parameter.
To add multiple parameters, an ‘&’ is added in between each.
Hence coming back to question, endpoint would return Patients with name as John and
(and is very important here) surname as Bell.
Refer to the exhibit.
What payload is returned from a request to http//localhost.8081/
Refer to the exhibits, what payload is returned from a request tohttp://localhost;8081/?
A.
1
B.
2
C.
3
D.
4
3
What is the output type of the DataWeave map operator?
A.
String
B.
Array
C.
Map
D.
Object
Array
A Mule application contains a global error handler configured tocatch any errors.
Where must the global error handler be specified so that the global error handler catches
all errors from flows without their own error handlers?
A.
A configuration properties file
B.
Nowhere, the global error handler is automatically used
C.
A global element
D.
The pom.xml file
A global element
| Page 1 out of 29 Pages |