ExamGecko
Home / Microsoft / DP-203 / Practice Test 5
Ask Question

Microsoft DP-203 Practice Test 5

00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

HOTSPOT

You are building an Azure Stream Analytics job to retrieve game data.

You need to ensure that the job returns the highest scoring record for each five-minute time interval of each game.

How should you complete the Stream Analytics query? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Microsoft DP-203 image Question 1 5009289 10022024015849000
Correct answer: Microsoft DP-203 image answer Question 1 5009289 10022024015849000
Comment (0)
Explanation:

Box 1: TopOne OVER(PARTITION BY Game ORDER BY Score Desc)

TopOne returns the top-rank record, where rank defines the ranking position of the event in the window according to the specified ordering. Ordering/ranking is based on event columns and can be specified in ORDER BY clause.

Box 2: Hopping(minute,5)

Hopping window functions hop forward in time by a fixed period. It may be easy to think of them as Tumbling windows that can overlap and be emitted more often than the window size. Events can belong to more than one Hopping window result set. To make a Hopping window the same as a Tumbling window, specify the hop size to be the same as the window size.

Microsoft DP-203 image Question 61 explanation 89582 10022024015849000000

Reference:

https://docs.microsoft.com/en-us/stream-analytics-query/topone-azure-stream-analytics

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

asked 02/10/2024
Michal Kopl
42 questions