MuleSoft Certified Developer Level 1 Exam V2 (Latest 2024/ 2025 Update) Questions and Verified Answers |100% Correct| Grade A

MuleSoft Certified Developer Level 1 Exam V2 (Latest 2024/ 2025 Update) Questions and Verified Answers |100% Correct| Grade A

MuleSoft Certified Developer Level 1 Exam
V2 (Latest 2024/ 2025 Update) Questions and
Verified Answers |100% Correct| Grade A
Q: An API has been created in Design Center. What is the next step to make the API
discoverable?
Answer:
Publish the API to Anypoint Exchange.
Q: Refer to the exhibit. What is the correct URL to submit a GET request to/patients?
/patients:
get:
queryParameters:
year:
type: integer
example: 2017
Answer:
http://dev.acme.com/api/patients?year=2016
Q: A RAML example fragment named BankAccountsExample.raml is placed in the examples
folder in an API specification project. What is the correct syntax to reference the fragment?
Answer:
examples: !include examples/BankAccountsExample.raml
Q: Refer to the exhibit. There is an error in the flight_id resource’s GET method. What needs to
be done to fix the problem?
/flights:
get:

/{flights_id}:
get:
Answer:
Indent the get method under the {flight_id} resource.
Q: Refer to the exhibit. This RAML specification includes an XML example that matches the
Records data type defined in another RAML file named recordsDataType.raml. Using the
Records type, how can this XML example be represented in RAML?
Deep Collection Deep Purple Rainbox
Answer:
body:
application/xml:
type: Records
example:
music:
collection: “Deep Collection”
artists:
artist1: “Deep Purple”
artist2: “Rainbow”
Q: What is the purpose of the api:router element in APIkit?
Answer:
Validates requests against RAML api specifications and routes them to API implementations
Q: What is the minimum required configuration in a flow for a Mule application to compile?
Powered by https://learnexams.com/search/study?query=

What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

  • experience
  • data
  • system
  • process
  • security
    system

What HTTP method in a RESTful web service is typically used to replace a resource completely?

  • PATCH
  • PUT
  • POST
  • GET
    PUT

What statement is part of MuleSoft’s description network?

  • Create reusable APIs and assets designed to be consumed by other business units
  • Create and manage high availability and fault tolerent services and infrastructure
  • Central IT delivers complete point-to-point solutions with master data management
  • Create and manage a collection of JMS messaging services and infrastructure
    Create reusable APIs and assets designed to be consumed by other business units.

According to MuleSoft, what is the Center for Enablement’s role in the new IT operating model?

  • Creates and manages discoverable assets to be consumed by line of business developers
  • Centrally manages partners and consultants to implement line of business projects
  • Implements line of business projects to enforce common security requirements
  • Produces & manages API policies for line of business deployments
    Creates and manages discoverable assets to be consumed by line of business developers.

What is the format of documents exchanged in a SOAP request/response interaction?

  • RAML
  • JSON
  • WSDL
  • YAML
    WSDL

What is the main purpose of flow designer in Design Center?

  • Design API RAML files in a graphical way
  • Develop fully functional Mule applications in a hosted development environment
  • Define API lifecycle management in a graphical way
  • Design and mock Mule application templates that must be implemented using Anypoint Studio
    Develop fully functional Mule applications in a hosted development environment

We have an expert-written solution to this problem!
What is the maximum number of Mule applications that can run in a Cloud Hub Worker?

  • 1
  • 2
  • 4
  • 8
    1

What MuleSoft product enables publishing, sharing, and searching of APIs?

  • API Designer
  • API MUnit
  • API Exchange
  • API Notebook
    API Exchange

What asset can NOT be created using Anypoint Platform Design Center?

  • API Specifications
  • Mule Applications
  • API Fragments
  • API Portals
    API Portals
  1. In Anypoint Platform, click API Manager, and in API Administration, click an API version of an API.
  2. On the API version details page, under API Portal, select Create new Portal from the dropdown menu.
https://docs.mulesoft.com/api-manager/1.x/tutorial-create-an-api-portal

A client submits a GET request to a Mule 4.0 application to the endpoint /customers?id=48493. Where can the id be accessed in the Mule 4.0 application?

  • inbound properties
  • variables
  • attributes
  • payload
    attributes

In a RAML specification, what attribute defines a query parameter to be optional for a resource?

  • required: false
  • optional: true
  • provided: false
  • mandatory: false
    required: false

Refer to the exhibit.
What is the correct URL to perform a GET request to /patients?

%RAML 1.0

title: ACME Medical API
baseUri: http://dev.acme.com/api

/patients:
get:
queryParameters:
year:
type: integer

A. http://dev.acme.com/patients?year=2016
B. http://dev.acme.com/api/patients
C. http://dev.acme.com/patients
D. http://dev.acme.com/api/patients?year=2016
D. http://dev.acme.com/api/patients?year=2016

A RAML example fragment named BankAccountsExample.raml is placed in the examples folder in an API specification project.

What is the correct syntax for to reference the fragment?

  • example: !include BankAccountsExample.raml
  • example: #import BankAccountsExample.raml
  • example: !include examples/BankAccountsExample.raml
  • example: #import examples/BankAccountsExample.raml
    !include examples/BankAccountsExample.raml

Refer to the exhibit.
There is an error underneath the flight_id resources in the GET method. What needs to be done to fix the problem?

1 #%RAML 1.0
2 title: American Flights API
3 version: 1.0
4
5 /flights:
6 get:
7
8 /{flight_id}:
9
10 get:
11

  • remove blank line on row 9
  • enclose flight_id with parenthesis () instead of curly braces {}
  • indent “get” method under {flight_id} resource one level down (to the right)
  • outdent /flight_id
    Indent “get” method under {flight_id} resource one level down (to the right)

Refer to the exhibits.
What is the syntax to define this datatype in RAML?


Classic Rock Deep Purple Rainbow

A.
music:
collection: Classic Rock
artists:

  • Deep Purple
  • Rainbow

B.
music:
collection: Classic Rock
artists:
Deep Purple
Rainbow

C.
music:
collection: Classic Rock
artists: Deep Purple, Rainbow

D.
music:
collection: Classic Rock
artists:
artist: Deep Purple
artist: Rainbow
D

What is the purpose of the router element in APIkit?

  • Routes requests to API implementations, but does not validate them against RAML API specifications
  • Routes responses to the caller, but does not validate them against RAML API specifications
  • Validates requests against RAML API specifications and routes them to API implementations
  • Validates responses returned from API requests and routes them to the caller
    Validates requests against RAML API specifications and routes them to API implementations

What is NOT part of a Mule 3 message?

  • payload
  • inbound properties
  • outbound properties
  • variables
  • attachments
    variables

What is the minimum required configuration in a flow for a Mule application to compile?

  • A message processor in the Process section of a flow
  • A message processor in the Source section of a flow
  • An empty flow
  • A message processor in both the Source and Process sections of a flow
    A message processor in the Process section of a flow

An inbound Database connector is configured to select rows from a MySQL database.
What is the format of results returned from the database query?

  • Java
  • JSON
  • XML
  • CSV
    Java

What out-of-the-box policy can safeguard against Denial of Service type attacks?

  • Rate limiting
  • Throttling
  • Cross-origin resource sharing
  • LDAP security manager
    Rate limiting

A Mule application properties file named training-DEV.properties has been defined. How is the properties file referenced in the Mule application?

  • In an attribute in the main mule element
  • In a Property Placeholder element
  • As a -M-D placeholder when starting the Mule runtime
  • In an attribute in the HTTP Listener element
    In a Property Placeholder element

What reserved property can be used in a Mule application to allow an HTTPS Listener to be accessed by external web clients after the Mule application is deployed to CloudHub?

  • ${ssl.port}
  • ${ssl.listener.port}
  • ${https.listener.port}
  • ${https.port}
    ${https.port}

What port number is used to expose the domain URL of a Mule application deployed to CloudHub?

  • 8081
  • 81
  • 80
  • 8080
    80

What is NOT a role of an API proxy application running in a Mule runtime?

  • Determine which request message is allowed to pass through to the API backend service
  • Apply runtime policies to enforce governance
  • Measure the traffic flowing through to the API backend service
  • Determine which response message is allowed to pass back from the API backend service
    Determine which response message is allowed to pass back from the API backend service

We have an expert-written solution to this problem!
What happens to the outbound properties of a Mule message after completing an outbound HTTP Request?

  • new outbound properties are added from the HTTP response headers
  • previous outbound properties are passed through unchanged
  • outbound properties are replaced with all the previous inbound properties
  • all previous outbound properties are removed
    All previous outbound properties are removed

What message processor can set the HTTP response status code to 200?

  • Variable
  • Set Payload
  • Property
  • Record Variable
  • Attachment
    Property

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 MEL expression to retrieve the value CA?

  • #[message.payload.inboundProperties.’http.query.params’.state]
  • #[message.inboundProperties.’http.uri.params’.state]
  • #[message.payload.inboundProperties.state]
  • #[message.inboundProperties.state]

[message.inboundProperties.’http.uri.params’.state]

What property of a Mule message is immutable?

  • Attachments
  • Outbound properties
  • Session variables
  • Payload
  • Inbound properties
  • Flow variables
    Inbound properties

A Mule application has two flows named parentFlow and childFow. A flow variable is defined in parentFlow. What is the scope of the flow variable when the parentFlow calls childFlow using a flow reference?

  • The flow variable is accessible in childFlow but is immutable
  • The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow
  • The flow variable is NOT accessible in childFlow
  • The flow variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow
    The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow.

What is true for a Mule subflow?

  • It can have its own exception strategy
  • It is executed synchronously
  • An external client can send messages directly to it
  • It must be in the same configuration file as the parent flow
    It is executed synchronously

What is the default processing strategy of a one-way flow?

  • Queued-asynchronous
  • Synchronous
  • Non-blocking
  • Thread-per-processor
  • Queued-thread-per-processor
    Queued-asynchronous

What is required for two Mule applications to share data using a VM connector component?

  • Put the Mule applications in the same Anypoint Platform environment
  • Put the Mule applications in the same Anypoint Platform business group
  • Put the Mule applications in the same non-default Mule domain
  • Put the Mule applications in the same default Mule domain
    Put the Mule applications in the same non-default Mule domain

How are outbound properties automatically passed to an outbound REST request using an HTTP Request component?

  • As headers
  • As query parameters
  • As URI parameters
  • In the message payload
  • As attachments
  • As flow variables
    As headers

A WSDL defines a conversionRate operation with an input message that requires two parts: fromCurrency and toCurrency.

How are fromCurrency and toCurrency set in the flow in order to call the conversionRate operation using a Web Service Consumer component?

  • In two flow variables
  • As outbound properties
  • As inbound properties
  • In the message payload
  • As attachments
    In the message payload

What file type is required to configure a Web Service Consumer to consume a SOAP web service?

  • RAML
  • WSDL
  • JSON
  • OAS
    WSDL

What is NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component?

  • Set URI parameters in the HTTP Request component
  • Set inbound properties before the HTTP Request component
  • Set query parameters in the HTTP Request component
  • Set outbound properties before the HTTP Request component
    Set inbound properties before the HTTP Request component

An exception is caught by a choice exception strategy. How is the exception routed?

  • To all exceptions whose conditions evaluate to true
  • To the first exception strategy whose condition evaluates to true
  • To the first exception strategy whose condition evaluates to true and to the default exception strategy
  • To the first exception strategy whose condition evaluates to true and to the global exception strategy
    To the first exception strategy whose condition evaluates to true

How is a default exception strategy set in a Mule application?

  • In a configuration global element in any Mule configuration XML file
  • In the mule-app.properties file
  • As an attribute of one or more flow configuration elements in one or more Mule configuration XML files
  • As an attribute of a global exception strategy
  • As a JVM system environment variable
    In a configuration global element in any Mule configuration XML file

We have an expert-written solution to this problem!
How are conditions used in a Choice flow control?

  • To find the first true condition, then routes the message to that and all subsequent target message processors.
  • To select a set of target message processors to which to route the same message
  • To find the first true condition, then routes the message to the matched Choice target message processor
  • To select from the responses after routing the message to every Choice target message processor
    To find the first true condition, then routes the message to the matched Choice target message processor

We have an expert-written solution to this problem!
A Scatter-Gather flow control sends the inbound message to three separate HTTP requests. Each request returns a JSON object. What is the final output of the Scatter-Gather flow control?

  • An array of JSON objects
  • An array of array objects
  • An object that contains JSON objects
  • The last JSON object
    An array of JSON objects

How is a data collection routed in a Scatter-Gather flow control?

  • The entire message is sent to each route and processed sequentially
  • The message is split and different pieces are routed and processed in parallel
  • The message is split and different pieces are routed and processed sequentially
  • The entire message is sent to each route and processed in parallel
    The entire message is sent to each route and processed in parallel

We have an expert-written solution to this problem!
A Payload filter is configured to test for type java.lang.String. What happens when the filter is passed a message with the payload null?

  • The Mule application stops
  • The message is replayed from the start of the flow
  • The message is passed to subsequent message processors
  • All subsequent message processors are skipped
    All subsequent message processors are skipped

What message processor will throw an exception if a message payload is not a number?

  • Is Number validator
  • Is Not Number validator
  • Is Number filter
  • Is Not Number filter
    Is Number validator

A Mule flow has a JMS queue listener as the message source. Where can the next message processor access a JMS message’s header?

  • Outbound property
  • Inbound property
  • Payload
  • Attachment
  • Flow variable
    Inbound property

What part of a Mule flow can contain a Poll scope?

  • Async scope
  • Message source
  • For Each scope
  • Message Enricher scope
    Message source

How is a Poll scope’s watermark accessed from a message processor in a flow?

  • In a session variable
  • In an outbound property
  • In an inbound property
  • In a flow variable
  • In a header
    In a flow variable

A File connector is configured to read files from a /mule/input directory. All other File connector settings are the default settings. What happens to a file after it is processed by the File connector?

  • The file is moved to /mule/output
  • The file is deleted from the input directory, but is not moved anywhere
  • The file is moved to /tmp
  • The file stays in the input directory
    The file is deleted from the input directory, but is not moved anywhere

What phase of a batch job using a Batch scope must contain at least one message processor?

  • Input
  • Load and Dispatch
  • Process Records
  • On Complete
    Process Records

A message payload is modified using a Message Enricher scope with an empty target. What is true about the message payload that leaves the Message Enricher scope?

  • The payload is changed to the modified payload
  • The modified payload is stored in a flow variable
  • The modified payload is stored as an inbound property
  • The payload returns to the original payload
  • The modified payload is stored as an outbound property
    The payload returns to the original payload

A Batch scope has three batch steps. A message processor in the second batch step throws an exception because the input data is incomplete. What is the default behavior after the exception is thrown?

  • Continues to the third batch step
  • Stops processing the entire batch job
  • Retries the second batch step
  • Retries the first batch step
    Stops processing the entire batch job

What is the scope of a record variable in a Batch scope?

  • In a single batch step, but not in the other batch steps
  • In all batch steps, but not in the On Complete phase
  • In the message source, each batch step, and the On Complete phase
  • In all batch steps, and the On Complete phase
    In all batch steps, but not in the On Complete phase

An API has been created in Design Center. What is the next step to make the API discoverable?

Deploy the API to a Maven repository

Enable autodiscovery in API Manager

Publish the API from inside flow designer

Publish the API to Anypoint Exchange
Publish the API to Anypoint Exchange

What is the minimum required configuration in a flow for a Mule application to compile?

An event processor

An event source

A Logger component

A project RAML file
An event processor

What is NOT part of a Mule 4 event?

message

payload

inboundProperties

attributes
inboundProperties

How does APIkit determine the number of flows to generate from a RAML specification?

Creates a separate flow for each resource

Creates a separate flow for each resource that contains child resources

Creates a separate flow for each HTTP method

Creates one flow for the entire API spec

Creates a separate flow for each response status code
Creates a separate flow for each HTTP method

What is the purpose of API autodiscovery?

Enables API Manager to discover the published API on Anypoint Exchange

Allows the Mule application to be automatically discovered on Anypoint Exchange

Enables an API to be directly managed in API Manager

Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy
Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy

How many Mule applications can run on a CloudHub worker? (Choose one)

At most one

At least one

Depends on the vCores of the worker

Depends on the number of CloudHub workers configured
At most one

What does an API proxy application NOT do?

Determine which request Mule event is allowed to pass through to the API backend service

Apply runtime policies to enforce governance

Determine which response Mule event is allowed to pass through to the API backend service

Meters the traffic flowing through the proxy
Determine which response Mule event is allowed to pass through to the API backend service

What does the Mule runtime use to enforce policies and limit access to APIs?

Anypoint Access Control

The proxy created by API Manager

API Manager

The Mule runtime’s embedded API Gateway
The Mule runtime’s embedded API Gateway

API Manager has been configured to enforce an SLA policy and the RAML spec has been updated with the required client_id and client_secret header requirements.

The new RAML spec has been published to Anypoint Exchange.

What is the next step to gain access to the API?

POST a JSON object to the /api/register endpoint of the API proxy

Request access to the API in Anypoint Exchange

Email the organization administrators to request access to the API

Add a client application to the Anypoint Platform organization
Request access to the API in Anypoint Exchange

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

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

Previous attributes are passed unchanged

Attributes do not change

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

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]

[vars.images]

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]

[attributes.uriParams.state]

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’]

  1. #[“Content-Type: ” ++ attributes.headers.’content-type’]

1What is NOT part of a Mule 4 event?

message

payload

outboundProperties

variables

attributes
outboundProperties

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.
The variable is accessible. All the attributes passed to childFlow are removed or replaced.

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
The variable is NOT accessible in the server

A Mule application has two flows named parentFlow and childFlow. A variable is defined in parentFlow.

What is the scope of the variable when the parentFlow calls childFlow using a Flow Reference?

The variable is accessible in childFlow but is immutable

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

The variable is NOT accessible in childFlow

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

Refer to the exhibit. In the deployable archive’s /classes folder, there are two properties files named dev.properties and prod.properties. The Mule application fails to deploy to CloudHub through Runtime Manager with the following error message.

What could be causing this error?

error: ${env}.properties cannot be opened because it does not exist

The property files were NOT saved at the root level of the deployable archive

The env property is NOT set in the Runtime Manager in the Mule application’s Properties tab

A file named ${env}.properties is NOT included in the deployable archive file

The dev.properties and prod.properties files were NOT uploaded to Runtime Manager
The env property is NOT set in the Runtime Manager in the Mule application’s Properties tab

What reserved property can be defined and used in a Mule application to allow an HTTPS Listener to be accessed by external web clients after the Mule application is deployed to CloudHub?

${ssl.port}

${ssl.listener.port}

${https.listener.port}

${https.port}
${https.port}

Why must a Mule application’s deployable archive package all its dependencies in order to be deployed to CloudHub?

The online logging service requires access to ALL project dependencies to log the appropriate Java classes used in the Mule application

CloudHub workers CANNOT download ALL possible project dependencies a project may contain

CloudHub workers needs to compare the current dependencies with the LATEST project dependencies from the MuleSoft repository

MuleSoft support requires access to ALL project dependencies for future online troubleshooting
CloudHub workers CANNOT download ALL possible project dependencies a project may contain

In what file does the Mule project keep track of all of its dependencies?

mule-artifact.json

pom.xml

mule-app.properties

global.xml
pom.xml

What can ONLY be done with VM connectors, and NOT with Flow References, in a single Mule application?

Preserve variables as the Mule event gets passed to another flow

Allow a flow to pass events to another flow synchronously

Preserve the original payload when the VM connector returns a response from a flow

Allow a flow to pass events to another flow asynchronously
Allow a flow to pass events to another flow asynchronously

How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?

As query parameters in the HTTP Request operation

As URI parameters in the HTTP Request operation

In the Mule event’s payload

As flow variables

As attributes in a Transform Message component before the HTTP Request operation

As attributes in the HTTP Listener operation
As query parameters in the HTTP Request o

Refer to the exhibit. The flow calls a SOAP endpoint using the Consume operation of the Web Service Consumer. The SOAP service has a required input parameter.

What event processor can be used to build the SOAP envelope with the required argument to pass to the SOAP service?

Set Property

Build SOAP

Transform Message

JSON to XML

Set Attachment
Transform Message

An HTTP Request operation returns a JSON array of objects. In the Transform Message component, what is the process to convert the array of objects to an array of custom Java Account objects?

Add the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data

Change the output type to the Java Account object type

Add the Account object metadata to the input and the Transform Message component will automatically convert the JSON objects to Account objects

Change the input type to the Java Account object type
Add the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data

What is the process to create a connector using REST Connect?

Develop the API in flow designer and publish the API to Exchange

Design the API in Anypoint Studio and upload the API to Runtime Manager

Design the API in Design Center and publish the API to Exchange

Develop the API in Anypoint Studio and export the connector as a jar file
Design the API in Design Center and publish the API to Exchange

How are multiple conditions used in a Choice router to route events?

To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes

To route the same event to the matched route of EVERY true condition

To find the FIRST true condition, then distribute the event to the ONE matched route

To filter and aggregate the responses after copying the event to EVERY route
To find the FIRST true condition, then distribute the event to the ONE matched route

A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload.

What is the final output of the Scatter-Gather?

An Object containing all three Mule event Objects

An Array of the three JSON payload Objects

An Array of the three Mule event Objects

An Object containing all three JSON payload Objects

The last JSON payload Object

The last Mule event object
An Object containing all three Mule event Objects

An event contains a payload that is an Array of Objects. How is the event routed in a Scatter-Gather?

The ENTIRE event is sent to each route and processed SEQUENTIALLY

The event is SPLIT and different SMALLER events are routed and processed in PARALLEL

The event is SPLIT and different SMALLER events are routed and processed SEQUENTIALLY

The ENTIRE event is sent to each route and processed in PARALLEL
The ENTIRE event is sent to each route and processed in PARALLEL

What module and operation will throw an error if a Mule event’s payload is not a number?

Validation module’s Is number operation

Validation module’s Is not number operation

Filter module’s Is number operation

Filter module’s Is not number operation
Validation module’s Is number operation

Refer to the exhibits. What happens to this flow when the Validation module’s Is not null operator throws an error?

The flow silently stops processing its Mule event

The flow stops processing its Mule event and returns an error message to the HTTP Listener operation

The flow logs the error message in the console and continues processing its Mule event

The flow continues processing its Mule event and appends the error message to the end of the payload

On error continue
the last message of the payload will continue to be used through the error catch

on error propagate
the last payload message is not used, the current message after error is used

On error propagate inside of a private flow uses what error message
the global one

How can an error scope be configured to catch all errors in the HTTP namespace?

Answers

A.

Type: HTTP
When:

B.

Type: HTTP*
When:

C.

Type:
When: #[ error.errorType.namespace == “HTTP” ]

D.

Type:
When: #[ contains “HTTP” ]

A

B

C

D
C

Refer to the exhibit. An event payload contains an unordered array of flight objects, where every object has a price key and a toAirport key.

What is valid DataWeave code to return flights with price under 500, grouped by toAirport in ascending order, with the lowest price first?

payload groupBy $.toAirport filter $.price < 500 orderBy $.price

payload groupBy $.toAirport filter $.price > 500 orderBy $.price

payload filter $.price < 500 orderBy $.price groupBy $.toAirport

payload filter $.price > 500 orderBy $.price groupBy $.toAirport
payload filter $.price < 500 orderBy $.price groupBy $.toAirport

Mule application has a main flow and a combineNames flow. In the main flow, a variable named fullName is set to the object {firstName: “Max”, lastName: “Mule”}.

What is valid DataWeave code to call the combineNames flow with the input object stored in the fullName variable?

[ dw::Flow::lookup( “combineNames”, vars.fullName ) ]

[ dw::Runtime::lookup( “combineNames”, vars.fullName ) ]

[ lookup( “combineNames”, vars.fullName ) ]

[ combineNames( vars.fullName ) ]

[ lookup( combineNames( vars.fullName ) ) ]

[ lookup( “combineNames”, vars.fullName ) ]

What is the correct way to format the decimal 20.3844 as a string to two decimal places?

20.3844 as String {format: “.0#”}

20.3844 as :string {format: “.0#”}

20.3844 as String as format: “.0#”

20.3844 as :string as format: “.0#”

20.3844 as String (format = “.0#”)

20.3844 as :string (format = “.0#”)
20.3844 as String {format: “.0#”}

A Flow Reference component sends a non-empty JSON object payload to another flow named childFlow, which then returns an XML body.

A Flow Reference component saves the payload returned from childFlow to its target attribute named payload. Refer to the exhibit.

What is true about the Mule event’s payload at the next event processor after the Flow Reference component?

The payload is the XML response body

The payload is a non-empty Java object

The payload is the original JSON object

The payload is null
The payload is the original JSON object

Refer to the exhibit. What is the object type returned by the File List operation?

Array of Mule event objects

Object of Mule event objects

Array of String file names

Object of String file names
Array of Mule event objects

In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

To save the most recent records retrieved from a database to enable database caching

To avoid duplicate processing of records in a database

To enable multithreaded event processing for each record retrieved from a database

To save the payload into the ObjectStore for future reference
To avoid duplicate processing of records in a database

Assume that a database table contains a recordID column that always increases as new records get added to the table.

In a Mule application, what is the key process to enable manual watermarking for requests to a database using the Scheduler endpoint and the Database SELECT operation?

Save the max recordID from the set of recordIDs in an ObjectStore and reference this recordID in subsequent database requests

Enable automatic watermarking in the Database Select operation

Set the Watermark column in the Scheduler endpoint to the recordID

Save the max recordID from the set of recordIDs in a variable and reference this variable in subsequent database requests
Save the max recordID from the set of recordIDs in an ObjectStore and reference this recordID in subsequent database requests

A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations.

Which operation is asynchronous (does not wait for a response before continuing to the next event processor) and which operation is synchronous (blocks and waits for a response or timeout before continuing to the next event processor)?

Publish consume: Asynchronous. Publish: Synchronous

Publish consume: Asynchronous. Publish: Asynchronous

Publish consume: Synchronous. Publish: Asynchronous

Publish consume: Synchronous. Publish: Synchronous
Publish consume: Synchronous. Publish: Asynchronous

Scroll to Top