New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

Salesforce Salesforce-MuleSoft-Developer-I Salesforce Certified MuleSoft Developer 1 Exam (SU24) Exam Practice Test

Salesforce Certified MuleSoft Developer 1 Exam (SU24) Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

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

What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

Options:

A.

Data layer

B.

Process layer

C.

Experience layer

D.

System layer

Question 2

According to Semantic Versioning, which version would you change for incompatible API changes?

Options:

A.

No change

B.

MINOR

C.

MAJOR

D.

PATCH

Question 3

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 4

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 5

What MuleSoft product enables publishing, sharing, and searching of APIs?

Options:

A.

Runtime Manager

B.

API Notebook

C.

API Designer

D.

Anypoint Exchange

Question 6

Refer to the exhibits.

A Mule application is being developed to process web client POST requests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector's Shipping Address operation is configured with a target named shippingAddress.

The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation's response

What is a straightforward way to property configure the Set Payload transformer with the required data?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 7

A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?

Options:

A.

An Array of the three Mule event Objects

B.

An Object containing all three Mule event Objects

C.

An Array of the three JSON payload Objects

D.

An Object containing all three JSON payload Objects

Question 8

Refer to the exhibit.

What should be changed to fix the 415 error?

Options:

A.

set the response Content-Type header to text/plain

B.

set the response Content-Type header to application/json

C.

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

D.

set the request Content-Type header to text/plain

Question 9

Refer to the exhibits.

What is the response when a client submits a request to ?

Options:

A.

After

B.

null

C.

Before

D.

Validation error

Question 10

Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.

During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.

What attribute you would change in ClientRequestFlow to make this implementation work successfully?

Options:

A.

Change the method attribute value to "*’’

B.

Change the path attribute value to "/api/ship"

C.

Change the allowed method attributes value to "POST"

D.

Change the protocol attribute value to "HTTPS"

Question 11

Refer to the exhibit.

What is a valid expression for the Choice router’s when expression to route events to the documenticShipping flow?

Options:

A.

0#[ payload = 'US' ]

B.

#[ payload == 'US' J

C.

#[ if(payload = 'US') J

D.

#[ if(payload == "US") ]

Question 12

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

Options:

A.

Mule event attributes

B.

Mule event message

C.

Mule application properties

D.

Mule event

Question 13

A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder

What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "cindy.park@example.com"?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 14

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 15

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?

Options:

A.

The XML response body

B.

null

C.

The original JSON request body

D.

A non-empty Java object

Question 16

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 17

Refer to the 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: 3

Successful Records: 3

Failed Records: 0

payload: ["A","B","C"]

B.

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

C.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

payload: ["a", "b", "c"]

D.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

Question 18

Refer to the exhibits.

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 19

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

What is the next step to 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 20

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 21

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

Options:

A.

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

B.

Used for sending attachments

C.

Minimize the size of long text using encoding.

D.

All of the above

Question 22

A flow contains 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 23

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 24

What is the purpose of the api:router element in APIkit?

Options:

A.

Creates native connectors using a 3rd party Java library

B.

Serves as an API implementation

C.

Validates requests against RAML API specifications and routes them to API implementations

D.

Validates responses returned from API requests and routes them back to the caller

Question 25

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 26

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 27

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 28

A Mule application configured with Autodiscovery implements an API.

Where is governance enforced for policies defined for this Mule application?

Options:

A.

In Runtime Manager

B.

Runtime Manager

C.

In the Mule application

D.

In API manager

Question 29

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 correct DataWeave 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.etl

2. 2. ---

3. 3. WebStore.loginUser("Todd.Pal@mulesoft.com")

B.

1. 1. import * from libs::etl

2. 2. ---

3. 3. WebStore::loginUser("Todd.Pal@mulesoft.com")

C.

1. 1. import libs.etl.WebStore

2. 2. ---

3. 3. loginUser("Todd.Pal@mulesoft.com")

D.

1. 1. import * from libs::etl::WebStore

2. 2. ---

3. 3. loginUser("Todd.Pal@mulesoft.com")

Question 30

What does C4E stands for in MuleSoft recommended IT operating model?

Options:

A.

Centre for Empowerment

B.

Centre for Engagement

C.

Centre for Enablement

D.

Centre for Excellence

Question 31

Refer to the exhibits.

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

Options:

A.

1. 1. trains:

2. 2. conductorIds map ((engId, index) ->

3. 3. train: {

4. 4. engineerId: engId

5. 5. }

6. 6. )

B.

1. 1. { trains:

2. 2.

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. }

C.

1. 1. trains:

2. 2. {(

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. )}

D.

1. 1. {( trains:

2. 2.

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. )}

Question 32

Which out of below is not an asset?

Options:

A.

Template

B.

Connector

C.

Exchange

D.

Example

Question 33

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

Options:

A.

Object of String file names

B.

Array of String file names

C.

Object of Mule event objects

D.

Array of Mule event objects

Question 34

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 35

According to MuleSoft. what is the first step to create a Modern API?

Options:

A.

Gather a list of requirements to secure the API

B.

Create an API specification and get feedback from stakeholders

C.

Performance tune and optimize the backend systems and network

D.

Create a prototype of the API implementation

Question 36

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 log message 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?

Options:

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

Question 37

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 the last batch step: [StepTwol, StepTwo2, StepTwo3]

C.

The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]

D.

The original payload: [1,2,31

Question 38

What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?

Options:

A.

The payload is: $(payload)

B.

#["The payload is: " ++ payload]

C.

The payload is: #[payload]

D.

#["The payload is: " + payload]

Question 39

Refer to the exhibits.

The Batch Job scope contains two Batch Step 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 40

Refer to the exhibits.

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

Options:

A.

String

B.

Object

C.

Java

D.

XML

Question 41

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?

Options:

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

Question 42

Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 43

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 44

Refer to the exhibit.

All three of the condition 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 45

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 46

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

Options:

A.

function

B.

fun

C.

func

D.

map

Question 47

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 48

How we can scale deployed Mule application vertically on cloudhub?

Options:

A.

Changing worker size

B.

Adding multiple workers

C.

Mule applications can be scaled only horizontally

D.

Option 1 and 2 both can be used

Question 49

Refer to the 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 50

Refer to the exhibits.

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

Options:

A.

Processing

B.

Begin

C.

Finished

Question 51

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?

Options:

A.

‘’FILE:CONNECnvnY'

B.

"ORDER:NOT_CREATED"

C.

"OTHER ERROR"

D.

"File written"

Question 52

An API has been created in Design Center. What is the next step to make the API discoverable?

Options:

A.

Publish the API 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 53

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 54

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

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

Options:

A.

Center of Excellence

B.

Center for Enablement

C.

MuleSoft Support Center

D.

Central API Review Board

Question 55

A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?

Options:

A.

All processing of the batch job stops.

B.

Event processing continues to the next batch step.

C.

Error is ignored

D.

Batch is retried

Question 56

Refer to the exhibits.

The main flow contains an HTTP 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 col or = red?

Options:

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Question 57

Refer to the exhibit.

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 58

What is the output of Dataweave Map operator?

Options:

A.

Map

B.

Object

C.

String

D.

Array

Question 59

What is the correct syntax to define and call a function in Database?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 60

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 61

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?

Options:

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

Question 62

Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

Options:

A.

Response body: "Error" Default response status code: 200

B.

Response body: "Success - Begin* Default response status code: 200

C.

Error response body: error, description Default error response status code: 500

D.

Response body: "Success - End" Default response status code: 200

Question 63

Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.

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 64

A web client submits a request to The query parameter is captured using a Set Variable transformer to a variable named accountType.

What is the correct DataWeave expression to log accountType?

Options:

A.

Account Type: #[flowVars.accountType]

B.

Account Type: #[message.inboundProperties.accountType]

C.

Account Type: # [attributes.accountType]

D.

Account Type: #[vars.accountType]

Question 65

Refer to the exhibit.

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

Options:

A.

lookupC createCustomerObJect( "Alice", "Green- ) )

B.

createCustomerObject( { first: "Alice", last: "Green" > )

C.

lookupf "createCustomerObject", { first: "Alice", last: "Green" > )

D.

createCustomerObject( "Alice", "Green")

Question 66

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 67

Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification.

An API implementation is created for this RAML API specification.

What is valid JSON input for a request from a web client to an implementation of this RAML API specification?

Options:

A.

B.

C.

D.

Question 68

Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?

Options:

A.

(customerlD)

B.

{customerlD}

C.

#[customerlD]

D.

${ customerID}

Question 69

Refer to the exhibits The Mule application does NOT define any global error handlers.

A web client sends a POST request to the Multi application with this input payload The File Write operation throws a FILECONNECTIVITY error

What response message is returned to the web client?

Options:

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Question 70

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}