DP-200 Exam QuestionsBrowse all questions from this exam

DP-200 Exam - Question 102


You use Azure Stream Analytics to receive Twitter data from Azure Event Hubs and to output the data to an Azure Blob storage account.

You need to output the count of tweets from the last five minutes every minute.

Which windowing function should you use?

Show Answer
Correct Answer: D

To count tweets from the last five minutes every minute, the appropriate windowing function is the Hopping window. Hopping windows can overlap, allowing them to capture data points that span over a period while advancing at regular intervals. This means you can set a Hopping window to cover the last five minutes of data and 'hop' every minute to give an updated count. Other windowing functions like Tumbling, Sliding, and Session do not provide the same overlapping behavior needed for this continuous count.

Discussion

8 comments
Sign in to comment
SankarMG
Jun 17, 2021

Hopping Window is the correct answer

victor90
Nov 28, 2021

https://docs.microsoft.com/en-us/azure/stream-analytics/media/stream-analytics-window-functions/stream-analytics-window-functions-hopping-intro.png

Sudhansu21
May 22, 2021

Hopping

imkoomin
Mar 30, 2021

Tumbling window functions are used to segment a data stream into distinct time segments and perform a function against them, such as the example below. The key differentiators of a Tumbling window are that they repeat, do not overlap, and an event cannot belong to more than one tumbling window.

Mily94
Apr 25, 2021

correct answer: D

kaigalmane
May 14, 2021

So what is the answer?

kaigalmane
May 14, 2021

I think C. Tumbling

kaigalmane
May 14, 2021

Sorry. Looks like D now.

dumpi
Jun 14, 2021

correct answer c only

captainbee
Jul 8, 2021

Don't be ridiculous, doesn't help other people either. It's a hopping window as the windows will overlap.