Mule Dev 1 Flashcards

1
Q

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the response to a web client request to http://localhost:8081?

A. After
B. before
C. Validation Error
D. null

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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”)

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the output type of the DataWeave map operator?
A. String
B. Array
C. Map
D. Object

A

B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many private flows does APIKIT generate from the RAML specification?
A. 1
B. 2
C. 3
D. 4

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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]

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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

17
Q

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

18
Q

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