Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.

About how many sec does it take from the Scatter-Gather is called until the "Set Payload" transformer is called?

A.

8

B.

0

C.

2

D.

10

Full Access
Question # 5

Where would you create SLA Tiers for an API?

A.

Exchange

B.

API Manager

C.

Anypoint Studio

D.

In RAML specifications

Full Access
Question # 6

A Mule application configured with Autodiscovery implements an API.

Where is governance enforced for policies defined for this Mule application?

A.

In Runtime Manager

B.

Runtime Manager

C.

In the Mule application

D.

In API manager

Full Access
Question # 7

How many Mule applications can run on a CloudHub worker?

A.

At most one

B.

At least one

C.

Depends

D.

None of these

Full Access
Question # 8

What should this endpoint return considering the API is build using standard practices?

http://dev.acme.com/api/patients?year=2021

A.

Patient with id 2021

B.

Patients from year 2021

C.

No patients

D.

All patients

Full Access
Question # 9

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

A.

To design and develop fully functional Mule applications in a hosted development environment

B.

To design API RAML files in a graphical way

C.

To design and mock Mule application templates that must be implemented using Anypoint Studio

D.

To define API lifecycle management in a graphical way

Full Access
Question # 10

Refer to the exhibits.

The main flow contains a Flow Reference to the child flow.

A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.

What values are accessible in the child flow?

A.

payload

B.

payload

make query param

C.

payload

model var

D.

payload

make query param model var

Full Access
Question # 11

Refer to the exhibits.

A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.

what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?

A.

${training.host}

B.

${training:host}

C.

#[training:host]

D.

#[training.host]

Full Access
Question # 12

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

Full Access
Question # 13

Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?

A.

(customerlD)

B.

{customerlD}

C.

#[customerlD]

D.

${ customerID}

Full Access
Question # 14

What statement is a part of MuleSoft's description of an application network?

A.

Creates and manages high availability and fault tolerant services and infrastructure

B.

Creates reusable APIs and assets designed to be consumed by other business units

C.

Creates and manages a collection of JMS messaging services and infrastructure

D.

Leverages Central IT to deliver complete point-to-point solutions with master data management

Full Access
Question # 15

As a part of project requirement , you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?

A.

RAML file to define SOAP services

B.

WSDL file

C.

JSON file

D.

plain text file documenting API's

Full Access
Question # 16

Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?

A.

Select only Attach Project Sources only

B.

Select both Attach Project Sources and Include project modules and dependencies option

C.

Select the Include project modules and dependencies option only

D.

De-select both Attach Project Sources and Include project modules and dependencies option

Full Access
Question # 17

Refer to the below exhibit.

A Mule application configures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector.

What is the valid properties placeholder file to set these values?

A.

1.http:

2. host = "localhost"

3. port = "8081"

B.

1.http:

2. basepath: "api"

3. host : "localhost"

4. port : "8081"

C.

1. http.host = localhost

2. http.port = 8081

D.

1. {

2. http:

3. basePath: "api",

4. port: "8081",

5. host: " localhost"

Full Access
Question # 18

Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.

What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?

A.

lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )

B.

addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )

C.

lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )

D.

addltem( { price: "100", item: "router", itemType: "cable" } )

Full Access
Question # 19

What is the default port used by Mule application debugger configuration in Anypoint Studio?

A.

8082

B.

8080

C.

7777

D.

6666

Full Access
Question # 20

Refer to the exhibits.

A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 21

Refer to the exhibits.

The my-app xml file contains an Error Handier scope named "global-error-handler"

The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application

Where and how should the value "global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?

A.

In the mule-artifact json file, as the value of a key-value pair

B.

In the Validation folder as the value of a global element in the error-handling yaml file

C.

In the pom.xml file, as the value of a global element

D.

In the my-app.xml file, as an attribute of a configuration element

Full Access
Question # 22

What are the latest specification of RAML available?

A.

1.2

B.

1

C.

0.8

D.

2

Full Access
Question # 23

According to Mulesoft, how are Modern APIs treated as?

A.

Products

B.

SOAP API's

C.

Rest API's

D.

Code

Full Access
Question # 24

Refer to the exhibits.

The input array of strings is processed by the batch job that processes, fitters, and aggregates the values.

What is the last message logged by the Logger component after the batch job completes processing?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 25

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

A.

Filter modules Is Number operation

B.

Validation modules Is Number operation

C.

Validation modules Is not Number operation

D.

None of these

Full Access
Question # 26

A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder

What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "cindy.park@example.com"?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 27

What is the correct syntax to define and call a function in Database?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 28

What valid RAML retrieves details on a specific by its orderld as a URL parameter?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 29

Refer to the exhibit.

How should the WHERE clause be changed to set the city and state values from the configured input parameters?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 30

Refer to the exhibit.

What payload is returned from a request to http//localhost.8081/

Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 31

What is the output of Dataweave Map operator?

A.

Map

B.

Object

C.

String

D.

Array

Full Access
Question # 32

Refer to the exhibits. In the color flow , both the variable named color and payload are set to "red".

An HTTP POST request is then sent to the decideColor flow's HTTP Listener.

What is the payload value at the Logger component after the HTTP request completes?

A.

white

B.

red

C.

blue

D.

Error message

Full Access
Question # 33

A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?

A.

A scope

B.

A flow

C.

An operation

D.

An event source

Full Access
Question # 34

Refer to the exhibits.

A Mule application is being developed to process web client POST requests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector's Shipping Address operation is configured with a target named shippingAddress.

The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation's response

What is a straightforward way to property configure the Set Payload transformer with the required data?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 35

Which of the below functionality is provided by zip operator in DataWeave?

A.

Merges elements of two lists (arrays) into a single list

B.

Used for sending attachments

C.

Minimize the size of long text using encoding.

D.

All of the above

Full Access
Question # 36

Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.

During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.

What attribute you would change in ClientRequestFlow to make this implementation work successfully?

A.

Change the method attribute value to "*’’

B.

Change the path attribute value to "/api/ship"

C.

Change the allowed method attributes value to "POST"

D.

Change the protocol attribute value to "HTTPS"

Full Access
Question # 37

Refer to the exhibits.

A web client sends a GET request to the HTTP Listener.

What response message is returned to the web client?

A.

""

B.

"End"

C.

"Start"

D.

"String is not blank"

Full Access
Question # 38

Refer to the exhibits.

Each route in the Scatter-Gather sets the payload to the number shown in the label. What response is returned to a web client request to the HTTP Listener?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 39

What is not the function of API Gateway ?

A.

Determine which traffic is authorized to pass through the API to backend services

B.

Meter the traffic flowing through

C.

Logs all transactions , collecting and tracking analytics data

D.

Specify throttling , security and other policies

Full Access
Question # 40

Refer to the exhibits. A database Address table contains a ZIPCODE column and an increasing ID column. The Address table currently contains tour (4) records. The On Table Row Database listener is configured with its watermark set to the Address table's ZIPCODE column and then the Mule application is run in Anypoint Studio tor the first time, and the On Table Row Database listener polls the Address table.

Anew row is added to the database with 1D=5 and ZIPCODE-90006, and then the On Table Row Database listener polls the database again.

Alter the next execution of the On Table Row Database listener polling, what database rows have been processed by the Mule flow since the Mule application was started?

A.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

B.

ID ZIPCODE

1 90001

2 90005

3 90009

5 90006

C.

ID ZIPCODE

1 90001

2 90005

3 90009

D.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

5 90006

Full Access
Question # 41

A Mule project contains a MySQL Database dependency. The project is exported from Anypoint Studio so it can be deployed to CloudHub.

What export options create the smallest deployable archive that will successfully deploy to CloudHub?

What export option create their smallest deployable archive that will successfully deploy to CloudHub?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 42

Refer to the exhibit.

The Database Select operation returns five rows from a database. What is logged by the Logger component?

A.

"Array"

B.

"Object"

C.

"LinkedHashMap"

D.

"CaselnsensitrveHashMap"

Full Access
Question # 43

What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 44

An API was designed in API Designer, published to Anypoint Exchange, then imported into API Manager.

A Mule application implements this API and is deployed to CloudHub. API Manager manages this deployed API implementation.

What is the easiest and most idiomatic (used for its intended purpose) way to enforce a Client ID Enforcement policy on this Mule application?

A.

In API Manager, apply a Client ID Enforcement policy for the API instance

B.

In Anypoint Studio, code a custom policy tor Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment

C.

In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange

D.

In API Designer, add Client ID Enforcement policy requirements to the API specification

Full Access
Question # 45

A function named newProdCode needs to be defined that accepts two input parameters, an integer value for itemID and a string value for productCategory, and returns a new product code.

What is the correct DataWeave code to define the newProdCode function?

A.

fun newProdCode{itemID: Number, productCategory: String) —> "PC-" ++ productCategory ++ (itemID as String)

B.

fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)

C.

function newProdCode(itemID: Number, productCategory: String) =

"PC-" ++ productCategory ++ (itemID as String)

D.

var newProdCode(itemID: Number, productCategory: String) ->

"PC-" ++ productCategory ++ (itemID as String)

Full Access
Question # 46

Refer to the exhibits.

Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.

What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

A.

firstName

B.

customer.firstName

C.

vars."customer.firstName"

D.

vars."customer"."firstName"

Full Access
Question # 47

Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.

The Mule application must be available to REST clients using the two URL's

http://localhost:8081/internal and http://localhost:8081/external

How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification?

1.Library.raml

2./books

3. get:

4. post:

5./order:

6. get

7. patch

8./members

9. get:

A.

1

B.

2

C.

3

D.

5

Full Access
Question # 48

Refer to the exhibits.

The Batch job processes an array of strings.

What information is logged by the logger component after the batch job scope completes processing of the input payload?

A.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

payload: ["A","B","C"]

B.

["A","B","C"]

C.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

payload: ["a", "b", "c"]

D.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

Full Access
Question # 49

Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

A.

Response body: "Error" Default response status code: 200

B.

Response body: "Success - Begin* Default response status code: 200

C.

Error response body: error, description Default error response status code: 500

D.

Response body: "Success - End" Default response status code: 200

Full Access
Question # 50

Correct answer is {customerID}.

A.

var toUpper(userName) -> upper(userName)

B.

fun toUpper(userName) = upper(userName)

C.

fun toUpper(userName) -> upper(userName)

D.

var toUpper(userName) = upper(userName)

Full Access
Question # 51

Which of the module is imported automatically in Dataweave scripts?

A.

dw::core

B.

dw::System

C.

dw::Runtime

D.

dw::Crypto

Full Access
Question # 52

Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].

What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?

A.

vars "customer first"

B.

"customer first"

C.

customer first

D.

vars "customer" "first"

Full Access
Question # 53

Refer to the exhibits The Mule application does NOT define any global error handlers.

A web client sends a POST request to the Multi application with this input payload The File Write operation throws a FILECONNECTIVITY error

What response message is returned to the web client?

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Full Access
Question # 54

A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call the updateTemp flow After the test flow returns a response, the web client then sends a different GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time.

What response is returned from the request to the getTemp flow's HTTP Listener?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 55

An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.

An SLA- based policy is enabled in API manager for this API instance.

Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

A.

In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy

B.

In Anypoint Studio, from components generated by APIkit for the API specification

C.

In Anypoint Studio, from components generated by Rest Connect for API specification

D.

In Runtime Manager, from the properties tab of the deployed approved API proxy

Full Access
Question # 56

Refer to exhibits.

In the execution of the Scatter-Gather , the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter-Gather to complete?

A.

10

B.

50

C.

40

D.

20

Full Access
Question # 57

Refer to the exhibits.

A web client submits a request to http://localhQst:8081 /flights. What is the result at the end of the flow?

A.

"string"

B.

"Java"

C.

"object"

D.

"XML"

Full Access
Question # 58

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

Full Access
Question # 59

Refer to the exhibits.

The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.

What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Full Access
Question # 60

Refer to the exhibit.

The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file

What must be added to the Mule application to link the config.yaml file's values with the property placeholders?

A.

A configuration-properties element in the acme-app xml file

B.

A dependency element in the pom xml file

C.

A file-config element in the acrne-app xml file

D.

A propertiesFile key/value pair in the mule-artifact json file

Full Access
Question # 61

How to import Core (dw::Core) module into your DataWeave scripts?

A.

#include dw::core

B.

Not needed

C.

import core

D.

import dw::core

Full Access
Question # 62

Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification.

An API implementation is created for this RAML API specification.

What is valid JSON input for a request from a web client to an implementation of this RAML API specification?

A.

B.

C.

D.

Full Access
Question # 63

What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?

A.

/(*)

B.

/

C.

/()

D.

“/*”

Full Access
Question # 64

Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.

Next set of requirement is to have a setPayload transformer which will set below two values

1) orderkey which needs to set to be equal to the order element received in the original request payload.

2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow

What is the straightforward way to properly configure the Set Payload transformer with the required data?

A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below

A.

1. 1. {

2. 2. orderkey: "payload.order",

3. 3. addresskey: "vars.address"

4. 4. }

B.

1. 1. {

2. 2. orderkey: "attributes.shippingaddress.order",

3. 3. addresskey: "payload"

4. }

C.

1. 1. {

2. 2. orderkey: "payload.order",

3. 3. addresskey: "address"

4. }

D.

1. 1. {

2. 2. orderkey: "attributes.order",

3. 3. addresskey: "vars.address"

4. }

Full Access
Question # 65

Refer to the exhibit.

What can be added to the flow to persist data across different flow executions?

A.

Key/value pairs in the ObjectStore

B.

Properties of the Mule runtime flow object

C.

properties of the Mule runtime app object

D.

session variables

Full Access
Question # 66

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

A.

{ port : p('db.port')}

B.

{ port : {db:port}}

C.

{ port : p['db.port']}

D.

Application property cannot be accessed in Dataweave

Full Access
Question # 67

Refer to the exhibit.

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

Full Access
Question # 68

Refer to the exhibits.

The Batch Job scope processes the array of strings

After the Batch Job scope completes processing the input payload what information is logged by the Logger component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 69

A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?

A.

All processing of the batch job stops.

B.

Event processing continues to the next batch step.

C.

Error is ignored

D.

Batch is retried

Full Access
Question # 70

Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".

What is the output of logger after the execution of choice router is completed?

A.

"Domestic"

B.

"International"

C.

"US"

D.

A dataweave syntax error

Full Access