FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

Exam Question MS-21-032 for MuleSoft Certified Developer (MCD) - Level 1

Exam Question MS-21-032 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS12.4.2021

This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.

Question

What expression transforms the input to the output? Refer to the exhibit!


Answer

The correct answer to this question is D.

Explanation

The input data is an array with two objects. The XML output tells us that we need to have one "order" element in the XML structure, that has to wrap transformed array elements.

Since answers A and C have "order" inside a map function, they can not be correct answers.

The correct answer is D, because B gets eliminated because of the missing parenthesis between "order" and the map function.

Register now