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

MCD-Level-1 Questions and Answers

Question # 6

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 7

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

A.

/(*)

B.

/

C.

/()

D.

“/*”

Full Access
Question # 8

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?

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.

Full Access
Question # 9

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

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

Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?

A.

Summary report of processed records

B.

[ "Apple", "Banana" ]

C.

[ "Apptel2", "Bananal2" ]

D.

[ "Apptel", "Bananal", 2 ]

Full Access
Question # 12

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

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

Full Access
Question # 13

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)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
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?

A.

The payload and all variables

B.

All variables

C.

The entire Mule event

D.

The payload and all attributes

Full Access
Question # 15

How to import Core (dw::Core) module into your DataWeave scripts?

A.

#include dw::core

B.

Not needed

C.

import core

D.

import dw::core

Full Access
Question # 16

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?

A.

3

B.

5

C.

2

D.

1

Full Access
Question # 17

Refer to the exhibit.

What DataWeave expression transforms the conductorlds array to the XML output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 18

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

A.

false

B.

null

C.

Exception

D.

Empty Array

Full Access
Question # 19

Pick the component with which DataWeave is tightly integrated.

A.

All APIs

B.

Mule runtime

C.

Exchange

D.

Flow Designer

Full Access
Question # 20

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

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

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

Refer to the exhibits.

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?

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

Full Access
Question # 24

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

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

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Full Access
Question # 26

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?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 27

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

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

Full Access
Question # 28

Refer to the exhibit.

How should the WHERE clause be changed to set the city and state values from the configured input parameters?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 29

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?

A.

payload

B.

payload

pedigree query params

C.

payload

producer var

D.

payload

pedigree query params producer var

Full Access
Question # 30

Where are values of query parameters stored in the Mule event by the HTTP Listener?

A.

Inbound Properties

B.

Variables

C.

Attributes

D.

Payload

Full Access
Question # 31

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

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

Full Access
Question # 32

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?

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"

Full Access
Question # 33

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

A.

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

B.

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

C.

[20, 40, 60]

D.

[20. 40] [60]

Full Access
Question # 34

Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.

How many seconds does it take for the Scatter_Gather to complete?

A.

0

B.

10

C.

20

D.

30

Full Access
Question # 35

Refer to the exhibits.

As a mulesoft developer, what you would change in Database connector configuration to resolve this error?

A.

Configure the correct host URL

B.

Configure the correct database name

C.

Configure the correct table name

D.

Configure the correct JDBC driver

Full Access
Question # 36

Refer to the exhibit.

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

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

Full Access
Question # 37

By default, what happens to a file after it is read using an FTP connector Read operation?

A.

The file is deleted from the folder

B.

The file is moved to a different folder

C.

The file stays in the same folder unchanged

D.

The file is renamed in the same folder

Full Access
Question # 38

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?

A.

firstName

B.

customer.firstName

C.

vars."customer.firstName"

D.

vars."customer"."firstName"

Full Access
Question # 39

Refer to the exhibits.

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?

A.

Processing

B.

Begin

C.

Finished

Full Access
Question # 40

Refer to the exhibits.

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

A.

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

B.

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

C.

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

D.

[Req5Req10,Req15Req20, 5]

Full Access
Question # 41

Refer to the exhibits.

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

A.

The JSON payload

B.

An error message

C.

Nothing

D.

The payload convert to CVS

Full Access
Question # 42

Refer to the exhibits.

What DataWeave expression transforms the conductorIds array to the XML output?

A.

1. 1. trains:

2. 2. conductorIds map ((engId, index) ->

3. 3. train: {

4. 4. engineerId: engId

5. 5. }

6. 6. )

B.

1. 1. { trains:

2. 2.

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. }

C.

1. 1. trains:

2. 2. {(

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. )}

D.

1. 1. {( trains:

2. 2.

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. )}

Full Access
Question # 43

What is output of Dataweave flatten function?

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Full Access
Question # 44

Refer to the exhibit.

What is a valid expression for the Choice router’s when expression to route events to the documenticShipping flow?

A.

0#[ payload = 'US' ]

B.

#[ payload == 'US' J

C.

#[ if(payload = 'US') J

D.

#[ if(payload == "US") ]

Full Access
Question # 45

According to MuleSoft. what is the first step to create a Modern API?

A.

Gather a list of requirements to secure the API

B.

Create an API specification and get feedback from stakeholders

C.

Performance tune and optimize the backend systems and network

D.

Create a prototype of the API implementation

Full Access
Question # 46

What is the object type returned by the File List operation?

A.

Object of String file names

B.

Array of String file names

C.

Object of Mule event objects

D.

Array of Mule event objects

Full Access
Question # 47

Refer to the exhibits.

The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.

What is the minimum number of global elements that must be defined to support all these HTTP Listeners?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 48

Refer to the exhibits.

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?

A.

A non-empty Java object

B.

The original XML payload

C.

null

D.

The returned JSON response

Full Access
Question # 49

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

A.

String

B.

Object

C.

Array

D.

Map

Full Access
Question # 50

What is the trait name you would use for specifying client credentials in RAML?

A.

headers

B.

client-id

C.

client-id-required

D.

cannot be specified in RAML

Full Access
Question # 51

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

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

What is the minimum Cloudhub worker size that can be specified while deploying mule application?

A.

0.2 vCores

B.

0.5 vCores

C.

1.0 vCores

D.

0.1 vCores

Full Access
Question # 54

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

A.

Data layer

B.

Process layer

C.

Experience layer

D.

System layer

Full Access
Question # 55

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?

A.

The XML response body

B.

null

C.

The original JSON request body

D.

A non-empty Java object

Full Access
Question # 56

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

A.

function

B.

fun

C.

func

D.

map

Full Access
Question # 57

An API has been created in Design Center. What is the next step to make the API discoverable?

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

Full Access
Question # 58

What of the below is not a feature of API Notebooks?

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

Full Access
Question # 59

How we can scale deployed Mule application vertically on cloudhub?

A.

Changing worker size

B.

Adding multiple workers

C.

Mule applications can be scaled only horizontally

D.

Option 1 and 2 both can be used

Full Access
Question # 60

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?

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

Full Access
Question # 61

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?

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

Full Access
Question # 62

What DataWeave expression transforms the array a to the XML output?

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

Full Access
Question # 63

Refer to the exhibit.

How many private flows does APIKIT generate from the RAML specification?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 64

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

A.

Event Source

B.

Event Processors

C.

Error handlers

D.

Source and processors both

Full Access
Question # 65

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

Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

A.

Response body: "Error" Default response status code: 200

B.

Response body: "Success - Begin* Default response status code: 200

C.

Error response body: error, description Default error response status code: 500

D.

Response body: "Success - End" Default response status code: 200

Full Access
Question # 67

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?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 68

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

A.

8082

B.

8080

C.

7777

D.

6666

Full Access
Question # 69

Refer to the exhibit.

What data is expected by the POST /accounts endpoint?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 70

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?

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

Full Access