Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 2 Question 29 Discussion

Posted by Lavonna on May 05, 2025 at 11:39 PM

In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.

About how many sec does it take from the Scatter-Gather is called until the "Set Payload" transformer is called?

Suggested Answer: A

Correct answer is 8 as events are processed in parallel in case of scatter gather router


Get Premium Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
33 comments · newest first
ST
Stevie 11 months ago
Wait, are we sure it's not 10 seconds?
CA
Caitlin 11 months ago
Totally agree, the longest one dictates the time.
HA
Hannah 11 months ago
Nope, definitely 8 seconds, that's how scatter-gather works.
AN
Antonio 11 months ago
I thought it would be less, but I guess it makes sense!
MO
Mona 11 months ago
It takes 8 seconds total.
CO
Cordelia 12 months ago
I feel like it could be 2 seconds since the first one finishes quickly, but I guess the longest one matters here.
NI
Nikita 12 months ago
I practiced a similar question, and I think it was about the longest duration too. So, I would go with 8 seconds.
MI
Mitsue 1 year ago
I'm not entirely sure, but I think the "Set Payload" transformer waits for all references to finish, so maybe it’s 10 seconds?
LE
Lenora 1 year ago
I remember that in scatter-gather, the longest flow reference determines the total time, so it should be 8 seconds.
IE
Iesha 1 year ago
I think I've got this! The "Set Payload" transformer is called after both the 2-second and 8-second references have completed, so the total time should be 8 seconds.
AS
Asuncion 1 year ago
I'm a bit confused by the scatter-gather concept here. I'll need to review my notes to make sure I understand how the timing works.
SH
Sharen 1 year ago
Okay, let me think this through step-by-step. The "sleep 2 sec" and "sleep 8 sec" references take 2 and 8 seconds respectively, so the total time should be somewhere in between.
LE
Lera 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully walk through the flow to figure out the timing.
NO
Noble 1 year ago
Oh, I see. So the correct answer is C) 2.
BE
Bea 1 year ago
But the 'Set Payload' transformer is called after the 'sleep 2 sec' Flow Reference, so it should be 2 seconds.
KA
Karl 1 year ago
Wait, so the 'Set Payload' transformer is like the alarm clock that wakes up the flow references after their beauty sleep? D) 10 seconds sounds about right to me.
EA
Earlean 1 year ago
↳ replying to Karl
D) 10
SO
Sommer 1 year ago
↳ replying to Karl
A) 8
NO
Noble 1 year ago
I believe it takes 8 seconds.
QU
Queen 1 year ago
Haha, looks like the 'sleep 2 sec' and 'sleep 8 sec' flow references are taking a nice nap while we figure out the answer. I guess D) 10 is the way to go here.
GO
Goldie 1 year ago
↳ replying to Queen
Got it, thanks for clarifying!
BE
Ben 1 year ago
↳ replying to Queen
Exactly, the Scatter-Gather will wait for all flow references to complete before moving on.
KE
Kenia 1 year ago
↳ replying to Queen
Oh, that makes sense. So it doesn't matter how long the other flow references take.
VI
Viola 1 year ago
↳ replying to Queen
I think it's actually B) 0 because the 'Set Payload' transformer is called immediately after the Scatter-Gather.
AN
Annelle 2 years ago
This is a straightforward question. The 'sleep 2 sec' and 'sleep 8 sec' flow references clearly indicate that the total time taken is 10 seconds. D) 10 is the correct answer.
DO
Dorsey 1 year ago
↳ replying to Annelle
Great, so we all agree on D) 10 as the answer
AN
Annamae 1 year ago
↳ replying to Annelle
Yes, it makes sense because 2 sec + 8 sec = 10 sec
HA
Haydee 1 year ago
↳ replying to Annelle
I think the answer is D) 10
BE
Bea 2 years ago
I think it takes 10 seconds.
FR
Frederic 2 years ago
If the 'sleep 2 sec' and 'sleep 8 sec' flow references take 2 and 8 seconds respectively, then the total time for the scatter-gather process should be 10 seconds. Therefore, the answer is D) 10.
GE
Gerry 1 year ago
↳ replying to Frederic
So the answer is D) 10.
AL
Alica 1 year ago
↳ replying to Frederic
Yes, it should be 10 seconds since the 'sleep 2 sec' and 'sleep 8 sec' flows take that long.
MA
Marlon 1 year ago
↳ replying to Frederic
I think the total time for the scatter-gather process is 10 seconds.
0/2000 characters

Save Cancel