MCD - Level 1 Exam QuestionsBrowse all questions from this exam

MCD - Level 1 Exam - Question 82


Refer to the exhibits.

Each route in the Scatter-Gather sets the payload to the number shown in the label.

What response is returned to a web client request to the HTTP Listener?

A.

B.

C.

D.

Show Answer
Correct Answer:

The correct response to the web client request, based on the provided exhibits, should be a JSON object that includes attributes and payload objects for each route. The Scatter-Gather component in MuleSoft aggregates results from multiple routes and returns them as a single object where each route's result is encapsulated in a numbered object. Therefore, the correct answer is D. This is because the Scatter-Gather outputs an object that contains the results of each route, indexed numerically, each with its own attributes and payload.

Discussion

7 comments
Sign in to comment
Aaish
Mar 28, 2021

Correct answer is D

AIBhatti
Jun 3, 2021

Yes D because attributes are also part of object of scatter gather output. Amd yes, output is Object not array.

ExamDev
Jan 22, 2024

The correct answer is D !!!

miguel_romero
Dec 15, 2021

Correct answer is D

varsri18
Apr 19, 2022

The correct answer is D. Scatter Gather returns Object as an output.

Maxroyo
Aug 26, 2022

D is correct. The result of the Scatter-Gather is an object of objects. Since answer A is an array of objects, B is an object and C is an array, the answer can only be D.

ExamDev
Jan 25, 2024

D is correct.