Search Header Logo

M6 - Mulesoft Mule Events

Authored by freddy forero

Professional Development, Computers

Professional Development

Used 5+ times

M6 - Mulesoft Mule Events
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development