Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

Salesforce Salesforce-MuleSoft-Developer-I Dumps

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions and Answers

Question 1

Which file is used to define the interface contract to invoke a web service implemented as a SOAP service

Options:

A.

RAML

B.

WSDL

C.

JSON

D.

OAS

Question 2

Refer tothe exhibit.

as

as

The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.

What response message is returned?’’

What response message is returned?

Options:

A.

APP:API RESOURCE NOT FOUND

B.

HTTP: NOT FOUND

C.

other error

D.

success - main flow

Question 3

Refer to the exhibit. APIkit is used to generate flow components for the RAML specification.

How many apikit:router XML elements are generated to handle requests to every endpoint defined in the RAML specification?

as

Options:

A.

3

B.

5

C.

2

D.

1

Question 4

What DataWeave expressiontransforms the array a to the XML output?

as

Options:

A.

1.1. trains:2.2. {(3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.9. )}

B.

1.1. trains:2.2. a map ((engId, index) ->3.3. train: {4.4. TrainNumber:engId5.5.6.6. }7.7. )

C.

1.1. {(2.2. trains:3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.)}

D.

1.1. {2.2. trains:3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.}

Question 5

Refer to the exhibits.

as

as

A web client submits a request to theHTTP 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?

Options:

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.

Responsebody: "Success - End" Default response status code: 200

Question 6

A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.

What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 7

Refer to the exhibits.

as

What is written to the records.csv file when the flow executes?

Options:

A.

The JSON payload

B.

An error message

C.

Nothing

D.

The payload convert to CVS

Question 8

Refer to the exhibits.

as

as

A web client submits the request to the HTTPListener. What response message would be returned to web client?

Options:

A.

End

B.

String is not blank

C.

No response would be sent back to client and request will get errored out in Mule

D.

Start

Question 9

What should this endpoint return? &surname=Bell

Options:

A.

Patient with name as John

B.

Patient with surname as bell

C.

Patients with either name as John or surname as Bell

D.

Patients with name as John and surname as Bell

Question 10

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 isthe payload value at the Logger component after the HTTP request completes?

as

as

as

Options:

A.

white

B.

red

C.

blue

D.

Error message

Question 11

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

Options:

A.

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

B.

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

C.

None of these

D.

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

Question 12

A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder.

What is correctDataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "Todd.Pal@mulesoft.com"?

Options:

A.

1. 1. import libs.etl2. 2. ---3. 3. WebStore.loginUser("Todd.Pal@mulesoft.com")

B.

1. 1. import * fromlibs::etl2. 2. ---3. 3. WebStore::loginUser("Todd.Pal@mulesoft.com")

C.

1. 1. import libs.etl.WebStore2. 2. ---3. 3. loginUser("Todd.Pal@mulesoft.com")

D.

1. 1. import * from libs::etl::WebStore2. 2. ---3. 3. loginUser("Todd.Pal@mulesoft.com")

Question 13

Refer to the exhibits.

as

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?

Options:

A.

vars "customer first"

B.

"customer first"

C.

customer first

D.

vars "customer" "first"

Question 14

Refer to theexhibits. 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?

as

Options:

A.

"Domestic"

B.

"International"

C.

"US"

D.

A dataweave syntax error

Question 15

There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?

Options:

A.

Incoming array objects would be split into three and each part would be sent to one route each in sequential manner

B.

Incoming array objects would be split into three and each part would be sent to one route each in parallel

C.

Entire event would be sent to each route sequentially

D.

Entire event would be sent to each route in parallel

Question 16

Refer to the exhibits.

as

The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.

What is the correct DataWeave code for the Set Payloadtransformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?

Options:

A.

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

B.

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

C.

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

D.

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

Question 17

Refer to the exhibit.

as

What is a valid expression for the Choice router’s when expression to route events to the documenticShipping flow?

Options:

A.

0#[ payload = 'US' ]

B.

#[ payload == 'US' J

C.

#[ if(payload ='US') J

D.

#[ if(payload == "US") ]

Question 18

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

Options:

A.

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

B.

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

C.

Attributes do not change

D.

Previous attributes are passed unchanged

Question 19

A shopping API contains a method to look up store details by department.

To get the information for a particular store, web clients will submit requests with a query parameter named departmentand uri parameter named storeId

What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?

Options:

A.

1./department:2.get:3.uriParameter:4.storeId:

B.

1.get:2.uriParameter:3.{storeId}:4.queryParameter:5.department:

C.

1.get:2.queryParameter:3.department:4.uriParameter:5.{storeId}:

D.

1./{storeId}:2.get:3.queryParameter:4.department:

Question 20

What is the trait name you would usefor specifying client credentials in RAML?

Options:

A.

headers

B.

client-id

C.

client-id-required

D.

cannot be specified in RAML

Question 21

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

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 22

Refer to the exhibits.

as

as

as

The Batch Job scope contains two Batch Steps scopes with different accept expression.

The input payload is passed to the Batch Job scope.

After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?

Options:

A.

1.{amount=140}2.{amount=102}3.{step2amount=100}

B.

1.{amount=140}2.{amount=102}3.{step2amount=100}4.{step2amount=40}

C.

1.{amount=140}2.{amount=102}3.{step2amount=100}4.{step2amount=140}

D.

1.{amount=140}2.{amount=102}3.{step2amount=100}4.{step2amount=140}5.{step2amount=102}

Question 23

Refer to theexhibits 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?

as

as

Options:

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Question 24

Refer to the exhibit.

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

as

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 25

Refer to the exhibit. What is the output of logger component?

as

Options:

A.

String

B.

Object

C.

Array

D.

Map

Question 26

A Mule application contains two HTTP Listeners, each configured for different API endpoints: and http: //acme .com/a pis/customers.

What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?

Options:

A.

/apis/?

B.

/apis/

C.

/apis/orders|customers

D.

/apis/*

Question 27

A shopping API contains a method to look up store details by department

To get information for a particular store, web clients will submit requests with a query parameter named department and a URIparameter named storeld.

What is a valid RAML snippet that supports requests from web clients to get data for a specific storeld and department name?

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 28

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

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?

as

Options:

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" } )

Question 29

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

Options:

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 Muleapplication templates that must be implemented using Anypoint Studio

D.

To define API lifecycle management in a graphical way

Question 30

Refer to the exhibit.

as

All three of thecondition for the Choice router are true. What log messages are written?

Options:

A.

Route 1

B.

Route2

C.

Route1, Route2

D.

Route1, Route2, Default

Question 31

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 configuredwith 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?

Options:

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

Question 32

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

Options:

A.

Data layer

B.

Process layer

C.

Experience layer

D.

System layer

Question 33

Refer to the exhibits.

as

The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?

Options:

A.

[ ["A", "C", "D" ], ["E"] ]

B.

[''E'']

C.

[''D", "E"]

D.

[ "A", "C, "D", "E" ]

Question 34

Refer to the exhibit.

as

What is the output payload in the On Complete phase

Options:

A.

summary statistics with NO record data

B.

The records processed by thelast batch step: [StepTwol, StepTwo2, StepTwo3]

C.

The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]

D.

The original payload: [1,2,31

Question 35

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

Options:

A.

To avoid duplicate processing of records in a database.

B.

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

C.

To enable duplicate processing of records in a database

D.

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

Question 36

Refer to the exhibit.

as

What datais expected by the POST /accounts endpoint?

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 37

Refer to the exhibits. What payload is logged at the end of the main flow?

as

Options:

A.

[order1, order2, order3, order4]

B.

[1, 2, 3, 4]

C.

order4

D.

order1order2order3order4

Question 38

What DataWeave expressiontransforms the example XML input to the CSV output?

as

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 39

Where would you create SLA Tiers for an API?

Options:

A.

Exchange

B.

API Manager

C.

Anypoint Studio

D.

In RAML specifications

Question 40

What is output of Dataweave flatten function?

Options:

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Question 41

According to Semantic Versioning, which version would you change for incompatible API changes?

Options:

A.

No change

B.

MINOR

C.

MAJOR

D.

PATCH

Question 42

A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is thecorrect DataWeave to call the encryptString function in a Transform Message component?

Options:

A.

1. %dw 2.02. output application/json3. import modules::Utility4. ---5. Utility::encryptString( "John Smith" )

B.

1. %dw 2.02. output application/json3. import modules::Utility4. ---5. encryptString( "John Smith" )

C.

1. %dw 2.02. output application/json3. import modules.Utility4. ---5. encryptString( "John Smith" )

D.

1. %dw 2.02. output application/json3. import modules.Utility4. ---5. Utility.encryptString( "John Smith" )

Question 43

A web client submits a request to The query parameter is captured using a Set Variable transformer to a variable named accountType.

What is the correct DataWeave expression to log accountType?

Options:

A.

Account Type: #[flowVars.accountType]

B.

Account Type: #[message.inboundProperties.accountType]

C.

Account Type: # [attributes.accountType]

D.

Account Type: #[vars.accountType]

Question 44

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

Options:

A.

Publish theAPI to Anypoint Exchange

B.

Publish the API from inside flow designer

C.

Deploy the API to a Maven repository

D.

Enable autodiscovery in API Manager

Question 45

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?

as

Options:

A.

8

B.

0

C.

2

D.

10

Question 46

What is the output type of the DataWeave map operator?

Options:

A.

String

B.

Array

C.

Map

D.

Object

Question 47

Refer to the exhibits.

as

as

The expression for the Choice router needs to be written.

What is a valid expression to route Mule events to the non-default flow?

Options:

A.

#['MuleSoft' == paytoad.company]

B.

#[ company = "MuleSoft" ]

C.

#[ if( company = "MuleSoft") ]

D.

#[ if( 'MuleSoff == payload.company) ]

Question 48

A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.

What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

Options:

A.

Put the Database SELECT operation inside a Cache scope

B.

Put the Database SELECT operation inside a Message Enricher scope

C.

Nothing, previous payloads are combined into the next payload

D.

Save the payload from the Database SELECT operation to a variable

Question 49

From which application , Organization Administrators can approve/revoke/delete SLA tier access requests

Options:

A.

API Exchange

B.

API Portal

C.

API Gateway

D.

API Manager

Question 50

What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

as

Options:

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Question 51

Refer to the exhibit.

as

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

Options:

A.

lookupC createCustomerObJect( "Alice", "Green- ) )

B.

createCustomerObject( { first: "Alice", last: "Green" > )

C.

lookupf "createCustomerObject", { first: "Alice", last: "Green" > )

D.

createCustomerObject( "Alice", "Green")

Question 52

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

Options:

A.

Creates a separate flow for each resource

B.

Creates a separate flow for each HTTP method

C.

Creates a separate flow for each response status code

D.

Creates a separate flow for each resource that contains child resources

Question 53

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

Options:

A.

As query parameters in the HTTP Request operation

B.

As URI parameters in the HTTP Request operation

C.

In the Mule event's payload

D.

As flow variables

Question 54

Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.

What response message is returned to the web client?

as

Options:

A.

Validation Error

B.

"END"

C.

"ERROR1"

D.

''ERROR2"

E.

Validation Error

F.

"END"

G.

"ERROR1"

Question 55

A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?

Options:

A.

examples: !include StudentExample.raml

B.

examples: #import StudentExample.raml

C.

examples: !include examples/StudentExample.raml

D.

examples: #import examples/StudentExample.raml

Question 56

Refer to the exhibit. The input array of stringsis passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?

as

Options:

A.

Summary report of processed records

B.

[ "Apple", "Banana" ]

C.

[ "Apptel2", "Bananal2" ]

D.

[ "Apptel", "Bananal", 2 ]

Question 57

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?

Options:

A.

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

B.

{ port : {db:port}}

C.

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

D.

Application property cannot be accessed in Dataweave

Question 58

Refer to the exhibits.

as

What payload and variable are logged at the end of the main flow?

as

Options:

A.

[[5, 10, 15, 20], 1]

B.

[[5, 10, 15, 20], 5]

C.

[[Req5, Req10, Req15, Req20], 5]

D.

[Req5Req10,Req15Req20, 5]

Question 59

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

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 thisMule application?

Options:

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.

InAnypoint 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

Question 60

Refer to theexhibit.

as

How many private flows does APIKIT generate from the RAML specification?

Options:

A.

1

B.

2

C.

3

D.

4

Question 61

The new RAML spec has been published to Anypoint Exchange with client credentials.

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

Options:

A.

Request access to the API in Anypoint Exchange

B.

Email the owners of the API

C.

Create a new client application

D.

No additional steps needed

Question 62

Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

as

as

Options:

A.

[10. 20, 30. 40, 50, 60]

B.

[10. 20] [30, 40] [50, 60]

C.

[20, 40, 60]

D.

[20. 40] [60]

Question 63

Refer to the exhibits.

as

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?

Options:

A.

${training.host}

B.

${training:host}

C.

#[training:host]

D.

#[training.host]

Question 64

Refer to the exhibits.

as

as

What payload and quantity are logged at the end of the main flow?

Options:

A.

[[1,2,3,4], 14]

B.

[[order1, order2, order3, order4], 14]

C.

[[1,2,3,4], 10]

D.

[orderlorder2order3order4,14]

Question 65

Refer to the exhibits.

as

as

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)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 66

A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.

The Mule application must now be exported from Anypoint Studio and shared with another developer.

What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 67

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

Options:

A.

#include dw::core

B.

Not needed

C.

import core

D.

import dw::core

Question 68

Refer to the exhibits.

as

The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.

What should be changed in the request so that a success response code is returned to the web client?

Options:

A.

Set a request header with the name Content-Type to a value of applicatron/octet-stream

B.

Set a request header with the name Content-Type to a value of application/xml

C.

Set a response header with the name Content-Type to a value of applkation/xml

D.

Set a response header with the name Content-Type to a value of application/octet-stream

Question 69

Refer to the exhibits.

as

as

A JSON payload is set in the Set Payload transformer.

What is logged by the Logger?

Options:

A.

"String"

B.

"Object"

C.

"Array"

D.

"JSON"

Page: 1 / 23
Total 230 questions