New Year Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpt65

MCD-Level-1 Questions and Answers

Question # 6

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?

A.

"string"

B.

"Java"

C.

"object"

D.

"XML"

Full Access
Question # 7

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

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 8

How would you debug Mule applications?

A.

By Deploying apps on production

B.

Checking RAML specifications

C.

Using debugger component

D.

Use third party debugger application

Full Access
Question # 9

Refer to the exhibits.

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

A.

[[1,2,3,4], 14]

B.

[[order1, order2, order3, order4], 14]

C.

[[1,2,3,4], 10]

D.

[orderlorder2order3order4,14]

Full Access
Question # 10

Refer to the exhibits. The Set Payload transformer in the addltem child flow 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 child flow to add a router call with the price of 100 to the order?

A.

lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )

B.

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

C.

lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )

D.

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

Full Access
Question # 11

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?

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

Full Access
Question # 12

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

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

Full Access
Question # 13

Pick the component with which DataWeave is tightly integrated.

A.

All APIs

B.

Mule runtime

C.

Exchange

D.

Flow Designer

Full Access
Question # 14

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

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

A.

Patient with id 2021

B.

Patients from year 2021

C.

No patients

D.

All patients

Full Access
Question # 15

A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?

A.

examples: !include StudentExample.raml

B.

examples: #import StudentExample.raml

C.

examples: !include examples/StudentExample.raml

D.

examples: #import examples/StudentExample.raml

Full Access
Question # 16

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

A.

Configuration file

B.

Global element

C.

POM.xml

D.

Cloudhub

Full Access
Question # 17

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?

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

Full Access
Question # 18

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

A.

No change

B.

MINOR

C.

MAJOR

D.

PATCH

Full Access
Question # 19

How does APIkit determine the number of flows to generate from a RAML specification?

A.

Creates a separate flow for each resource

B.

Creates a separate flow for each HTTP method

C.

Creates a separate flow for each response status code

D.

Creates a separate flow for each resource that contains child resources

Full Access
Question # 20

Which out of below is not an asset?

A.

Template

B.

Connector

C.

Exchange

D.

Example

Full Access
Question # 21

A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?

A.

All processing of the batch job stops.

B.

Event processing continues to the next batch step.

C.

Error is ignored

D.

Batch is retried

Full Access
Question # 22

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?

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:

Full Access
Question # 23

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?

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

Full Access
Question # 24

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?

A.

*[order,customer]/status

B.

?[order,customer]/status

C.

*/status

(Correct)

D.

*status

Full Access
Question # 25

What is the output of Dataweave Map operator?

A.

Map

B.

Object

C.

String

D.

Array

Full Access
Question # 26

According to MuleSoft, what is the Center for Enablement’s role in the new IT operating model?

A.

Implements line of business projects to enforce common security requirements

B.

Creates and manages discoverable assets to be consumed by line of business developers

C.

Centrally manages partners and consultants to implement line of business projects

D.

Implements line of business projects to enforce common security requirements

Full Access
Question # 27

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?

A.

1.http:

2. host = "localhost"

3. port = "8081"

B.

1.http:

2. basepath: "api"

3. host : "localhost"

4. port : "8081"

(Correct)

C.

1. http.host = localhost

2. http.port = 8081

D.

1. {

2. http:

3. basePath: "api",

4. port: "8081",

5. host: " localhost"

Full Access
Question # 28

Refer to the exhibits.

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?

A.

Error - private flow

B.

Error - main flow

C.

Success - main flow

D.

Validation Error

Full Access
Question # 29

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)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 30

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?

A.

10

B.

50

C.

40

D.

20

Full Access
Question # 31

How many Mule applications can run on a CloudHub worker?

A.

At most one

B.

At least one

C.

Depends

D.

None of these

Full Access