Halloween Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Salesforce > Salesforce MuleSoft > Salesforce-MuleSoft-Developer-I

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

Question # 4

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

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

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

Full Access
Question # 5

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

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

Full Access
Question # 6

Refer to the exhibits.

The mule application is debugged in Anypoint Studio and stops at the breakpoint as shown in below exhibit.

What is the value of the payload displayed in the debugger at this breakpoint?

A.

Start

B.

Process

C.

Finished

D.

Payload is always empty at the breakpoint

Full Access
Question # 7

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

A.

Scatter-Gather Router

B.

First Successful Router

C.

Parallel For Each

D.

Batch job

Full Access
Question # 8

Refer to the exhibit.

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

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

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 9

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?

A.

Validation Error

B.

"END"

C.

"ERROR1"

D.

''ERROR2"

E.

Validation Error

F.

"END"

G.

"ERROR1"

Full Access
Question # 10

Refer to the exhibits.

As a mulesoft developer, what you would change in Database connector configuration to resolve this error?

A.

Configure the correct host URL

B.

Configure the correct database name

C.

Configure the correct table name

D.

Configure the correct JDBC driver

Full Access
Question # 11

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)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 12

Refer to the exhibits.

The main flow contains a Flow Reference component configured to callthe child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?

A.

The payload and all attributes

B.

The payload and all variables

C.

The entire Mule event

D.

The payload

Full Access
Question # 13

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

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

Full Access
Question # 14

Refer to the exhibit.

What is the output payload in the On Complete phase

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

Full Access
Question # 15

How can you call a subflow from Dataweave?

A.

Not possible in Mule 4

B.

Import function

C.

Lookup function

D.

Include function

Full Access
Question # 16

Refer to the exhibit.

What is the correct way to create a user?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 17

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

A.

/(*)

B.

/

C.

/()

D.

“/*”

Full Access
Question # 18

Refer to the exhibit.

This RAML specification includes a resource and method to retrieve accounts by account_type and industry.

What is the correct URI to get all retail finance accounts?

A.

/accounts/retail/finance

B.

/accounts?account_type=retail&industry=finance

C.

/accounts/account_type=retail/industry=finance

D.

/accounts?account_type:retail&industry:finance

Full Access
Question # 19

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?

A.

3

B.

5

C.

2

D.

1

Full Access
Question # 20

Refer to the exhibits.

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

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

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

A.

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

B.

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

C.

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

D.

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

Full Access
Question # 21

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

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

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

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

1.Library.raml

2./books

3.get:

4.post:

5./order:

6.get

7.patch

8./members

9.get:

A.

1

B.

2

C.

3

D.

5

Full Access
Question # 22

Refer to the exhibit.

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 23

Where is metadata stored in a Mule project

A.

Config.yaml file

B.

POM.xml file

C.

application-types.xml

D.

Global Element

Full Access
Question # 24

A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090

The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a logmessage reports the status of the HTTP listener after the Mule application deployment completes.

After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?

A.

The HTTP Listener is listening on port 80

B.

The HTTP Listener is listening on port 9090

C.

The HTTP Listener is listening on port 8081

D.

The HTTP Listener failed to bind to the port and is not listening for connections

Full Access
Question # 25

What should this endpoint return? http://dev.acme.com/api/patients?name=John &surname=Bell

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

Full Access
Question # 26

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

A.

1. 1. {2. 2. orderkey: "payload.order",3. 3. addresskey: "vars.address"4. 4. }

B.

1. 1. {2. 2. orderkey: "attributes.shippingaddress.order",3. 3. addresskey: "payload"4.}

C.

1. 1. {2. 2. orderkey: "payload.order",3. 3. addresskey: "address"4. }

D.

1. 1. {2. 2. orderkey: "attributes.order",3. 3. addresskey: "vars.address"4. }

Full Access
Question # 27

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

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

Full Access
Question # 28

What DataWeave expressiontransforms the array a to the XML output?

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

Full Access
Question # 29

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?

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Full Access
Question # 30

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

A.

8082

B.

8080

C.

7777

D.

6666

Full Access
Question # 31

Refer to the exhibits. The Mule application isstopped at the breakpoint in Anypoint Studio. A watch expression Is set to the counter variable.

What value is displayed for this watch expression?

A.

1

B.

11

C.

110

D.

null

Full Access
Question # 32

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

A.

GET

B.

PATCH

C.

PUT

D.

POST

Full Access
Question # 33

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

A.

A scope

B.

A flow

C.

An operation

D.

An event source

Full Access
Question # 34

In an application network. If the implementation but not the interface of a productAPI changes, what needs to be done to the other APIs that consume the product API?

A.

The applications associated with the other APIs must be restarted

B.

The applications associated with the other APIs must be recoded

C.

The other APIs must be updated toconsume the updated product API

D.

Nothing needs to be changed in the other APIs or their associated applications

Full Access
Question # 35

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

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

Full Access
Question # 36

Refer to the exhibit.

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

A.

Mule event

B.

Mule message payload

C.

Mule message

D.

Mule message attributes

Full Access
Question # 37

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?

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

Full Access
Question # 38

Refer to the exhibits.

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 39

Where would you create SLA Tiers for an API?

A.

Exchange

B.

API Manager

C.

Anypoint Studio

D.

In RAML specifications

Full Access
Question # 40

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 ?

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

Full Access
Question # 41

Refer to the exhibit.

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

A.

Key/value pairs in the ObjectStore

B.

Properties of the Mule runtime flow object

C.

properties ofthe Mule runtime app object

D.

session variables

Full Access
Question # 42

A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines afunction named pascalize that reformats strings to pascal case.

What is the correct DataWeave to call the pascalize function in a Transform Message component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 43

A Mule application contains aglobal error handler configured to catch any errors.

Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

A.

A configuration properties file

B.

Nowhere, the global error handler is automatically used

C.

A global element

D.

The pom.xml file

Full Access
Question # 44

What is the output of Dataweave Mapoperator?

A.

Map

B.

Object

C.

String

D.

Array

Full Access
Question # 45

What is not the function of API Gateway ?

A.

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

B.

Meter the traffic flowing through

C.

Logs all transactions , collecting and tracking analytics data

D.

Specify throttling , security and other policies

Full Access
Question # 46

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?

A.

"none"

B.

The entire CSV file

C.

The database response

D.

100

Full Access
Question # 47

How we can scale deployed Mule application vertically on cloudhub?

A.

Changingworker size

B.

Adding multiple workers

C.

Mule applications can be scaled only horizontally

D.

Option 1 and 2 both can be used

Full Access
Question # 48

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?

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

Full Access
Question # 49

Refer to the exhibits.

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

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

A.

vars "customer first"

B.

"customer first"

C.

customer first

D.

vars "customer" "first"

Full Access
Question # 50

A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType.

What is the correct DataWeave expression to log accountType?

A.

Account Type: #[flowVars.accountType]

B.

Account Type: #[message.inboundProperties.accountType]

C.

Account Type: # [attributes.accountType]

D.

Account Type: #[vars.accountType]

Full Access
Question # 51

Refer to the exhibits.

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

A.

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

B.

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

C.

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

D.

[Req5Req10,Req15Req20, 5]

Full Access
Question # 52

How would you debug Mule applications?

A.

By Deploying apps on production

B.

Checking RAML specifications

C.

Using debugger component

D.

Use third party debugger application

Full Access
Question # 53

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

A.

#include dw::core

B.

Not needed

C.

import core

D.

import dw::core

Full Access
Question # 54

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?

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

Full Access
Question # 55

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

A.

String

B.

Object

C.

Array

D.

Map

Full Access
Question # 56

Which out of below is not an asset?

A.

Template

B.

Connector

C.

Exchange

D.

Example

Full Access
Question # 57

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?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 58

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

A.

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

B.

To design API RAML files in a graphical way

C.

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

D.

To define API lifecycle management in a graphical way

Full Access
Question # 59

Refer to exhibits.

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

A.

10

B.

50

C.

40

D.

20

Full Access
Question # 60

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

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

Full Access
Question # 61

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

A.

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

B.

Used for sending attachments

C.

Minimize the size of long text using encoding.

D.

All of the above

Full Access
Question # 62

A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?

A.

#[attributes.queryParams.firstName]

B.

#[message.queryParams.hrstName]

C.

#[message.inboundProperties.'http.query.params'.firstName]

D.

#[attributes.'http.query.params'.firstName]

Full Access
Question # 63

Refer to the exhibit.

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

A.

"Array"

B.

"Object"

C.

"LinkedHashMap"

D.

"CaselnsensitrveHashMap"

Full Access
Question # 64

According to Mulesoft, how are Modern APIs treated as?

A.

Products

B.

SOAP API's

C.

Rest API's

D.

Code

Full Access
Question # 65

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

A.

Configuration file

B.

Global element

C.

POM.xml

D.

Cloudhub

Full Access
Question # 66

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?

A.

#['MuleSoft' == paytoad.company]

B.

#[ company = "MuleSoft" ]

C.

#[ if( company = "MuleSoft") ]

D.

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

Full Access
Question # 67

Refer to the exhibits.

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

A.

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

B.

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

C.

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

D.

[orderlorder2order3order4,14]

Full Access
Question # 68

An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.

What is the payload at the event processor after the HTTP Request?

A.

The XML response body

B.

null

C.

The original JSON request body

D.

A non-empty Java object

Full Access
Question # 69

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?

A.

"Blk"

B.

"Green"

C.

A timeout error

D.

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

Full Access