PdfPrep.com

Which windowing function should you use?

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 during the last five minutes every five minutes. Each tweet must only be counted once.

Which windowing function should you use?
A . a five-minute Session window
B . a five-minute Sliding window
C . a five-minute Tumbling window
D . a five-minute Hopping window that has one-minute hop

Answer: C

Explanation:

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.

References: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions

Exit mobile version