MuleSoft Certified Developer – Level 1 — Question 74

What does the zip operator do in DataWeave?

Answer options

Correct answer: D

Explanation

The zip operator in DataWeave is specifically designed to merge elements from two lists (arrays) into a single list, making option D the correct answer. Option A incorrectly describes a function related to encoding rather than merging. Option C misrepresents the operation by suggesting it works with objects instead of lists, and option B is incorrect since one of the options is valid.