Mule Dev 1 Flashcards
What expression correctly specifies input parameters to pass the city and state values to the SQL
query?
A .
{
City: “San Fran”,
State: “CA”
}
B .
{
“San Fran”,
“CA”
}
C .
{
inputParams: {City: “San Fran”,
State: “CA”}
}
D .
{
inputParams: [City: “San Fran”,
State: “CA”]
}
A
A Mule flow has three Set Variable transformers. What global data structure can be used to access
the variables?
A. Mule event attributes
B. Mule event message
C. Mule application properties
D. Mule event
D
In an application network. If the implementation but not the interface of a product API changes, what needsto be done to the other APIsthat consume the product API?
A. The applications associated with the other APIs must be restarted
B. The applications associated with the other APIs must be recoded
C. The other APIs must be updated to consume the updated product API
D. Nothing needs to be changed in the other APIs or their associated applications
Answer: D
What is the response to a web client request to http://localhost:8081?
A. After
B. before
C. Validation Error
D. null
C
The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured
with the same host string and the port number, path, and operation values are shown in the display
names.
What is the minimum number of global elements that must be defined to support all these HTTP
Listeners?
A. 1
B. 2
C. 3
D. 4
Answer: C
Refer to the exhibits. What payload is logged at the end of the main flow?
A. [order1, order2, order3, order4]
B. [1, 2, 3, 4]
C. order4
D. order1order2order3order4
B
What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?
A. lookupC createCustomerObJect( “Alice”, “Green- ) )
B. createCustomerObject( { first: “Alice”, last: “Green” > )
C. lookupf “createCustomerObject”, { first: “Alice”, last: “Green” > )
D. createCustomerObject( “Alice”, “Green”)
Answer: C
What is the output type of the DataWeave map operator?
A. String
B. Array
C. Map
D. Object
B
What is written to the records.csv file when the flow executes?
A. The JSON payload
B. An error message
C. Nothing
D. The payload convert to CVS
Answer: A
How many private flows does APIKIT generate from the RAML specification?
A. 1
B. 2
C. 3
D. 4
Answer: D
The Validation component in the private flow throws an error. What response message is returned to a client request to the main flow’s HTTP Listener?
A. Error - private flow
B. Error - main flow
C. Success - main flow
D. Validation Error
Answer: B
What should be changed to fix the 415 error?
A. set the response Content-Type header to text/plain
B. set the response Content-Type header to application/json
C. Set the request Content-Type header to application/] son
D. set the request Content-Type header to text/plain
Answer: C
What is the output payload in the On Complete phase
A. summary statistics with NO record data
B. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]
C. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2,
StepTwoStepOne3]
D. The original payload: [1,2,31
Answer: A
The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?’’
A. APP: API RESOURCE NOT FOUND
B. HTTP: NOT FOUND
C. other error
D. success - main flow
Answer: A
What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?
A. The payload is: $(payload)
B. #[“The payload is: “ ++ payload]
C. The payload is: #[payload]
D. #[“The payload is: “ + payload]
Answer: B
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
A. Download the API specification and build the interface using APIkit
B. Publish the API specification to Any point Exchange
C. Implement the API specification using flow designer in Design Center
D. Add the specification to a Mule project’s src/main/resources/api folder
B
What execution model is used by For Each and Batch Job scopes?
A. For Each is single-threaded and Batch Job is multi-threaded
B. Both are single-threaded
C. Both are multi-threaded
D. Batch Job is single-threaded and For Each Is multi-threaded
Answer: A
The main flow contains a Flow Reference for the child flow.
What values are accessible in the child flow after a web client 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
Answer: D