New Year 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 exhibits.

A web client sends a POST request to the HTTP Listener with the payload "Hello-". What response is returned to the web client?

What response is returned to the web client?

Options:

A.

Hello- HTTP-] MS2-Three

B.

HTTP-JMS2-Three

C.

Helb-JMS1-HTTP-JMS2 -Three

D.

Hello-HTTP-Three

Question 2

What does C4E stands for in MuleSoft recommended IT operatingmodel?

Options:

A.

Centre for Empowerment

B.

Centre for Engagement

C.

Centre for Enablement

D.

Centre for Excellence

Question 3

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 4

Refer to the exhibits.

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 5

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 6

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 7

Refer to the exhibits.

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.

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 9

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 10

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 11

Refer to exhibits.

What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?

Options:

A.

#["The city is" ++ payload.City]

B.

The city is + #[payload.City]

C.

The city is #[payload.City]

D.

#[The city is ${payload.City}

Question 12

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 13

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 14

A flowcontains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?

Options:

A.

#["Content-Type: " ++ attributes.headers.'content-type']

B.

#["Content-Type: " + headers.'content-type']

C.

#["Content-Type: " + attributes.headers.'content-type']

D.

#["Content-Type: " ++ headers.'content-type']

Question 15

Refer to the exhibit.

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

Options:

A.

Key/value pairs in the ObjectStore

B.

Properties of the Mule runtime flow object

C.

properties ofthe Mule runtime app object

D.

session variables

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

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 18

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 19

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 20

Refer to the exhibits.

In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.

That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.

What is the payload at the Logger component after the HTTP Request?

Options:

A.

A non-empty Java object

B.

The original XML payload

C.

null

D.

The returned JSON response

Question 21

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

Question 22

Refer to the exhibits.

The Set Payload transformer's value is set to {'year': '2020'}.

What message value should be added to the Logger component to output the message 'The year is 2020', withouthardcoding 2020?

Options:

A.

'#[The year is $(pay load .year)]*

B.

The year is #[payload.year]'

C.

'#[The year is " + paytoad.year]'

D.

#["The year is "++ payload.year].

Question 23

Refer to the exhibits.

All three of the conditions for the Choice router are true. What messages are written in the application log?

Options:

A.

Route1

B.

Route2

C.

Route1,Route2

D.

Route1,Route2,Default

Question 24

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 25

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 26

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 27

What execution model is used by For Each and Batch Job scopes?

Options:

A.

For Each is single-threaded and Batch Job is multi-threaded

B.

Both are single-threaded

C.

Both aremulti-threaded

D.

Batch Job is single-threaded and For Each Is multi-threaded

Question 28

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 29

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 30

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 31

What asset cannot be created using Design Center?

Options:

A.

Mule Applications

B.

API fragments

C.

API specifications

D.

API portals

Question 32

What should this endpoint return? http://dev.acme.com/api/patients?name=John &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 33

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?

Options:

A.

${training.host}

B.

${training:host}

C.

#[training:host]

D.

#[training.host]

Question 34

A Mule project contains a MySQL Database dependency. The projectis 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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 35

Refer to theexhibit.

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 36

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

Options:

A.

/(*)

B.

/

C.

/()

D.

“/*”

Question 37

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 38

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?

Options:

A.

RAML file to define SOAP services

B.

WSDL file

C.

JSON file

D.

plain text file documenting API's

Question 39

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?

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 40

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 41

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 42

WhichMule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?

Options:

A.

API Notebook

B.

Runtime Manager

C.

Anypoint Visualizer

D.

API Manager

Question 43

Refer to the exhibits.

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

What is thecorrect 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?

Options:

A.

firstName

B.

customer.firstName

C.

vars."customer.firstName"

D.

vars."customer"."firstName"

Question 44

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 45

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 46

Refer to the exhibits.

The main flow contains anHTTP 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?

Options:

A.

payload

B.

payloadquantity var

C.

payloadcolor query param

D.

payloadquantity var color query param

Question 47

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 48

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 49

Where would you create SLA Tiers for an API?

Options:

A.

Exchange

B.

API Manager

C.

Anypoint Studio

D.

In RAML specifications

Question 50

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?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 51

Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

Options:

A.

AllowsCloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener

B.

Allows CloudHub to automatically register the application with API Manager

C.

Allows MuleSoft Support to troubleshoot the application by connectingdirectly to the HTTP Listener

D.

Allows clients to VPN directly to the application at the Mule application's configured HTTP port

Question 52

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

Options:

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Question 53

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 54

What of the below is not a feature of API Notebooks?

Options:

A.

API documentation

B.

Creates a client for an API

C.

Creates a mock service for an API

D.

Perform authenticated live calls on a real server

Question 55

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 56

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 57

Refer to the exhibits.

The Mule application implements a RESTAPI that accepts GET requests from web clients on the URLs: http://acme 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 58

A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.

What isvalid RAML to specify a method to update the details for a specific department?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 59

What is not the function of API Gateway ?

Options:

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

Question 60

A web client submits a request tohttp://localhost:8081/books/0471767840. The value "0471767840" is captured by a Set Variable transformer to a variable named booklSBN.

What is the DataWeave expression to access booklSBN later in the flow?

Options:

A.

booklSBN

B.

attributes.booklSBN

C.

flowVars.booklSBN

D.

vars. booklSBN

Question 61

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 62

A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key userjd column and an increasing kxjin_date_time column. Neither column allows duplicate values.

How should the listener be configured so it retrieves each row at most one time?

Options:

A.

Set the watermark column to the bgin_date_time column

B.

Set the target value to the last retrieved login_date_time value

C.

Set the target value to thelast retrieved user_jd value

D.

Set the watermark column to the user_Id column

Question 63

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 64

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 65

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 66

Which of the following is invalid type of event processor which can be used as a router ?

Options:

A.

Choice

B.

Round Robin

C.

Pick First

D.

First Successful

Question 67

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 68

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 69

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