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

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

Questions 4

What is the output type of the DataWeave map operator?

Options:

A.

String

B.

Array

C.

Map

D.

Object

Buy Now
Questions 5

Refer to the exhibit.

What should be changed to fix the 415 error?

Options:

A.

set the response Content-Type header to text/plain

B.

set the response Content-Type header to application/json

C.

Set the request Content-Type header to application/] son

D.

set the request Content-Type header to text/plain

Buy Now
Questions 6

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

Buy Now
Questions 7

Refer to the exhibits.

What is valid text to set the field in the Database connector configuration to the username value specified in the config.yaml file?

Options:

A.

${db.username>

B.

#[db.username]

C.

#[db:username]

D.

${db:username>

Buy Now
Questions 8

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

Buy Now
Questions 9

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

Buy Now
Questions 10

Refer to the exhibits.

Each route in the Scatter-Gather sets the payload to the number shown in the label. What response is returned to a web client request to the HTTP Listener?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 11

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.

Buy Now
Questions 12

Refer to the exhibits.

A Mule application is being developed to process web client POST requests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector's Shipping Address operation is configured with a target named shippingAddress.

The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation's response

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 13

Refer to the exhibit.

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

Options:

A.

After

B.

before

C.

Validation Error

D.

null

Buy Now
Questions 14

In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.

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

Options:

A.

8

B.

0

C.

2

D.

10

Buy Now
Questions 15

Refer to the exhibit.

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

Buy Now
Questions 16

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

Buy Now
Questions 17

A web client submits a request to http://localhost:8081/books/0471767840. The value "0471767840" is captured by a Set Variable transformer to a variable named booklSBN.

What is the DataWeave expression to access booklSBN later in the flow?

Options:

A.

booklSBN

B.

attributes.booklSBN

C.

flowVars.booklSBN

D.

vars. booklSBN

Buy Now
Questions 18

Refer to the exhibits.

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"

Buy Now
Questions 19

Refer to the exhibits. A database Address table contains a ZIPCODE column and an increasing ID column. The Address table currently contains tour (4) records. The On Table Row Database listener is configured with its watermark set to the Address table's ZIPCODE column and then the Mule application is run in Anypoint Studio tor the first time, and the On Table Row Database listener polls the Address table.

Anew row is added to the database with 1D=5 and ZIPCODE-90006, and then the On Table Row Database listener polls the database again.

Alter the next execution of the On Table Row Database listener polling, what database rows have been processed by the Mule flow since the Mule application was started?

Options:

A.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

B.

ID ZIPCODE

1 90001

2 90005

3 90009

5 90006

C.

ID ZIPCODE

1 90001

2 90005

3 90009

D.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

5 90006

Buy Now
Questions 20

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

Buy Now
Questions 21

What is the difference between a subflow and a sync flow?

Options:

A.

No difference

B.

Subflow has no error handling of its own and sync flow does

C.

Sync flow has no error handling of its own and subflow does

D.

Subflow is synchronous and sync flow is asynchronous

Buy Now
Questions 22

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

Options:

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Buy Now
Questions 23

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)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 24

A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType.

What is the correct DataWeave expression to log accountType?

Options:

A.

Account Type: #[flowVars.accountType]

B.

Account Type: #[message.inboundProperties.accountType]

C.

Account Type: # [attributes.accountType]

D.

Account Type: #[vars.accountType]

Buy Now
Questions 25

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"

Buy Now
Questions 26

Refer to the exhibit. What is the output of logger component?

Options:

A.

String

B.

Object

C.

Array

D.

Map

Buy Now
Questions 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

Buy Now
Questions 28

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

Buy Now
Questions 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

Buy Now
Questions 30

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 31

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

Buy Now
Questions 32

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

Buy Now
Questions 33

Where is metadata stored in a Mule project

Options:

A.

Config.yaml file

B.

POM.xml file

C.

application-types.xml

D.

Global Element

Buy Now
Questions 34

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

Buy Now
Questions 35

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

Buy Now
Questions 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

Buy Now
Questions 37

A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?

Options:

A.

1. %dw 2.0

2. output application/json

3. import modules::Utility

4. ---

5. Utility::encryptString( "John Smith" )

B.

1. %dw 2.0

2. output application/json

3. import modules::Utility

4. ---

5. encryptString( "John Smith" )

C.

1. %dw 2.0

2. output application/json

3. import modules.Utility

4. ---

5. encryptString( "John Smith" )

D.

1. %dw 2.0

2. output application/json

3. import modules.Utility

4. ---

5. Utility.encryptString( "John Smith" )

Buy Now
Questions 38

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?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 39

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"

Buy Now
Questions 40

Refer to the exhibit.

The Database Select operation returns five rows from a database. What is logged by the Logger component?

Options:

A.

"Array"

B.

"Object"

C.

"LinkedHashMap"

D.

"CaselnsensitrveHashMap"

Buy Now
Questions 41

Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.

What is the next step to fix this error?

Options:

A.

Set a header In the Consume operation equal to the destination query parameter

B.

set a SOAP payload before the Consume operation that contains the destination query parameter

C.

set a property m the Consume operation equal to the destination query parameter

D.

set a JSON payload before the Consume operation that contains the destination query parameter

Buy Now
Questions 42

What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

Options:

A.

Data layer

B.

Process layer

C.

Experience layer

D.

System layer

Buy Now
Questions 43

Refer to the exhibit.

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

Buy Now
Questions 44

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

Buy Now
Questions 45

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

Buy Now
Questions 46

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

Buy Now
Questions 47

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]

Buy Now
Questions 48

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

Buy Now
Questions 49

Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".

What is the output of logger after the execution of choice router is completed?

Options:

A.

"Domestic"

B.

"International"

C.

"US"

D.

A dataweave syntax error

Buy Now
Questions 50

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)

Buy Now
Questions 51

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

Buy Now
Questions 52

A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?

Options:

A.

Select both the options 1) Attach project sources 2) Include project module and dependencies

B.

No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies

C.

Select only below option 2) Include project module and dependencies

D.

Select only below option 1) Attach project sources

Buy Now
Questions 53

Which one of them is NOT a flow in Mule?

Options:

A.

sync flow

B.

subflow

C.

async sub flow

D.

async flow

Buy Now
Questions 54

What MuleSoft product enables publishing, sharing, and searching of APIs?

Options:

A.

Runtime Manager

B.

API Notebook

C.

API Designer

D.

Anypoint Exchange

Buy Now
Questions 55

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

Buy Now
Questions 56

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

Buy Now
Questions 57

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

Buy Now
Questions 58

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

Buy Now
Questions 59

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

Buy Now
Questions 60

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

Buy Now
Questions 61

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

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

Options:

A.

Gold

B.

Select

C.

Premium

D.

Community

Buy Now
Questions 63

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"

Buy Now
Questions 64

Refer to the exhibits.

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

A web client sends a GET request to the main flow's HTTP Listener that includes a make query parameter.

What values are accessible in the child flow?

Options:

A.

payload

B.

payload

make query param

C.

payload

model var

D.

payload

make query param model var

Buy Now
Questions 65

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

Buy Now
Questions 66

Refer to the exhibits.

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

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 67

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

Buy Now
Questions 68

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:

Buy Now
Questions 69

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

Buy Now
Questions 70

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

Buy Now
Exam Code: MCD-Level-1
Exam Name: MuleSoft Certified Developer - Level 1 (Mule 4)
Last Update: Dec 22, 2024
Questions: 235

PDF + Testing Engine

$134.99

Testing Engine

$99.99

PDF (Q&A)

$84.99