Big Halloween Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

Salesforce Salesforce-MuleSoft-Developer-I Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam Practice Test

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

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

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 2

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

Options:

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

Question 3

Refer to the exhibit.

What expression correctly specifies inputparameters to pass the city and state values to the SQL query?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 4

Refer to the exhibits.

What is the response when a client submits a request

Options:

A.

After

B.

null

C.

Before

D.

Validation error

Question 5

Refer to the exhibit.

The Mule application Is debugged in Any point Studio and stopsat the breakpoint What is the value of the payload displayed In the debugger at this breakpoint?

Options:

A.

0

B.

"Processing"

C.

"Start"

D.

Complete"

Question 6

Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

Options:

A.

Configuration file

B.

Global element

C.

POM.xml

D.

Cloudhub

Question 7

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 8

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

Options:

A.

200.1234 as string as format: ".0#"

B.

200.1234 as String{format: ".0#"}

C.

200.1234 as String as format: ".0#"

D.

200.1234 as string {format: ".0#"}

Question 9

Refer to the exhibit.

What should be changed to fix the 415 error?

Options:

A.

set the response Content-Type header to text/plain

B.

set theresponse Content-Type header to application/json

C.

Set the request Content-Type header to application/] son

D.

set the request Content-Type header to text/plain

Question 10

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?

Options:

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"

Question 11

Refer to the payload.

The Set payload transformer sets the payload to an object. The logger component'smessage attribute is configured with the string "Result #["INFO"++ payload]"

What is the output of logger when this flow executes?

Options:

A.

Result INFOpayload

B.

Result INFO{"student":{"name":"Anay","age":6}}

C.

1. 1. "You called the function '++' with these arguments:2. 2. 1: String ("INFO")3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)

D.

Error : You evaluated inline expression # without ++

Question 12

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 equalto 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 fromclients containing the name and order information. Sample request is as below

Options:

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. }

Question 13

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 and which one is synchronous?

Options:

A.

Publish consume: Synchronous. Publish: Asynchronous.

B.

Publish consume: Asynchronous. Publish: Synchronous

C.

Publish consume: Asynchronous. Publish: Asynchronous

D.

Publish consume: Synchronous. Publish: Synchronous

Question 14

An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that anotherteam had already built an API that accesses the transaction information they need.

According to MuleSoft, what organization structure could have saved the app team two months of development time?

Options:

A.

Center of Excellence

B.

Center for Enablement

C.

MuleSoft Support Center

D.

Central API Review Board

Question 15

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?

Options:

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Question 16

Refer to the exhibit.

A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?

Options:

A.

Mule event

B.

Mule message payload

C.

Mule message

D.

Mule message attributes

Question 17

What is output of Dataweave flatten function?

Options:

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Question 18

Refer to the exhibits.

The Validation component in the private flow throws an error. What response message is returnedto a client request to the main flow's HTTP Listener?

Options:

A.

Error - private flow

B.

Error - main flow

C.

Success - main flow

D.

Validation Error

Question 19

Where are values of query parameters stored in the Mule event by the HTTP Listener?

Options:

A.

Inbound Properties

B.

Variables

C.

Attributes

D.

Payload

Question 20

What is the difference between a subflow and a sync flow?

Options:

A.

No difference

B.

Subflow has no error handling of its own and sync flow does

C.

Sync flow has no error handlingof its own and subflow does

D.

Subflow is synchronous and sync flow is asynchronous

Question 21

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

Options:

A.

String

B.

Object

C.

Array

D.

Map

Question 22

An API implementation has beendeployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.

What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by APIManager?

Options:

A.

Register the same API implementation in Runtime Manager to connect to API Manager

B.

Modify the API implementation to use auto-discovery to register with API Manager

C.

Upload the Mule application's JAR file to the API instance in API Manager

D.

Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager

Question 23

Refer to the below exhibit.

A Mule applicationconfigures 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?

Options:

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 = localhost2.http.port = 8081

D.

1.{2.http:3.basePath: "api",4.port: "8081",5.host: " localhost"

Question 24

What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?

Options:

A.

1. /customers:2. /get:3. /customerId:

B.

1. /customers:2. /{customerId}:3. get:

C.

1. /customers:2. /customerId:3. get:

D.

1. /customers:2. get:3. /{customerId}:

Question 25

What is the output of Dataweave Mapoperator?

Options:

A.

Map

B.

Object

C.

String

D.

Array

Question 26

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

Options:

A.

Implements line of business projects to enforce common security requirements

B.

Creates and manages discoverable assets to be consumed by line of business developers

C.

Centrally manages partners and consultants to implement line of business projects

D.

Implements line of business projects to enforce common security requirements

Question 27

Refer tothe exhibit.

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 28

How we can scale deployed Mule application vertically on cloudhub?

Options:

A.

Changingworker size

B.

Adding multiple workers

C.

Mule applications can be scaled only horizontally

D.

Option 1 and 2 both can be used

Question 29

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 30

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?

Options:

A.

8

B.

0

C.

2

D.

10

Question 31

Refer to the exhibits.

What DataWeave expression transforms the conductorIds array to the XML output?

Options:

A.

1. 1. trains:2. 2.conductorIds map ((engId, index) ->3. 3. train: {4. 4. engineerId: engId5. 5. }6. 6. )

B.

1. 1. { trains:2. 2.3. 3. conductorIds map ((engId, index) ->4. 4. train: {5. 5. engineerId: engId6. 6. }7. 7. )8. 8. }

C.

1. 1. trains:2. 2. {(3. 3. conductorIds map ((engId, index) ->4. 4. train: {5. 5. engineerId: engId6. 6. }7. 7. )8. 8. )}

D.

1. 1. {( trains:2. 2.3. 3. conductorIds map ((engId, index) ->4. 4. train: {5. 5. engineerId: engId6. 6. }7. 7. )8. 8. )}

Question 32

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 33

Refer to the exhibits.

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

Options:

A.

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

B.

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

C.

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

D.

[orderlorder2order3order4, 14]

Question 34

To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.

Where does the configuration file's location need to be specified in the Mule application?

Options:

A.

The pom.xml file

B.

A global element

C.

The mule-art if act .json file

D.

a flow attribute

Question 35

Refer to the exhibit.

In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1 second to complete, and the "sleep 5 sees" Row Reference takes about 5 seconds to complete.

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

Options:

A.

0

B.

1

C.

5

D.

6

Question 36

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 37

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?

Options:

A.

vars "customer first"

B.

"customer first"

C.

customer first

D.

vars "customer" "first"

Question 38

Which of the below activity doesn't support parallel execution?

Options:

A.

Scatter-Gather Router

B.

First Successful Router

C.

Parallel For Each

D.

Batch job

Question 39

Which keyword do you use to create a new function in DataWeave?

Options:

A.

function

B.

fun

C.

func

D.

map

Question 40

Refer to the exhibit.

The default scope in choice router recursively calls the color flow.

A web client sends a PUT request to the HTTP listener with payload Blue.

What response is returned to the web client?

Options:

A.

"Blk"

B.

"Green"

C.

A timeout error

D.

["Blue", "Red", "Blk"]

Question 41

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 beenprocessed by the Mule flow since the Mule application was started?

Options:

A.

ID ZIPCODE1 900012 900053 900094 90001

B.

ID ZIPCODE1 900012 900053 900095 90006

C.

ID ZIPCODE1 900012 900053 90009

D.

ID ZIPCODE1 900012 900053 900094 900015 90006

Question 42

Refer to the exhibits. A web client submits a request to and the Web Service Consumer throws a WSC:BAD_REQUEST error.

What is the next stepto fix this error?

Options:

A.

Set a header In the Consume operation equal to the destination query parameter

B.

set a SOAP payload before the Consume operation that contains the destination query parameter

C.

set a property m the Consume operation equal to the destination query parameter

D.

set a JSON payload before the Consume operation that contains the destination query parameter

Question 43

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 44

Refer to the exhibits.

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 45

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 46

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?

Options:

A.

white

B.

red

C.

blue

D.

Error message

Question 47

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 48

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 49

What is the object type returned by the File List operation?

Options:

A.

Object of String filenames

B.

Array of String file names

C.

Object of Mule event objects

D.

Array of Mule event objects

Question 50

Refer to the exhibits.

The Mule application implements a RESTAPI that accepts GET requests from web clients on the URLs: com/order/status and http:Vacme.com/customer/status.

What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?

Options:

A.

*[order,customer]/status

B.

*/status

C.

?[order,customer]/status

D.

*status

Question 51

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 52

Refer to the exhibits.

The mule application implements a REST API that accepts GET request from two URL's which are as follows

2)

What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL's using a single HTTP listener event source?

Options:

A.

*[order,customer]/status

B.

?[order,customer]/status

C.

*/status

D.

*status

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

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 55

An organization is beginning to follow Mulesoft's recommendedAPI led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.

What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivityapproach as compared to other common enterprise integration solutions?

Options:

A.

The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution

B.

The API interfaces are specifiedat a granularity intended for developers to consume specific aspect of integration processes

C.

The API implementation are built with standards using common lifecycle and centralized configuration management tools

D.

The APIO implementations are monitoredwith common tools, centralized monitoring and security systems

Question 56

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 57

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?

Options:

A.

10

B.

50

C.

40

D.

20

Question 58

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 thebatch job completes processing?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 59

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?

Options:

A.

An Array of the three Mule event Objects

B.

An Object containing all three Mule event Objects

C.

An Array of the three JSON payload Objects

D.

An Object containing all three JSON payload Objects

Question 60

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 61

Refer to the exhibits.

The Mule application does NOT define any global error handlers.

The Validation component in the private flowthrows an error

What response message is returned to a web client request to the main flow's HTTP Listener?

Options:

A.

''Child error"

B.

"Parent error"

C.

"Validation Error"

D.

"Parent completed"

Question 62

Refer to the exhibit.

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 63

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 64

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

Options:

A.

GET

B.

PATCH

C.

PUT

D.

POST

Question 65

Refer to the exhibits.

A Mule application is being developed to process web client POSTrequests 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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 66

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

Options:

A.

/(*)

B.

/

C.

/()

D.

“/*”

Question 67

By default, what happens to a file after it is read using an FTP connector Read operation?

Options:

A.

The file is deleted from the folder

B.

The file is moved to a different folder

C.

The file stays in the same folder unchanged

D.

The file is renamed in the same folder

Question 68

Refer to the exhibits.

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.

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