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

Free and Premium Salesforce Salesforce-MuleSoft-Developer-I Dumps Questions Answers

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

Question 1

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

Buy Now
Question 2

Refer to exhibits.

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

Options:

A.

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

B.

The city is + #[payload.City]

C.

The city is #[payload.City]

D.

#[The city is ${payload.City}

Question 3

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 4

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 5

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 6

Which one of them is NOT a flow in Mule?

Options:

A.

sync flow

B.

subflow

C.

async sub flow

D.

async flow

Question 7

Refer to the exhibits.

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

What response is returned to the web client?

Options:

A.

Hello- HTTP-] MS2-Three

B.

HTTP-JMS2-Three

C.

Helb-JMS1-HTTP-JMS2 -Three

D.

Hello-HTTP-Three

Question 8

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

Options:

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

Question 9

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 10

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 11

Refer to the payload.

The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]"

What is the output of logger when this flow executes?

Options:

A.

Result INFOpayload

B.

Result INFO{"student":{"name":"Anay","age":6}}

C.

1. 1. "You called the function '++' with these arguments:

2. 2. 1: String ("INFO")

3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)

D.

Error : You evaluated inline expression # without ++

Question 12

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

Options:

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

Question 13

How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?

Options:

A.

As query parameters in the HTTP Request operation

B.

As URI parameters in the HTTP Request operation

C.

In the Mule event's payload

D.

As flow variables

Question 14

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?

Options:

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

Question 15

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)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 16

What is the output type of the DataWeave map operator?

Options:

A.

String

B.

Array

C.

Map

D.

Object

Question 17

Refer to the exhibits.

The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?

Options:

A.

[ ["A", "C", "D" ], ["E"] ]

B.

[''E'']

C.

[''D", "E"]

D.

[ "A", "C, "D", "E" ]

Question 18

A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function 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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 19

Refer to the exhibits.

In the Choice router, the When expression for the domesticShipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?

Options:

A.

A string with value "FR"

B.

A DataVVeave syntax error

C.

The result of the intemationalShipping flow

D.

The result of the domesticShipoing flow

Question 20

An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.

An SLA- based policy is enabled in API manager for this API instance.

Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

Options:

A.

In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy

B.

In Anypoint Studio, from components generated by APIkit for the API specification

C.

In Anypoint Studio, from components generated by Rest Connect for API specification

D.

In Runtime Manager, from the properties tab of the deployed approved API proxy

Question 21

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 22

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 23

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 24

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

Options:

A.

function

B.

fun

C.

func

D.

map

Question 25

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 26

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 27

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

Options:

A.

GET

B.

PATCH

C.

PUT

D.

POST

Question 28

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 29

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)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 30

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 31

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

Options:

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

Question 32

According to Mulesoft, how are Modern APIs treated as?

Options:

A.

Products

B.

SOAP API's

C.

Rest API's

D.

Code

Question 33

Refer to the exhibit.

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

Options:

A.

Mule event

B.

Mule message payload

C.

Mule message

D.

Mule message attributes

Question 34

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 35

What should this endpoint return? &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 36

A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.

What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

Options:

A.

Put the Database SELECT operation inside a Cache scope

B.

Put the Database SELECT operation inside a Message Enricher scope

C.

Nothing, previous payloads are combined into the next payload

D.

Save the payload from the Database SELECT operation to a variable

Question 37

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?

Options:

A.

Success - main flow

B.

Error - main flow

C.

Error - Try scope

D.

Validation Error

Question 38

An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.

What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?

Options:

A.

Register the same API implementation in Runtime Manager to connect to API Manager

B.

Modify the API implementation to use auto-discovery to register with API Manager

C.

Upload the Mule application's JAR file to the API instance in API Manager

D.

Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager

Question 39

Refer to the exhibit.

The default scope in choice router recursively calls the color flow.

A web client sends a PUT request to the HTTP listener with payload Blue.

What response is returned to the web client?

Options:

A.

"Blk"

B.

"Green"

C.

A timeout error

D.

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

Question 40

Refer to the below exhibit.

A Mule application configures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector.

What is the valid properties placeholder file to set these values?

Options:

A.

1.http:

2. host = "localhost"

3. port = "8081"

B.

1.http:

2. basepath: "api"

3. host : "localhost"

4. port : "8081"

C.

1. http.host = localhost

2. http.port = 8081

D.

1. {

2. http:

3. basePath: "api",

4. port: "8081",

5. host: " localhost"

Question 41

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

Options:

A.

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

B.

Both are single-threaded

C.

Both are multi-threaded

D.

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

Question 42

Refer to the exhibits.

A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich the payload by prepending a vendor name to the sale data.

What is written to the sales.csv file when the flow executes?

Options:

A.

The enriched payload in JSON format

B.

The enriched payload in XML format

C.

The enriched payload in CSV format

D.

An error message

Question 43

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 44

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?

Options:

A.

10

B.

50

C.

40

D.

20

Question 45

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 46

Refer to the exhibits.

A web client submits a request to /flights. What is the result at the end of the flow?

Options:

A.

"string"

B.

"Java"

C.

"object"

D.

"XML"

Question 47

Refer to the exhibits.

The expression for the Choice router needs to be written.

What is a valid expression to route Mule events to the non-default flow?

Options:

A.

#['MuleSoft' == paytoad.company]

B.

#[ company = "MuleSoft" ]

C.

#[ if( company = "MuleSoft") ]

D.

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

Question 48

What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

Options:

A.

Attributes are replaced with new attributes from the HTTP Request response (which might be null)

B.

New attributes may be added from the HTTP response headers, but no headers are ever removed

C.

Attributes do not change

D.

Previous attributes are passed unchanged

Question 49

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

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 50

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

Options:

A.

API Notebook

B.

Runtime Manager

C.

Anypoint Visualizer

D.

API Manager

Question 51

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 52

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 53

Refer to the exhibits.

The mule application implements a REST API that accepts GET request from two URL's which are as follows

1)

2)

What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL's using a single HTTP listener event source?

Options:

A.

*[order,customer]/status

B.

?[order,customer]/status

C.

*/status

D.

*status

Question 54

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 55

Refer to the exhibit.

The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.

What is the next step to fix the error to get the project to run successfully?

Options:

A.

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

B.

Install the dependency to 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 56

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

and

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 57

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 58

Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

Options:

A.

[10. 20, 30. 40, 50, 60]

B.

[10. 20] [30, 40] [50, 60]

C.

[20, 40, 60]

D.

[20. 40] [60]

Question 59

To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.

Where does the configuration file's location need to be specified in the Mule application?

Options:

A.

The pom.xml file

B.

A global element

C.

The mule-art if act .json file

D.

a flow attribute

Question 60

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 61

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 62

Refer to the exhibits.

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?

Options:

A.

''Child error"

B.

"Parent error"

C.

"Validation Error"

D.

"Parent completed"

Question 63

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?

Options:

A.

Summary report of processed records

B.

[ "Apple", "Banana" ]

C.

[ "Apptel2", "Bananal2" ]

D.

[ "Apptel", "Bananal", 2 ]

Question 64

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 ?

Options:

A.

1. #%RAML 1.0

2. title: Books

3. types:

4. Book: ABC/Examples/bookDataType.raml

5. /books:

6. post:

7. body:

8. application/json:

9. type: Book

10. examples:

11. input: ABC/Examples/bookExample.raml

12. responses:

13. 201:

14. body:

15. application/json:

16. example:

17. message: Book added

B.

1.#%RAML 1.0

2.title: Books

3.Book: !include bookDataType.raml

4./books:

5. post:

6. body:

7. application/json:

8. type: Book

9. examples:

10. input: !include bookExample.raml

11. responses:

12. 201:

13. body:

14. application/json:

15. example:

16. message: Book added

C.

1.#%RAML 1.0

2.title: Books

3.Book: bookDataType.raml

4./books:

5. post:

6. body:

7. application/json:

8. type: Book

9. examples:

10. input: bookExample.raml

11. responses:

12. 201:

13. body:

14. application/json:

15. example:

16. message: Book added

D.

1.#%RAML 1.0

2.title: Books

3.Book: bookDataType.raml

4./books:

5. post:

6. body:

7. application/json:

8. type: Book

9. examples:

10. input: bookExample.raml

11. responses:

12. 201:

13. body:

14. application/json:

15. example:

16. message: Book added

Question 65

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?

Options:

A.

Start

B.

Process

C.

Finished

D.

Payload is always empty at the breakpoint

Question 66

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 67

Refer to the exhibit.

What is the response to a web client request to ?

Options:

A.

After

B.

before

C.

Validation Error

D.

null

Question 68

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

Options:

A.

Scatter-Gather Router

B.

First Successful Router

C.

Parallel For Each

D.

Batch job

Question 69

Refer to the exhibit.

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

Options:

A.

(employeelD)

B.

${emp!oyeelD}

C.

{employeelD}

D.

# [employeelD]

Question 70

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