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

Free and Premium MuleSoft MCD-Level-1 Dumps Questions Answers

Page: 1 / 18
Total 235 questions

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

Question 1

Refer to the exhibit.

What can be added to the flow to persist data across different flow executions?

Options:

A.

Key/value pairs in the ObjectStore

B.

Properties of the Mule runtime flow object

C.

properties of the Mule runtime app object

D.

session variables

Buy Now
Question 2

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 3

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 4

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 5

Refer to the exhibits.

Mule application has an HTTP request configuration where host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?

Options:

A.

#[training.host]

B.

${http.host}

C.

#{training.host}

D.

${training.host}

Question 6

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 7

A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call the updateTemp flow After the test flow returns a response, the web client then sends a different GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time.

What response is returned from the request to the getTemp flow's HTTP Listener?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

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

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 10

Correct answer is {customerID}.

Options:

A.

var toUpper(userName) -> upper(userName)

B.

fun toUpper(userName) = upper(userName)

C.

fun toUpper(userName) -> upper(userName)

D.

var toUpper(userName) = upper(userName)

Question 11

Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.

What response message is returned to the web client?

Options:

A.

Validation Error

B.

"END"

C.

"ERROR1"

D.

''ERROR2"

E.

Validation Error

F.

"END"

G.

"ERROR1"

Question 12

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 13

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 14

Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.

A web client sends a GET request to the HTTP Listener with the sty query parameter set to 30.

After the HTTP Request operation completes, what parts of the Mule event at the main flow's Logger component are the same as the Mule event that was input to the HTTP Request operation?

Options:

A.

The payload and all variables

B.

All variables

C.

The entire Mule event

D.

The payload and all attributes

Question 15

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

Options:

A.

1

B.

2

C.

3

D.

4

Question 16

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 17

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 18

What is the correct syntax to define and call a function in Database?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 19

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 20

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 21

Refer to the exhibits. In the color flow , both the variable named color and payload are set to "red".

An HTTP POST request is then sent to the decideColor flow's HTTP Listener.

What is the payload value at the Logger component after the HTTP request completes?

Options:

A.

white

B.

red

C.

blue

D.

Error message

Question 22

Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

Options:

A.

Configuration file

B.

Global element

C.

POM.xml

D.

Cloudhub

Question 23

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 24

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 25

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 26

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 27

Refer to the exhibit.

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.

What is a valid RAML specification that reuses the Plan data type?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 28

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 29

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 30

Refer to the exhibit.

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}

Question 31

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 32

Refer to the exhibits.

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

Options:

A.

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

B.

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

C.

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

D.

[Req5Req10,Req15Req20, 5]

Question 33

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 34

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 35

Refer to the exhibits.

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 36

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 37

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 col or = red?

Options:

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Question 38

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 39

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 40

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 41

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 42

A function named newProdCode needs to be defined that accepts two input parameters, an integer value for itemID and a string value for productCategory, and returns a new product code.

What is the correct DataWeave code to define the newProdCode function?

Options:

A.

fun newProdCode{itemID: Number, productCategory: String) —> "PC-" ++ productCategory ++ (itemID as String)

B.

fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)

C.

function newProdCode(itemID: Number, productCategory: String) =

"PC-" ++ productCategory ++ (itemID as String)

D.

var newProdCode(itemID: Number, productCategory: String) ->

"PC-" ++ productCategory ++ (itemID as String)

Question 43

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 44

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 45

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 46

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

Options:

A.

function

B.

fun

C.

func

D.

map

Question 47

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

Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.

Next set of requirement is to have a setPayload transformer which will set below two values

1) orderkey which needs to set to be equal to the order element received in the original request payload.

2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow

What is the straightforward way to properly configure the Set Payload transformer with the required data?

A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below

Options:

A.

1. 1. {

2. 2. orderkey: "payload.order",

3. 3. addresskey: "vars.address"

4. 4. }

B.

1. 1. {

2. 2. orderkey: "attributes.shippingaddress.order",

3. 3. addresskey: "payload"

4. }

C.

1. 1. {

2. 2. orderkey: "payload.order",

3. 3. addresskey: "address"

4. }

D.

1. 1. {

2. 2. orderkey: "attributes.order",

3. 3. addresskey: "vars.address"

4. }

Question 50

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 51

Refer to the exhibits.

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 52

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

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 54

What are the latest specification of RAML available?

Options:

A.

1.2

B.

1

C.

0.8

D.

2

Question 55

Refer to the exhibit. APIkit is used to generate flow components for the RAML specification.

How many apikit:router XML elements are generated to handle requests to every endpoint defined in the RAML specification?

Options:

A.

3

B.

5

C.

2

D.

1

Question 56

Refer to the exhibits.

The Batch Job scope contains two Batch Steps scopes with different accept expression.

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

Options:

A.

1.{amount=140}

2.{amount=102}

3.{step2amount=100}

B.

1.{amount=140}

2.{amount=102}

3.{step2amount=100}

4.{step2amount=40}

C.

1.{amount=140}

2.{amount=102}

3.{step2amount=100}

4.{step2amount=140}

D.

1.{amount=140}

2.{amount=102}

3.{step2amount=100}

4.{step2amount=140}

5.{step2amount=102}

Question 57

Which of the below is not a valid category for connector type?

Options:

A.

Gold

B.

Select

C.

Premium

D.

Community

Question 58

Refer to the exhibit.

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 color=red?

Options:

A.

payload

B.

payload

quantity var

C.

payload

color query param

D.

payload

quantity var color query param

Question 59

Which of the below functionality is provided by zip operator in DataWeave?

Options:

A.

Merges elements of two lists (arrays) into a single list

B.

Used for sending attachments

C.

Minimize the size of long text using encoding.

D.

All of the above

Question 60

What is the purpose of the api:router element in APIkit?

Options:

A.

Creates native connectors using a 3rd party Java library

B.

Serves as an API implementation

C.

Validates requests against RAML API specifications and routes them to API implementations

D.

Validates responses returned from API requests and routes them back to the caller

Question 61

Refer to the exhibits.

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 62

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 63

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?

Options:

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Question 64

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 65

What is the output of Dataweave Map operator?

Options:

A.

Map

B.

Object

C.

String

D.

Array

Question 66

What is minimal requirement in a flow for a Mule application to compile?

Options:

A.

Event Source

B.

Event Processors

C.

Error handlers

D.

Source and processors both

Question 67

Pick the component with which DataWeave is tightly integrated.

Options:

A.

All APIs

B.

Mule runtime

C.

Exchange

D.

Flow Designer

Question 68

Refer to the exhibits.

Larger image

Larger image

Larger image

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 69

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 70

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

Page: 1 / 18
Total 235 questions