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

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

Question 1

Refer to the exhibit.

What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?

Options:

A.

(employeelD)

B.

${emp!oyeelD}

C.

{employeelD}

D.

# [employeelD]

Question 2

Refer to the exhibits.

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

1)http://acme.com/order/status

2) http://acme.com/customer/status

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 3

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 4

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 5

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 6

Refer to theexhibit.

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 7

Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.

Howmany seconds does it take for the Scatter_Gather to complete?

Options:

A.

0

B.

10

C.

20

D.

30

Question 8

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?

Options:

A.

3

B.

5

C.

2

D.

1

Question 9

Refer to the exhibits.

How many private flows does APIKIt generate from RAML specification?

Options:

A.

1

B.

2

C.

3

D.

4

Question 10

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 11

Refer to the exhibit.

The Mule application's connectors areconfigured 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?

Options:

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

Question 12

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

Options:

A.

/(*)

B.

/

C.

/()

D.

“/*”

Question 13

Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO 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 14

Refer to the exhibits.

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 15

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 16

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 17

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 18

Where is metadata stored in a Mule project

Options:

A.

Config.yaml file

B.

POM.xml file

C.

application-types.xml

D.

Global Element

Question 19

Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now beexported 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?

Options:

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

Question 20

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 21

What is minimal requirement in a flow for a Mule application to compile?

Options:

A.

Event Source

B.

Event Processors

C.

Error handlers

D.

Source and processors both

Question 22

Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.

An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flowexecutes.

What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?

Options:

A.

Change the method attribute's value to "POSL

B.

Change the path attribute's value to 7api/partners/fastShopping"

C.

Change the protocol attribute's value to "HTTPS"

D.

Change the method attribute's value to "*"

Question 23

Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Requestuse default configurations.

A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano.

What values are accessible to the Logger component at the end of the main flow?

Options:

A.

payload

B.

payloadpedigree query params

C.

payloadproducer var

D.

payloadpedigree query params producer var

Question 24

What is the output of Dataweave Mapoperator?

Options:

A.

Map

B.

Object

C.

String

D.

Array

Question 25

Which of the below is not the mandatory configurations for HTTP Listener?

Options:

A.

Path

B.

Allowed methods

C.

HTTP port in Connector Configuration

D.

HTTP host in Connector Configuration

Question 26

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 27

Refer to theexhibits.

A Mule application contains a Choice router. What is logged when the flow completes?

Options:

A.

EU

B.

US

C.

"REGION"

D.

["US", "EU"]

Question 28

A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?

Options:

A.

Select both the options 1) Attach project sources 2) Include project module and dependencies

B.

No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies

C.

Select only below option 2) Include project module and dependencies

D.

Select only below option 1) Attach project sources

Question 29

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 30

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 31

How can you call a subflow from Dataweave?

Options:

A.

Not possible in Mule 4

B.

Import function

C.

Lookup function

D.

Include function

Question 32

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 33

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 34

Refer to the exhibit.

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 35

How many Mule applications can run on a CloudHub worker?

Options:

A.

At most one

B.

At least one

C.

Depends

D.

None of these

Question 36

Refer to the exhibits.

The Validation component in theTry scope throws an error.

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

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

Options:

A.

Success - main flow

B.

Error - main flow

C.

Error - Try scope

D.

Validation Error

Question 37

Refer to the exhibits.

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

Options:

A.

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

B.

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

C.

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

D.

[Req5Req10,Req15Req20, 5]

Question 38

Refer to the exhibits.

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.

What is the payload shown in the debugger at this breakpoint?

Options:

A.

"none"

B.

The entire CSV file

C.

The database response

D.

100

Question 39

What asset cannot be created using Design Center?

Options:

A.

Mule Applications

B.

API fragments

C.

API specifications

D.

API portals

Question 40

A web client sends a request tohttp;//localhost:8081?dept=sales. What is the correct DataWeave expression to access the value of dept?

Options:

A.

attributes.queryParams.dept

B.

attributes.dept

C.

message.queryParams.dept

D.

vars.dept

Question 41

Refer to the exhibit.

The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.

What is the next step to fix the error to get the project to run successfully?

Options:

A.

Edit the dependency in the Mule project's pom.xml file

B.

Install the dependency to thecomputer's local Maven repository

C.

Deploy the dependency to MuleSoft's Maven repository

D.

Add the dependency to the MULE_HOME/bin folder

Question 42

Following Mulesoft's recommended API-ledconnectivity approach , an organization has created an application network. The organization now needs to create API's to transform , orchestrate and aggregate the data provided by the other API's in the application network. This API should be flexible enought ot handle the data from additional API's in future.

According to Mulesoft's recommended API-led connectivity approach , what is the best layer for this new API?

Options:

A.

Process layer

B.

System layer

C.

Experience layer

D.

Data layer

Question 43

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 44

Refer to the exhibits.

The Mule Application is being debugged in Anypoint Studio and stopsat breakpoint. What is the value of payload displayed in debugger at this breakpoint?

Options:

A.

Processing

B.

Begin

C.

Finished

Question 45

A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.

What would be valid RAML to use these fragments ?

Options:

A.

1. #%RAML 1.02. title: Books3.types:4. Book: ABC/Examples/bookDataType.raml5. /books:6. post:7. body:8. application/json:9. type: Book10. examples:11. input: ABC/Examples/bookExample.raml12. responses:13. 201:14. body:15. application/json:16.example:17.message: Book added

B.

1.#%RAML 1.02.title: Books3.Book: !include bookDataType.raml4./books:5.post:6.body:7.application/json:8.type: Book9.examples:10.input: !include bookExample.raml11.responses:12.201:13.body:14.application/json:15.example:16.message: Book added

C.

1.#%RAML 1.02.title: Books3.Book: bookDataType.raml4./books:5.post:6.body:7.application/json:8.type: Book9.examples:10.input: bookExample.raml11.responses:12.201:13.body:14.application/json:15.example:16.message: Book added

D.

1.#%RAML 1.02.title: Books3.Book: bookDataType.raml4./books:5.post:6.body:7.application/json:8.type: Book9.examples:10.input: bookExample.raml11.responses:12.201:13.body:14.application/json:15.example:16.message: Book added

Question 46

According to Mulesoft, how are Modern APIs treated as?

Options:

A.

Products

B.

SOAP API's

C.

Rest API's

D.

Code

Question 47

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?

Options:

A.

payload

B.

payloadquantity var

C.

payloadcolor query param

D.

payloadquantity var color query param

Question 48

Refer to the exhibit.

What is the response to a web client request tohttp://localhost:8081?

Options:

A.

After

B.

before

C.

Validation Error

D.

null

Question 49

Refer tothe 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?

Options:

A.

Total Records Processed: 3Successful Records: 3Failed Records: 0payload: ["A","B","C"]

B.

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

C.

Total Records Processed: 3Successful Records: 3Failed Records: 0payload: ["a", "b", "c"]

D.

Total Records Processed: 3Successful Records: 3Failed Records: 0

Question 50

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 51

Refer to the exhibits.

Mule application has an HTTP request configurationwhere host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?

Options:

A.

#[training.host]

B.

${http.host}

C.

#{training.host}

D.

${training.host}

Question 52

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 53

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 54

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 55

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 56

Refer to the exhibits.

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 57

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

Options:

A.

[order1, order2, order3, order4]

B.

[1, 2, 3, 4]

C.

order4

D.

order1order2order3order4

Question 58

Correct answer is {customerID}.

Options:

A.

var toUpper(userName) -> upper(userName)

B.

fun toUpper(userName) = upper(userName)

C.

fun toUpper(userName) -> upper(userName)

D.

var toUpper(userName) = upper(userName)

Question 59

Refer to the exhibits.

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 60

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 61

Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.

Aweb client sends a GET request to the HTTP Listener with the sty query parameter set to 30.

After the HTTP Request operation completes, what parts of the Mule event at the main flow's Logger component are the same as the Mule event that was input to theHTTP Request operation?

Options:

A.

The payload and all variables

B.

All variables

C.

The entire Mule event

D.

The payload and all attributes

Question 62

Refer to the exhibits.

The Batch Job scope contains two BatchStep scopes with different accept expressions.

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 63

Refer to the exhibits.

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 64

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 65

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 66

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 67

What DataWeave expressiontransforms the array a to the XML output?

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 68

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?

Options:

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)

Question 69

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