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

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

Page: 1 / 23
Total 230 questions

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

Question 1

Refer to the exhibits.

Question # 1

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 2

Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.

What values are accessible to the Logger at the end of the flow after a web client submit request to http://local:801/orde r?color=red?

Question # 2

Options:

A.

payload

B.

payload quantity var

C.

payload color query param

D.

payload quantity var color query param

Question 3

What are the latest specification of RAML available?

Options:

A.

1.2

B.

1

C.

0.8

D.

2

Question 4

What module and operation will throw an error if a Mule events payload is not number ?

Options:

A.

Filter modules Is Number operation

B.

Validation modules Is Number operation

C.

Validation modules Is not Number operation

D.

None of these

Question 5

An API was designed in API Designer, published to Anypoint Exchange, then imported into API Manager.

A Mule application implements this API and is deployed to CloudHub. API Manager manages this deployed API implementation.

What is the easiest and most idiomatic (used for its intended purpose) way to enforce a Client ID Enforcement policy on this Mule application?

Options:

A.

In API Manager, apply a Client ID Enforcement policy for the API instance

B.

In Anypoint Studio, code a custom policy tor Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment

C.

In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange

D.

In API Designer, add Client ID Enforcement policy requirements to the API specification

Question 6

Refer to the exhibits.

Question # 6

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

Question # 6

Options:

A.

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

B.

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

C.

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

D.

[Req5Req10,Req15Req20, 5]

Question 7

Refer to the exhibits.

Question # 7

Question # 7

Question # 7

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)

Question # 7

B)

Question # 7

C)

Question # 7

D)

Question # 7

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 8

What is not true about application properties?

Options:

A.

Application properties can be encrypted

B.

Application properties can be overridden with system properties

C.

Application properties can be defined in .yaml file only

D.

Application properties provide easier way to manage configurable values

Question 9

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

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

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

Question # 9

Options:

A.

payload

B.

payload

pedigree query params

C.

payload

producer var

D.

payload

pedigree query params producer var

Question 10

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 11

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?

Question # 11

Options:

A.

"End"

B.

"Start"

C.

-...

D.

"Siring is not blank"

Question 12

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 13

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

Question # 13

Options:

A.

1.1. trains:

2.2. {(

3.3. a map ((engId, index) ->

4.4. train: {

5.5. TrainNumber: engId

6.6.

7.7. }

8.8. )

9.9. )}

B.

1.1. trains:

2.2. a map ((engId, index) ->

3.3. train: {

4.4. TrainNumber: engId

5.5.

6.6. }

7.7. )

C.

1.1. {(

2.2. trains:

3.3. a map ((engId, index) ->

4.4. train: {

5.5. TrainNumber: engId

6.6.

7.7. }

8.8. )

9.)}

D.

1.1. {

2.2. trains:

3.3. a map ((engId, index) ->

4.4. train: {

5.5. TrainNumber: engId

6.6.

7.7. }

8.8. )

9.}

Question 14

Refer to the exhibit.

Question # 14

What Database expression transforms the input to the output?

A)

Question # 14

B)

Question # 14

C)

Question # 14

D)

Question # 14

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 15

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 16

Refer to the exhibits.

Question # 16

Question # 16

Question # 16

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)

Question # 16

B)

Question # 16

C)

Question # 16

D)

Question # 16

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 17

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 18

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?

Options:

A.

booklSBN

B.

attributes.booklSBN

C.

flowVars.booklSBN

D.

vars. booklSBN

Question 19

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

Question # 19

A)

Question # 19

B)

Question # 19

C)

Question # 19

D)

Question # 19

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 20

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 been processed by the Mule flow since the Mule application was started?

Question # 20

Options:

A.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

B.

ID ZIPCODE

1 90001

2 90005

3 90009

5 90006

C.

ID ZIPCODE

1 90001

2 90005

3 90009

D.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

5 90006

Question 21

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 22

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?

Question # 22

Options:

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

Question 23

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

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

Options:

A.

Process layer

B.

System layer

C.

Experience layer

D.

Data layer

Question 24

Refer to the exhibits.

Larger image

Question # 24

Larger image

Question # 24

Larger image

Question # 24

The Mule application configures and uses two HTTP Listener global configuration elements.

Mule application is run in Anypoint Studio.

If the mule application starts correctly, what URI and port numbers can receive web client requests? If the mule applications fails to start , what is the reason for the failure?

Options:

A.

The mule application fails to start

There is URL path conflict because both HTTP Listeners are configured with same path

B.

The mule application start successfully

Web client requests can only be received at URI on port 2222 but not on port 3333

C.

The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333

D.

The mule application start successfully

Web client requests can be received at URI on port 2222 and on port 3333.

Question 25

How can you call a subflow from Dataweave?

Options:

A.

Not possible in Mule 4

B.

Import function

C.

Lookup function

D.

Include function

Question 26

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 27

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

Options:

A.

#include dw::core

B.

Not needed

C.

import core

D.

import dw::core

Question 28

Refer to the exhibits.

Question # 28

Question # 28

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 29

Refer to the exhibits.

Question # 29Question # 29

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

Options:

A.

Error - private flow

B.

Error - main flow

C.

Success - main flow

D.

Validation Error

Question 30

According to Mulesoft, how are Modern APIs treated as?

Options:

A.

Products

B.

SOAP API's

C.

Rest API's

D.

Code

Question 31

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?

Question # 31

A)

Question # 31

B)

Question # 31

C)

Question # 31

D)

Question # 31

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 32

What is the trait name you would use for specifying client credentials in RAML?

Options:

A.

headers

B.

client-id

C.

client-id-required

D.

cannot be specified in RAML

Question 33

Refer to the exhibit.

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

Question # 33

A)

Question # 33

B)

Question # 33

C)

Question # 33

D)

Question # 33

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 34

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 35

In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

Options:

A.

To avoid duplicate processing of records in a database.

B.

To delete the most recent records retrieved from a database to enable database caching

C.

To enable duplicate processing of records in a database

D.

To save the most recent records retrieved from a database to enable database caching

Question 36

A Mule application contains a global 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?

Options:

A.

A configuration properties file

B.

Nowhere, the global error handler is automatically used

C.

A global element

D.

The pom.xml file

Question 37

Refer to the exhibits.

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

Question # 37

Question # 37

Question # 37

Options:

A.

String

B.

Object

C.

Java

D.

XML

Question 38

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 39

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 40

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?

Options:

A.

Change the method attribute's value to "POSL

B.

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

C.

Change the protocol attribute's value to "HTTPS"

D.

Change the method attribute's value to "*"

Question 41

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?

Question # 41

Options:

A.

8

B.

0

C.

2

D.

10

Question 42

What is the minimum Cloudhub worker size that can be specified while deploying mule application?

Options:

A.

0.2 vCores

B.

0.5 vCores

C.

1.0 vCores

D.

0.1 vCores

Question 43

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 44

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

Question # 44

B)

Question # 44

C)

Question # 44

D)

Question # 44

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 45

Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?

Options:

A.

Select only Attach Project Sources only

B.

Select both Attach Project Sources and Include project modules and dependencies option

C.

Select the Include project modules and dependencies option only

D.

De-select both Attach Project Sources and Include project modules and dependencies option

Question 46

Refer to the exhibits.

Question # 46

Question # 46

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?

Options:

A.

Success - main flow

B.

Error - main flow

C.

Error - Try scope

D.

Validation Error

Question 47

Refer to the exhibit.

Question # 47

What Database expression transforms the input to the output?

A)

Question # 47

B)

Question # 47

C)

Question # 47

D)

Question # 47

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 48

Refer to the exhibits.

Question # 48

The main flow contains a Flow Reference to the child flow.

A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.

What values are accessible in the child flow?

Options:

A.

payload

B.

payload

make query param

C.

payload

model var

D.

payload

make query param model var

Question 49

Refer to the exhibits.

Question # 49

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 50

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)

Question # 50

B)

Question # 50

C)

Question # 50

D)

Question # 50

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 51

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

Options:

A.

function

B.

fun

C.

func

D.

map

Question 52

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 the last retrieved user_jd value

D.

Set the watermark column to the user_Id column

Question 53

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:

Options:

A.

1

B.

2

C.

3

D.

5

Question 54

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

Options:

A.

attributes.queryParams.dept

B.

attributes.dept

C.

message.queryParams.dept

D.

vars.dept

Question 55

Does a root element required when creating a XML response using Dataweave?

Options:

A.

Depends on requirement

B.

Not required

C.

Always required

D.

None of these

Question 56

A RAML specification is defined to manage customers with a unique identifier for each customer record. What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?

Options:

A.

/customers?custid=true&custid=1234

B.

/customers/1234

C.

/customers/custid=1234

D.

/customers?operation=get&custid=1234

Question 57

Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?

Question # 57

Options:

A.

Summary report of processed records

B.

[ "Apple", "Banana" ]

C.

[ "Apptel2", "Bananal2" ]

D.

[ "Apptel", "Bananal", 2 ]

Question 58

Refer to the exhibits.

Question # 58

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 59

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 60

Refer to the exhibit.

Question # 60

Question # 60

How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?

Options:

A.

WHERE city := ${city} AND state := ${state}

B.

WHERE city = attributes.city AND state = attributes.state

C.

WHERE city = :city AND state = :state

D.

WHERE city := city AND state := state

Question 61

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

Options:

A.

#[attributes.queryParams.firstName]

B.

#[message.queryParams.hrstName]

C.

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

D.

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

Question 62

Refer to the exhibits.

Question # 62

Question # 62

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 63

Refer to the exhibit.

Question # 63

The Mule application Is debugged in Any point Studio and stops at 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 64

Refer to the exhibits.

Question # 64

The Mule application does NOT define any global error handlers.

The Validation component in the private flow throws an error

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

Question # 64

Options:

A.

''Child error"

B.

"Parent error"

C.

"Validation Error"

D.

"Parent completed"

Question 65

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 66

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 67

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

Options:

A.

{ port : p('db.port')}

B.

{ port : {db:port}}

C.

{ port : p['db.port']}

D.

Application property cannot be accessed in Dataweave

Question 68

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?

Question # 68

Question # 68

Question # 68

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 69

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?

Options:

A.

/orders/{P05555}

B.

/orders/order=P05555

C.

/orders?order=P05555

D.

/orders/P05555

Question 70

Refer to the exhibits.

Question # 70

Question # 70

The my-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?

Options:

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 yaml file

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

Page: 1 / 23
Total 230 questions