MuleSoft Certified Developer - Level 1 (Mule 4) MCD-Level-1 Question # 38 Topic 4 Discussion

MuleSoft Certified Developer - Level 1 (Mule 4) MCD-Level-1 Question # 38 Topic 4 Discussion

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

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

MCD-Level-1 Question 38


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


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.