Black Friday / Cyber Monday Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

MuleSoft MCD-Level-1 MuleSoft Certified Developer - Level 1 (Mule 4) Exam Practice Test

Page: 1 / 23
Total 226 questions

MuleSoft Certified Developer - Level 1 (Mule 4) Questions and Answers

Question 1

Refer to the exhibit.

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

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 2

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 3

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 4

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 5

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 6

Where would you create SLA Tiers for an API?

Options:

A.

Exchange

B.

API Manager

C.

Anypoint Studio

D.

In RAML specifications

Question 7

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?

Options:

A.

payload

B.

payload quantity var

C.

payload color query param

D.

payload quantity var color query param

Question 8

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 9

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 10

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

To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId

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

Options:

A.

1./department:

2. get:

3. uriParameter:

4. storeId:

B.

1.get:

2.uriParameter:

3.{storeId}:

4.queryParameter:

5.department:

C.

1.get:

2. queryParameter:

3. department:

4. uriParameter:

5. {storeId}:

D.

1./{storeId}:

2. get:

3. queryParameter:

4. department:

Question 11

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 12

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 13

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?

Options:

A.

payload

B.

payload

pedigree query params

C.

payload

producer var

D.

payload

pedigree query params producer var

Question 14

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 15

Refer to the exhibits.

A web client sends a GET request to the HTTP Listener.

What response message is returned to the web client?

Options:

A.

""

B.

"End"

C.

"Start"

D.

"String is not blank"

Question 16

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

Options:

A.

function

B.

fun

C.

func

D.

map

Question 17

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 18

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

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

Options:

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

Question 19

What of the below is not a feature of API Notebooks?

Options:

A.

API documentation

B.

Creates a client for an API

C.

Creates a mock service for an API

D.

Perform authenticated live calls on a real server

Question 20

Refer to the exhibits.

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

Question 21

Refer to the exhibits.

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

Options:

A.

The payload and all attributes

B.

The payload and all variables

C.

The entire Mule event

D.

The payload

Question 22

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 http://localhost:8081/order? col or = red?

Options:

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Question 23

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

Options:

A.

8082

B.

8080

C.

7777

D.

6666

Question 24

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 25

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 26

Refer to the exhibits.

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

Options:

A.

"string"

B.

"Java"

C.

"object"

D.

"XML"

Question 27

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 28

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 29

Refer to the exhibits. What payload is logged at the end of the main flow?

Options:

A.

[order1, order2, order3, order4]

B.

[1, 2, 3, 4]

C.

order4

D.

order1order2order3order4

Question 30

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 31

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 32

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 33

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

Page: 1 / 23
Total 226 questions