Consider an Aggregate with the Fetch property set to Only On Demand. When does that Aggregate run?
Suggested Answer: C
Get Premium Associate-Reactive-Developer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
41 comments · newest first
ER
Erick
11 months ago
Nope, it definitely needs a Refresh Data node to trigger.
RO
Rosann
11 months ago
Wait, so it doesn't run when the screen initializes? That's surprising!
JU
Justine
11 months ago
I thought it would run automatically at start, but I guess not.
CR
Cristen
12 months ago
Totally agree with that!
WY
Wynell
12 months ago
It runs programmatically, using a Server Action.
NA
Naomi
1 year ago
I practiced a question similar to this, and I think it was about how Aggregates run on demand, so I might go with C as well.
BR
Bronwyn
1 year ago
I'm not entirely sure, but I feel like Aggregates with that setting might only run when explicitly called, which makes me think of option B.
LI
Ligia
1 year ago
I remember something about Refresh Data nodes being used to trigger Aggregates, so maybe C is the right choice?
EL
Ellsworth
1 year ago
I think the Fetch property set to Only On Demand means it won't run automatically, so I’m leaning towards option B or C.
EL
Eladia
1 year ago
I've got this one! The key is that "Only On Demand" means the Aggregate won't run automatically. So it has to be triggered manually, either through a Server Action or a Refresh Data node. Option C is the way to go.
EU
Eun
1 year ago
Okay, let me think this through. If the Aggregate is set to "Only On Demand", that means it won't run automatically like the "At Start" option. So it would need to be triggered programmatically, either through a Server Action or a Refresh Data node in a Screen Action. I think option C is the correct answer.
CE
Cecily
1 year ago
Hmm, I'm a bit confused about the difference between "At Start" and "Only On Demand" for Aggregates. I'll need to review that part of the material again to make sure I understand it.
ST
Stevie
1 year ago
I'm pretty sure this has to do with how the Aggregate is configured to run. If it's set to "Only On Demand", then it should only run when explicitly triggered, not automatically.
CH
Chery
1 year ago
Easy peasy! The purpose of a Sprint is to deliver a finished, working piece of the product. So the answer is definitely True.
EA
Earleen
1 year ago
Hmm, I'm not entirely sure about this. I'll have to review my notes on the advantages of secondary data.
WI
Winifred
1 year ago
I think ice and rest are definitely included, but I'm a bit fuzzy on stabilization. Does anyone else feel unsure about it?
VE
Verlene
1 year ago
Ah, this is a tricky one. I'm going to have to eliminate the other options and see which one best fits the integration requirement described in the question.
RU
Rupert
1 year ago
Haha, this question is a real brain-teaser! I'm going to go with B, but I'm not 100% confident. Maybe I should have paid more attention in that last training session.
JA
Jade
1 year ago
User3: I agree with User1, I think it's C too.
EL
Elmer
1 year ago
User2: I'm not sure, but I'll go with D, since it runs when the Screen is initializing.
BL
Blair
1 year ago
User1: Let's double-check the documentation just to be safe.
FR
Francoise
1 year ago
User2: Really? I thought it was D. Now I'm not so sure.
LO
Lottie
1 year ago
User1: I think it's C, because you have to refresh the data in a Screen Action.
FA
Fabiola
1 year ago
User1: Don't worry, I think the answer is actually C.
BE
Becky
1 year ago
I'm going with C. Using a Refresh Data node in a Screen Action seems like the logical way to trigger the Aggregate manually.
NO
Norah
2 years ago
Hmm, I'm not sure about this one. I was thinking D, since the Aggregate is set to 'Only On Demand', it should run when the Screen is initializing. But I could be wrong.
VE
Verda
1 year ago
I agree with you, I also think it's D) Automatically, when the Screen is initializing.
KA
Kaitlyn
1 year ago
I'm leaning towards A) Automatically, when the Aggregates set to run 'At Start' finish.
ON
Ona
1 year ago
I believe it's C) Programmatically, using a Refresh Data node in a Screen Action.
MA
Margarita
1 year ago
I think it's B) Programmatically, using a Server Action.
MA
Margarett
2 years ago
I think the correct answer is B. It makes sense that the Aggregate would need to be triggered programmatically using a Server Action.
OL
Olive
1 year ago
I agree, it does make sense that the Aggregate would need to be triggered programmatically using a Server Action.
NA
Narcisa
1 year ago
I think the correct answer is B.
DU
Dusti
1 year ago
I agree, it does make sense that the Aggregate would need to be triggered programmatically using a Server Action.
GE
Genevive
1 year ago
I think the correct answer is B.
NA
Natalie
2 years ago
But doesn't the Fetch property set to Only On Demand mean it will only run when triggered programmatically?
FR
Franchesca
2 years ago
I disagree, I believe the correct answer is D) Automatically, when the Screen is initializing.
NA
Natalie
2 years ago
I think the answer is B) Programmatically, using a Server Action.
MA
Mattie
2 years ago
Hmm, that makes sense too. The Aggregate with Fetch property set to Only On Demand would need to be refreshed in a Screen Action.
ST
Stephaine
2 years ago
I disagree, I believe the answer is C) Programmatically, using a Refresh Data node in a Screen Action.
MA
Mattie
2 years ago
I think the answer is B) Programmatically, using a Server Action.