MuleSoft Certified Developer – Level 1 — Question 59
A Scatter-Gather processes a number of separate HTTP requests. Each request returns a Mule event with a JSON payload.
What is the final output of the Scatter-Gather?
Answer options
- A. An Object containing all Mule event Objects.
- B. An Array containing all Mule event Objects.
- C. None of these.
- D. The last Mule event object.
Correct answer: A
Explanation
The correct answer is A because a Scatter-Gather consolidates all the Mule events into a single Object that encompasses each of the event Objects. Option B is incorrect as it suggests the output is an Array, which is not how Scatter-Gather processes the events. Options C and D are also incorrect as they do not accurately represent the output structure of a Scatter-Gather.