New Year Special 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 / 24
Total 235 questions

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

Question 1

Refer to the exhibits.

Question # 1

The Mule application implements a REST API that accepts GET requests from web clients on the URLs: http://acme com/order/status and http:Vacme.com/customer/status.

What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?

Options:

A.

*[order,customer]/status

B.

*/status

C.

?[order,customer]/status

D.

*status

Question 2

Refer to the exhibits.

Question # 2

Question # 2

A web client submits the request to the HTTP Listener. What response message would be returned to web client?

Options:

A.

End

B.

String is not blank

C.

No response would be sent back to client and request will get errored out in Mule

D.

Start

Question 3

Refer to the exhibits.

Question # 3

Question # 3

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 4

Refer to the exhibit.

Question # 4

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 5

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?

Question # 5

Question # 5

Options:

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Question 6

A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.

What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?

A)

Question # 6

B)

Question # 6

C)

Question # 6

D)

Question # 6

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 7

Refer to the exhibits.

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

What response message is returned to the web client?

Question # 7

Options:

A.

""

B.

"End"

C.

"Start"

D.

"String is not blank"

Question 8

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 9

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 10

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)

Question # 10

B)

Question # 10

C)

Question # 10

D)

Question # 10

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 11

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)

Question # 11

B)

Question # 11

C)

Question # 11

D)

Question # 11

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 12

Refer to the exhibit.

Question # 12

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 13

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 14

Refer to the exhibits.

Question # 14

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 15

Refer to the exhibits.

Question # 15

How many private flows does APIKIt generate from RAML specification?

Options:

A.

1

B.

2

C.

3

D.

4

Question 16

What payload is returned by a Database SELECT operation that does not match any rows in the database?

Options:

A.

false

B.

null

C.

Exception

D.

Empty Array

Question 17

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 18

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 19

Refer to the exhibits.

Question # 19

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

Refer to the exhibits.

Question # 21

Question # 21

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 22

Which file is used to define the interface contract to invoke a web service implemented as a SOAP service

Options:

A.

RAML

B.

WSDL

C.

JSON

D.

OAS

Question 23

Refer to the exhibits.

Question # 23

Question # 23

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 24

Refer to the exhibits.

Question # 24

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 25

Which out of below is not an asset?

Options:

A.

Template

B.

Connector

C.

Exchange

D.

Example

Question 26

What asset cannot be created using Design Center?

Options:

A.

Mule Applications

B.

API fragments

C.

API specifications

D.

API portals

Question 27

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 28

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 29

Refer to the exhibit.

Question # 29

Question # 29

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 30

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 31

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 32

Refer to the exhibits.

Question # 32

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 33

Refer to the exhibit.

In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1 second to complete, and the "sleep 5 sees" Row Reference takes about 5 seconds to complete.

About how many seconds does it take from the time the Scatter-Gather is called until the Set Payload transformer is called?

Question # 33

Options:

A.

0

B.

1

C.

5

D.

6

Question 34

What is the output type of the DataWeave map operator?

Options:

A.

String

B.

Array

C.

Map

D.

Object

Question 35

Refer to the exhibit.

Question # 35

Question # 35

Question # 35

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 36

A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.

What is valid RAML to specify a method to update the details for a specific department?

A)

Question # 36

B)

Question # 36

C)

Question # 36

D)

Question # 36

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 37

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 38

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 39

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 40

Refer to the exhibits.

Question # 40

Question # 40

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 41

Refer to the exhibit.

Question # 41

What Database expression transforms the input to the output?

A)

Question # 41

B)

Question # 41

C)

Question # 41

D)

Question # 41

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 42

Refer to the exhibit.

Question # 42

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 43

Refer to the exhibit.

Question # 43

The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file

What must be added to the Mule application to link the config.yaml file's values with the property placeholders?

Options:

A.

A configuration-properties element in the acme-app xml file

B.

A dependency element in the pom xml file

C.

A file-config element in the acrne-app xml file

D.

A propertiesFile key/value pair in the mule-artifact json file

Question 44

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 45

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

B)

Question # 45

C)

Question # 45

D)

Question # 45

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 46

Refer to the exhibits.

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

1) http://acme.com/order/status

2) http://acme.com/customer/status

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?

Question # 46

Options:

A.

*[order,customer]/status

B.

?[order,customer]/status

C.

*/status

D.

*status

Question 47

What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

Question # 47

Options:

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Question 48

An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.

How should the listener be configured so it retrieves new rows at most one time?

Options:

A.

Set the target to store the last retrieved record_id value

B.

Set the ObjectStore to store the last retrieved record_id value

C.

Set the target to the record_id column

D.

Set the watermark column to the record id column

Question 49

What valid RAML retrieves details on a specific by its orderld as a URL parameter?

A)

Question # 49

B)

Question # 49

C)

Question # 49

D)

Question # 49

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 50

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

Options:

A.

8082

B.

8080

C.

7777

D.

6666

Question 51

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?

Question # 51

Options:

A.

Option A51

B.

Option B51

C.

Option C51

D.

Option D51

Question 52

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 53

An organization is beginning to follow Mulesoft's recommended API led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.

What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivity approach as compared to other common enterprise integration solutions?

Options:

A.

The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution

B.

The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes

C.

The API implementation are built with standards using common lifecycle and centralized configuration management tools

D.

The APIO implementations are monitored with common tools, centralized monitoring and security systems

Question 54

Refer to the exhibits.

Question # 54

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].

What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?

Options:

A.

vars "customer first"

B.

"customer first"

C.

customer first

D.

vars "customer" "first"

Question 55

How many Mule applications can run on a CloudHub worker?

Options:

A.

At most one

B.

At least one

C.

Depends

D.

None of these

Question 56

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

Options:

A.

payload

B.

payload quantity var

C.

payload color query param

D.

payload quantity var color query param

Question 57

Refer to the exhibits.

Question # 57

What is the response when a client submits a request to http://localhost:8081 ?

Options:

A.

After

B.

null

C.

Before

D.

Validation error

Question 58

How would you debug Mule applications?

Options:

A.

By Deploying apps on production

B.

Checking RAML specifications

C.

Using debugger component

D.

Use third party debugger application

Question 59

Refer to the exhibits.

Question # 59

Question # 59

A JSON payload is set in the Set Payload transformer.

What is logged by the Logger?

Options:

A.

"String"

B.

"Object"

C.

"Array"

D.

"JSON"

Question 60

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 61

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

A)

Question # 61

B)

Question # 61

C)

Question # 61

D)

Question # 61

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 62

Refer to the exhibit.

Question # 62

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

What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?

Options:

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Question 63

Refer to the exhibit.

Question # 63

Question # 63

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 64

A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.

The Mule application must now be exported from Anypoint Studio and shared with another developer.

What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?

Question # 64

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 65

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 66

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

Question # 66

Question # 66

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 67

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 68

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 69

What is output of Dataweave flatten function?

Options:

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Question 70

Refer to the exhibit.

Question # 70

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}

Page: 1 / 24
Total 235 questions