Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MuleSoft Exam MCD-Level-1 Topic 2 Question 83 Discussion

Actual exam question for MuleSoft's MCD-Level-1 exam
Question #: 83
Topic #: 2
[All MCD-Level-1 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

For such questions always look for Syntax:

I call it 'Wrap the Map'

trains:

{(

When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)}

-{ } are defining the object

-( ) are transforming each element in the array as a key/value pair


Contribute your Thoughts:

Alona
1 days ago
I agree with Lakeesha, option B looks like the right DataWeave expression.
upvoted 0 times
...
Lakeesha
2 days ago
I think the correct answer is option B.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77