Q: 14
HOTSPOT You are processing streaming data from an external data provider. You have the following code segment.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. 
Your Answer
Discussion
Yeah, that top row tricked me too at first but it's definitely No Yes Yes for this one.
Oh wow, trickier than it looks. The answer is: No, Yes, Yes. I checked the image and that 'sort by Location desc' means Washington DC rows are first, not New York, so Litware NY can't be at the top. Fabrikam Seattle is rank 2 because it's tied with Litware for UnitsSold in Seattle (after Contoso at 300). Litware SF and Litware NY both have the highest UnitsSold in their own locations so they get the same rank (1). Open to corrections if I missed something here.
Not at the very top, Fabrikam in Seattle gets rank 2, and Litware in San Francisco matches the rank for New York. So: No, Yes, Yes.
No for the first one since Location is sorted descending, so Washington DC comes first, not New York. Fabrikam in Seattle does get rank 2 because Contoso is higher. Litware in San Francisco and New York both have rank 1 for their respective partitions. I think some might trip over the sort order here.
Why does Litware San Francisco get the same rank as Litware New York here?
Why would Fabrikam in Seattle not get rank 2 if Contoso is above it on UnitsSold there?
Agreed with the No, Yes, Yes picks. The descending sort by Location puts Washington DC before New York, so Litware NY won't show up on top. For Seattle, Fabrikam is rank 2 since Contoso's got more UnitsSold. Pretty sure that's right but let me know if anyone sees it differently.
No way Litware NY is at the top, but I think Fabrikam in Seattle gets rank 1. No Yes No.
Be respectful. No spam.