List of questions
Related questions
Question 114 - DP-203 discussion
You have an Azure Stream Analytics job that receives clickstream data from an Azure event hub. You need to define a query in the Stream Analytics job. The query must meet the following requirements:
Count the number of clicks within each 10-second window based on the country of a visitor. Ensure that each click is NOT counted more than once. How should you define the Query?
A.
SELECT Country, Avg(*) AS AverageFROM ClickStream TIMESTAMP BY CreatedAtGROUP BY Country, SlidingWindow(second, 10)
B.
SELECT Country, Count(*) AS CountFROM ClickStream TIMESTAMP BY CreatedAtGROUP BY Country, TumblingWindow(second, 10)
C.
SELECT Country, Avg(*) AS AverageFROM ClickStream TIMESTAMP BY CreatedAtGROUP BY Country, HoppingWindow(second, 10, 2)
D.
SELECT Country, Count(*) AS CountFROM ClickStream TIMESTAMP BY CreatedAtGROUP BY Country, SessionWindow(second, 5, 10)
Your answer:
0 comments
Sorted by
Leave a comment first