Module 6 - Quiz

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

A Mule application has two flows named parentFlow and childFlow. The childFlow begins with an HTTP Listener. A variable is defined in parentFlow, then an HTTP Request is made to childFlow's HTTP Listener with some headers set. What is the scope of the variable and attributes in the parentFlow after childFlow returns a response? A. The variable is accessible. All the attributes passed to childFlow are removed or replaced. B. The variable is NOT accessible. All the attributes passed to childFlow are removed or replaced. C. The variable is NOT accessible. All the attributes passed to childFlow are preserved. D. The variable is accessible. All the attributes passed to childFlow are preserved.

A

A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component? A. #["Content-Type: " ++ attributes.headers.'content-type'] B. #["Content-Type: " + headers.'content-type'] C. #["Content-Type: " + attributes.headers.'content-type'] D. #["Content-Type: " ++ headers.'content-type']

A

A web service implements an API to handle requests to http://acme.com/customers/{state}. A web client makes a request to this API implementation at http://acme.com/customers/CA. What is the correct DataWeave expression to retrieve the value CA? A. #[message.payload.inboundProperties.'http.uri.params'.state] B. #[attributes.uriParams.state] C. #[attributes.'http.uri.params'.state] D. #[message.inboundProperties.'http.uri.params'.state] E. #[state]

B

Refer to the exhibit. What is the correct DataWeave expression for accessing the city Cleveland from the JSON payload? A. #[payload[2].city] B. #[payload[1].city] C. #[payload.city[1]] D. #[payload.city[2]]

B

A Mule application has a flow named parentFlow. The parentFlow contains an HTTP Request operation at the end of the flow. The parentFlow also contains a Set Variable operation right before the HTTP Request operation. What is the scope of the variable to the server receiving the HTTP Request from parentFlow? A. The variable is accessible in the server but is immutable B. The variable is accessible in the server, can be changed, and changes are seen back in parentFlow C. The variable is NOT accessible in the server D. The variable is accessible in the server, can be changed, but changes are NOT seen back in parentFlow

C

What is NOT part of a Mule 4 event? A. message B. payload C. outboundProperties D. variables E. attributes

C

2. A Set Variable component saves the current payload to a variable with the name images. What is the DataWeave expression to access the images variable? A.#[payload.images] B. #[images] C.#[flowVars.images] D.#[vars.images]

D

What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made? A. New attributes may be added from the HTTP response headers, but no headers are ever removed B. New attributes may be added from the HTTP response, but previous attributes are passed through unchanged C.Attributes do not change D.Attributes are replaced with new attributes from the HTTP Request response (which might be null)

D


Kaugnay na mga set ng pag-aaral

MENTAL HEALTH PRACTICE QUESTIONS

View Set

Powerpoint Questions for Chapter 27 & 28

View Set

Week 6: Final Knowledge Check Comfort

View Set

Module 0 Homework: Intro to Mastering Chemistry,

View Set

Business Law ch 18 19 20 Cheeseman

View Set

Which of the following best explains the difference between commodity money and fiat​ money?

View Set