When using an aggregate function like Sum, Average, Min, Max or Count on an attribute...
Suggested Answer: B
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
31 comments · newest first
WI
Willard
11 months ago
I thought only the aggregate was shown, but maybe I'm wrong?
JE
Jennie
11 months ago
Definitely option A, that's how it works!
BO
Bok
12 months ago
Wait, is it really just the aggregate in option B? Sounds odd.
DO
Dorothy
12 months ago
Totally agree with option A!
LA
Lashon
12 months ago
Averages are usually included in the output.
KR
Kristian
1 year ago
I feel like I've seen examples where just the aggregate result is shown, but that might depend on the context of the query.
AJ
Aja
1 year ago
If I remember correctly, the aggregate output typically includes both the aggregated attribute and the original entity attributes.
ME
Melissa
1 year ago
I remember practicing a question where only the aggregated result was returned, but I can't recall if that's always the case.
WI
Willard
1 year ago
I think the aggregate function results are usually included with other attributes, but I'm not entirely sure.
RO
Rozella
1 year ago
Okay, I know Lyrica is used to treat nerve pain, so the active ingredient is likely a medication for that. I'll go with D, pregabalin.
MI
Michell
1 year ago
I'm a bit confused by the choices here. I'll need to review my notes on security analyst tools to decide which one is most appropriate for this scenario.
DA
Dalene
2 years ago
I'm feeling pretty confident about this one. Option B just makes more sense, unless the exam is trying to trick us with a sneaky option A.
OL
Oliva
1 year ago
Let's hope we're right, it does seem like the most logical choice.
TA
Tamra
1 year ago
I always go with the simplest answer, so I'm sticking with B.
PA
Paris
1 year ago
Yeah, I think so too. Option A would just clutter the output.
MA
Malcolm
1 year ago
I agree, option B seems like the correct choice.
SH
Sharee
1 year ago
Let's hope we're right, I don't want to second-guess myself on this one.
JE
Jenelle
1 year ago
I always go with the simplest answer, so I'm going with B.
CO
Corazon
1 year ago
Yeah, I think so too. Option A would just clutter up the output.
GR
Gracia
1 year ago
I agree, option B seems like the correct choice.
DA
Daniel
2 years ago
Ha! Imagine if the entire entity showed up in the output, that would be one chunky data set. Option B is definitely the way to go.
ST
Stefan
2 years ago
Wait, isn't the whole point of an aggregate function to summarize the data? Option A sounds a bit off to me.
DI
Diane
2 years ago
I think option A makes more sense because it provides more context about the aggregated data.
BE
Beckie
2 years ago
B) Only the resulting aggregated attribute is part of the Aggregate output
EL
Elroy
2 years ago
Hmm, I'm pretty sure the correct answer is B. The aggregated attribute is the only thing that's part of the output, not the whole entity.
FA
Fabiola
1 year ago
Yes, that's correct. Only the resulting aggregated attribute is part of the Aggregate output.
ER
Ernie
1 year ago
I think you're right, the aggregated attribute is the only thing that's part of the output.
TY
Tyisha
2 years ago
A) The resulting aggregate attribute is add to the Aggregate output alongside the rest of the entity attributes.
MA
Maxima
2 years ago
I think option A makes more sense because it provides more context and information about the aggregated attribute.
DE
Devon
2 years ago
B) Only the resulting aggregated attribute is part of the Aggregate output
MU
Murray
2 years ago
A) The resulting aggregate attribute is add to the Aggregate output alongside the rest of the entity attributes.