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

Legit MCD-Level-1 Exam Download

Page: 11 / 18
Total 235 questions

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

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

Page: 11 / 18
Total 235 questions