
Explanation:
The key requirements are:
Tumbling Window (Option B):
Sliding Window (Option A):
Hopping Window (Option C):
Session Window (Option D):
Ultimate access to all questions.
No comments yet.
You have an Azure Stream Analytics job that ingests clickstream data from an Azure Event Hub. You must define a query for this job that meets the following requirements:
How should you complete the query?
A
SELECT Country, Avg(*) AS Average FROM ClickStream TIMESTAMP BY CreatedAt GROUP BY Country, SlidingWindow(second, 10)
B
SELECT Country, Count(*) AS Count FROM ClickStream TIMESTAMP BY CreatedAt GROUP BY Country, TumblingWindow(second, 10)
C
SELECT Country, Avg(*) AS Average FROM ClickStream TIMESTAMP BY CreatedAt GROUP BY Country, HoppingWindow(second, 10, 2)
D
SELECT Country, Count(*) AS Count FROM ClickStream TIMESTAMP BY CreatedAt GROUP BY Country, SessionWindow(second, 5, 10)