Happy Black Friday Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 1b2718643m

MCD-Level-1 Exam Dumps - MuleSoft Certified Developer - Level 1 (Mule 4)

Question # 4

Which of the module is imported automatically in Dataweave scripts?

A.

dw::core

B.

dw::System

C.

dw::Runtime

D.

dw::Crypto

Full Access
Question # 5

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

Refer to the exhibit.

This RAML specification includes a resource and method to retrieve accounts by account_type and industry.

What is the correct URI to get all retail finance accounts?

A.

/accounts/retail/finance

B.

/accounts?account_type=retail&industry=finance

C.

/accounts/account_type=retail/industry=finance

D.

/accounts?account_type:retail&industry:finance

Full Access
Question # 7

How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?

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

Full Access
Question # 8

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 9

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

A.

{ port : p('db.port')}

B.

{ port : {db:port}}

C.

{ port : p['db.port']}

D.

Application property cannot be accessed in Dataweave

Full Access
Question # 10

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)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 11

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?

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

Full Access
Question # 12

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)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 13

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

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

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?

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

Full Access
Question # 16

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?

A.

Account Type: #[flowVars.accountType]

B.

Account Type: #[message.inboundProperties.accountType]

C.

Account Type: # [attributes.accountType]

D.

Account Type: #[vars.accountType]

Full Access
Question # 17

What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?

A.

The payload is: $(payload)

B.

#["The payload is: " ++ payload]

C.

The payload is: #[payload]

D.

#["The payload is: " + payload]

Full Access
Question # 18

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?

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)

Full Access
Question # 19

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

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

Full Access
Question # 20

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

Refer to the exhibits.

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

What response message is returned to the web client?

A.

""

B.

"End"

C.

"Start"

D.

"String is not blank"

Full Access
Question # 22

A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.

What would be valid RAML to use these fragments ?

A.

1. #%RAML 1.0

2. title: Books

3. types:

4. Book: ABC/Examples/bookDataType.raml

5. /books:

6. post:

7. body:

8. application/json:

9. type: Book

10. examples:

11. input: ABC/Examples/bookExample.raml

12. responses:

13. 201:

14. body:

15. application/json:

16. example:

17. message: Book added

B.

1.#%RAML 1.0

2.title: Books

3.Book: !include bookDataType.raml

4./books:

5. post:

6. body:

7. application/json:

8. type: Book

9. examples:

10. input: !include bookExample.raml

11. responses:

12. 201:

13. body:

14. application/json:

15. example:

16. message: Book added

C.

1.#%RAML 1.0

2.title: Books

3.Book: bookDataType.raml

4./books:

5. post:

6. body:

7. application/json:

8. type: Book

9. examples:

10. input: bookExample.raml

11. responses:

12. 201:

13. body:

14. application/json:

15. example:

16. message: Book added

D.

1.#%RAML 1.0

2.title: Books

3.Book: bookDataType.raml

4./books:

5. post:

6. body:

7. application/json:

8. type: Book

9. examples:

10. input: bookExample.raml

11. responses:

12. 201:

13. body:

14. application/json:

15. example:

16. message: Book added

Full Access
Question # 23

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:

A.

1

B.

2

C.

3

D.

5

Full Access
Question # 24

Which out of below is not an asset?

A.

Template

B.

Connector

C.

Exchange

D.

Example

Full Access
Question # 25

The new RAML spec has been published to Anypoint Exchange with client credentials.

What is the next step to gain access to the API?

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

Full Access
Question # 26

Refer to the exhibits.

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

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

Full Access
Question # 27

Refer to the exhibit.

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?

A.

0

B.

"Processing"

C.

"Start"

D.

Complete"

Full Access
Question # 28

A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations. Which operation is asynchronous and which one is synchronous?

A.

Publish consume: Synchronous. Publish: Asynchronous.

B.

Publish consume: Asynchronous. Publish: Synchronous

C.

Publish consume: Asynchronous. Publish: Asynchronous

D.

Publish consume: Synchronous. Publish: Synchronous

Full Access
Question # 29

Refer to the exhibit.

What is the output payload in the On Complete phase

A.

summary statistics with NO record data

B.

The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]

C.

The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]

D.

The original payload: [1,2,31

Full Access
Question # 30

A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

A.

Mule event attributes

B.

Mule event message

C.

Mule application properties

D.

Mule event

Full Access
Question # 31

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