Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam MCD-Level-1 All Questions
Exam MCD-Level-1 All Questions

View all questions & answers for the MCD-Level-1 exam

MuleSoft Certified Developer MCD-Level-1 Question # 34 Topic 4 Discussion

MCD-Level-1 Exam Topic 4 Question 34 Discussion:
Question #: 34
Topic #: 4

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


Get Premium MCD-Level-1 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.