Month End Sale 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 exhibits.

Question # 1Question # 1

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 2

Refer to the exhibits.

Question # 2

The Set Payload transformer's value is set to {'year': '2020'}.

What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?

Options:

A.

'#[The year is $(pay load .year)]*

B.

The year is #[payload.year]'

C.

'#[The year is " + paytoad.year]'

D.

#["The year is "++ payload.year].

Question 3

What is the output of Dataweave Map operator?

Options:

A.

Map

B.

Object

C.

String

D.

Array

Question 4

Refer to the exhibit.

Question # 4

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 5

Refer to the exhibits.

Question # 5

Question # 5

Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.

What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

Options:

A.

firstName

B.

customer.firstName

C.

vars."customer.firstName"

D.

vars."customer"."firstName"

Question 6

Refer to the exhibits.

Question # 6

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 7

What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?

Options:

A.

/(*)

B.

/

C.

/()

D.

“/*”

Question 8

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 9

Refer to the exhibits.

Question # 9

The Set Payload transformer In the addltem subflow 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 subflow to add a router cable with the price of 100 to the order?

Options:

A.

addltemf { payload: { price: "100", item: "router", itemType: "cable" } > )

B.

lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )

C.

addltemf { price: "100", item: "router", itemType: "cable" })

D.

lookupf "addltem", { price: "100", item: "router", itemType: "cable" } )

Question 10

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

Options:

A.

No change

B.

MINOR

C.

MAJOR

D.

PATCH

Question 11

Refer to the exhibits.

Question # 11

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

Options:

A.

The JSON payload

B.

An error message

C.

Nothing

D.

The payload convert to CVS

Question 12

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 13

Refer to the exhibits.

Question # 13

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 14

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 15

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 16

Refer to the exhibits.

Question # 16

Question # 16

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 17

Refer to the exhibits.

Question # 17

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.

What is the payload shown in the debugger at this breakpoint?

Options:

A.

"none"

B.

The entire CSV file

C.

The database response

D.

100

Question 18

Which out of below is not an asset?

Options:

A.

Template

B.

Connector

C.

Exchange

D.

Example

Question 19

Refer to the exhibits.

Question # 19

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

Options:

A.

''Child error"

B.

"Parent error"

C.

"Validation Error"

D.

"Parent completed"

Question 20

What is the main purpose of flow designer in Design Center?

Options:

A.

To design and develop fully functional Mule applications in a hosted development environment

B.

To design API RAML files in a graphical way

C.

To design and mock Mule application templates that must be implemented using Anypoint Studio

D.

To define API lifecycle management in a graphical way

Question 21

Refer to the exhibits.

Larger image

Question # 21

Larger image

Question # 21

Larger image

Question # 21

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 22

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 23

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 24

What should this endpoint return considering the API is build using standard practices?

http://dev.acme.com/api/patients?year=2021

Options:

A.

Patient with id 2021

B.

Patients from year 2021

C.

No patients

D.

All patients

Question 25

Refer to the exhibit.

Question # 25

Question # 25

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 26

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

Question # 26

Question # 26

Options:

A.

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

B.

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

C.

[20, 40, 60]

D.

[20. 40] [60]

Question 27

Refer to the exhibit.

Question # 27

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 28

Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

Options:

A.

Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener

B.

Allows CloudHub to automatically register the application with API Manager

C.

Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener

D.

Allows clients to VPN directly to the application at the Mule application's configured HTTP port

Question 29

According to Mulesoft, how are Modern APIs treated as?

Options:

A.

Products

B.

SOAP API's

C.

Rest API's

D.

Code

Question 30

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

Question # 30

Options:

A.

[order1, order2, order3, order4]

B.

[1, 2, 3, 4]

C.

order4

D.

order1order2order3order4

Question 31

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 32

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 33

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]

Page: 1 / 23
Total 226 questions