M6 - Mulesoft Mule Events

M6 - Mulesoft Mule Events

Professional Development

8 Qs

quiz-placeholder

Similar activities

Wave 63 - PSTD3

Wave 63 - PSTD3

Professional Development

10 Qs

[1MTR15] Laboratorio 10 - Node Red - IIoT

[1MTR15] Laboratorio 10 - Node Red - IIoT

Professional Development

7 Qs

FinTech 02-1 Python

FinTech 02-1 Python

Professional Development

11 Qs

flow charts

flow charts

Professional Development

12 Qs

M4 - Mulesoft Building APIs

M4 - Mulesoft Building APIs

Professional Development

5 Qs

ITF - Quiz 9.3 - Internet Protocol

ITF - Quiz 9.3 - Internet Protocol

Professional Development

13 Qs

Node.js - Modules, Packages and Authentication

Node.js - Modules, Packages and Authentication

University - Professional Development

4 Qs

Application Layer

Application Layer

Professional Development

12 Qs

M6 - Mulesoft Mule Events

M6 - Mulesoft Mule Events

Assessment

Quiz

Professional Development, Computers

Professional Development

Medium

Created by

freddy forero

Used 5+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What happens to the attributes of a Mule event in a flow after and outbound HTTP request is made?

New attributes may be added from the HTTp response headers, but no headers are ever removed

New attributes may be added from the HTTP response, but previous attributes are passed through unchanged

Attributes do not change

Attributes are replaced with new attributes from the HTTP request response (which might be null)

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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?

#[payload.images]

#[images]

#[flowVars.images]

#[vars.images]

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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?

#[message.payload.inboundProperties.'http.uri.params'.state]

#[attributes.uriParams.state]

#[attributes.'http.uri.params'.state]

#[message.inboundProperties.'http.uri.params'.state]

#[state]

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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?

#["Content-Type: " ++ attributes.headers.'content-type']

#["Content-Type: " + headers.'content-type']

#["Content-Type: " + attributes.headers.'content-type']

#["Content-Type: " ++ headers.'content-type']

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Refer to the exhibit. What is the correct DataWeave expression for accessing the city Clevelant from the JSON payload?

#[payload[2].city]

#[payload[1].city]

#[payload.city[1]]

#[payload.city[2]]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is NOT part of a mule 4 event?

message

payload

outboundProperties

variables

attributes

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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?

The variable is accessible. All the attributes passed to childFlow are removed or replaced.

The variable is NOT accessible. All the attributes passed to childFlow are removed or replaced.

The variable is NOT accessible. All the attributes passed to childFlow are preserved.

The variable is accessible. All the attributes passed to childFlow are preserved.

8.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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?

The variable is accessible in the server but is immutable

The variable is accessible in the server, can be changed, and changes are seen back in parentFlow

The variable is NOT accessible in the server

The variable is accessible in the server, can be changed, but changes are NOT seen back in parentFlow