New Year Special Sale - 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 1 Exam (SU24) Question and Answers

Question # 4

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 # 5

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

A.

white

B.

red

C.

blue

D.

Error message

Full Access
Question # 6

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 flow executes.

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

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 "*"

Full Access
Question # 7

How many Mule applications can run on a CloudHub worker?

A.

At most one

B.

At least one

C.

Depends

D.

None of these

Full Access
Question # 8

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 # 9

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 # 10

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?

A.

examples: !include StudentExample.raml

B.

examples: #import StudentExample.raml

C.

examples: !include examples/StudentExample.raml

D.

examples: #import examples/StudentExample.raml

Full Access
Question # 11

Refer to the exhibits.

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

A.

EU

B.

US

C.

"REGION"

D.

["US", "EU"]

Full Access
Question # 12

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 # 13

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 is valid RAML to specify a method to update the details for a specific department?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 14

What statement is a part of MuleSoft's description of an application network?

A.

Creates and manages high availability and fault tolerant services and infrastructure

B.

Creates reusable APIs and assets designed to be consumed by other business units

C.

Creates and manages a collection of JMS messaging services and infrastructure

D.

Leverages Central IT to deliver complete point-to-point solutions with master data management

Full Access
Question # 15

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 # 16

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 # 17

Refer to the exhibits.

How many private flows does APIKIt generate from RAML specification?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 18

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
Question # 19

Refer to the exhibits.

Mule application has an HTTP request configuration where 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?

A.

#[training.host]

B.

${http.host}

C.

#{training.host}

D.

${training.host}

Full Access
Question # 20

An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.

How should the listener be configured so it retrieves new rows at most one time?

A.

Set the target to store the last retrieved record_id value

B.

Set the ObjectStore to store the last retrieved record_id value

C.

Set the target to the record_id column

D.

Set the watermark column to the record id column

Full Access
Question # 21

A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

A.

Mule event attributes

B.

Mule event message

C.

Mule application properties

D.

Mule event

Full Access
Question # 22

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 23

Refer to the exhibits. The Mule application does NOT define any global error handler elements. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?

A.

"End"

B.

"Start"

C.

-...

D.

"Siring is not blank"

Full Access
Question # 24

An organization's Center for enablement (C4E)has built foundational assets (API specifications and implementation templates, common frameworks, and best practices guides) and published them to Anypoint Exchange.

What is a metric related to these foundational assets that helps the organization measure the success of it's C4E efforts?

A.

Utilization counts of foundational assets in production applications

B.

Correlation of each foundational asset with the counts of developers that download such asset

C.

Correlation of key performance indicators (KPI) of production applications with foundational assets

D.

Count how many Lines Of Business (LoBs) onsumed each foundational asset

Full Access
Question # 25

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 # 26

A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according to MuleSoft best practices.

What URI should a web client use to request order P05555?

A.

/orders/{P05555}

B.

/orders/order=P05555

C.

/orders?order=P05555

D.

/orders/P05555

Full Access
Question # 27

Refer to the exhibits.

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?

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?

A.

Success - main flow

B.

Error - main flow

C.

Error - Try scope

D.

Validation Error

Full Access
Question # 28

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?

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)

Full Access
Question # 29

Refer to the exhibits.

A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.

What response message is returned to the web client?

A.

‘’FILE:CONNECnvnY'

B.

"ORDER:NOT_CREATED"

C.

"OTHER ERROR"

D.

"File written"

Full Access
Question # 30

Refer to the exhibit.

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

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 31

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

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

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 32

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

A.

Choice

B.

Round Robin

C.

Pick First

D.

First Successful

Full Access
Question # 33

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 # 34

Refer to the exhibits.

The Mule application implements a REST API 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?

A.

*[order,customer]/status

B.

*/status

C.

?[order,customer]/status

D.

*status

Full Access
Question # 35

Refer to the exhibit.

What expression correctly specifies input parameters 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 # 36

In an application network. If the implementation but not the interface of a product API 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 to consume the updated product API

D.

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

Full Access
Question # 37

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?

A.

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

B.

Install the dependency to the computer's local Maven repository

C.

Deploy the dependency to MuleSoft's Maven repository

D.

Add the dependency to the MULE_HOME/bin folder

Full Access
Question # 38

Which one of them is NOT a flow in Mule?

A.

sync flow

B.

subflow

C.

async sub flow

D.

async flow

Full Access
Question # 39

Refer to the exhibit.

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

A.

(employeelD)

B.

${emp!oyeelD}

C.

{employeelD}

D.

# [employeelD]

Full Access
Question # 40

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?

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Full Access
Question # 41

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 # 42

Where would you create SLA Tiers for an API?

A.

Exchange

B.

API Manager

C.

Anypoint Studio

D.

In RAML specifications

Full Access
Question # 43

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?

A.

8

B.

0

C.

2

D.

10

Full Access
Question # 44

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?

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

Full Access
Question # 45

Refer to the exhibits.

A web client submits a request to below flow. What is the output at the end of the flow?

A.

String

B.

Object

C.

Java

D.

XML

Full Access
Question # 46

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 # 47

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 48

Which of the module is imported automatically in Dataweave scripts?

A.

dw::core

B.

dw::System

C.

dw::Runtime

D.

dw::Crypto

Full Access
Question # 49

Refer to the exhibit.

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 50

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?

A.

A non-empty Java object

B.

The original XML payload

C.

null

D.

The returned JSON response

Full Access
Question # 51

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 step to fix this error?

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

Full Access
Question # 52

Pick the component with which DataWeave is tightly integrated.

A.

All APIs

B.

Mule runtime

C.

Exchange

D.

Flow Designer

Full Access
Question # 53

Which of the below is not a valid category for connector type?

A.

Gold

B.

Select

C.

Premium

D.

Community

Full Access
Question # 54

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

A.

Inbound Properties

B.

Variables

C.

Attributes

D.

Payload

Full Access
Question # 55

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

A.

API Notebook

B.

Runtime Manager

C.

Anypoint Visualizer

D.

API Manager

Full Access
Question # 56

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 the correct DataWeave to call the encryptString function in a Transform Message component?

A.

1. %dw 2.0

2. output application/json

3. import modules::Utility

4. ---

5. Utility::encryptString( "John Smith" )

B.

1. %dw 2.0

2. output application/json

3. import modules::Utility

4. ---

5. encryptString( "John Smith" )

C.

1. %dw 2.0

2. output application/json

3. import modules.Utility

4. ---

5. encryptString( "John Smith" )

D.

1. %dw 2.0

2. output application/json

3. import modules.Utility

4. ---

5. Utility.encryptString( "John Smith" )

Full Access
Question # 57

What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 58

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.

How many seconds does it take for the Scatter_Gather to complete?

A.

0

B.

10

C.

20

D.

30

Full Access
Question # 59

Refer to the exhibit.

What data is expected by the POST /accounts endpoint?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 60

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?

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"

Full Access
Question # 61

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 # 62

Which out of below is not an asset?

A.

Template

B.

Connector

C.

Exchange

D.

Example

Full Access
Question # 63

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

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

Full Access
Question # 64

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 # 65

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

A.

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

B.

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

C.

None of these

D.

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

Full Access
Question # 66

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

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Full Access
Question # 67

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

A.

booklSBN

B.

attributes.booklSBN

C.

flowVars.booklSBN

D.

vars. booklSBN

Full Access
Question # 68

An SLA based policy has been enabled in API Manager. What is the next step to configure the API proxy to enforce the new SLA policy?

A.

Add new property placeholders and redeploy the API proxy

B.

Add new environment variables and restart the API proxy

C.

Restart the API proxy to clear the API policy cache

D.

Add required headers to the RAML specification and redeploy the new API proxy

Full Access
Question # 69

Refer to the exhibit.

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

A.

After

B.

before

C.

Validation Error

D.

null

Full Access
Question # 70

A Mule application contains two HTTP Listeners, each configured for different API endpoints: http://acme.com/apis/orders 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?

A.

/apis/?

B.

/apis/

C.

/apis/orders|customers

D.

/apis/*

Full Access