exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 2 question 44 discussion

Actual exam question from Microsoft's DP-200
Question #: 44
Topic #: 2
[All DP-200 Questions]

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?

  • A. Sliding
  • B. Session
  • C. Tumbling
  • D. Hopping
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Hopping window functions hop forward in time by a fixed period.
Incorrect Answers:
A: Sliding windows, unlike Tumbling or Hopping windows, output events only for points in time when the content of the window actually changes. In other words, when an event enters or exits the window.
B: Session window functions group events that arrive at similar times, filtering out periods of time where there is no data. A session window begins when the first event occurs. If another event occurs within the specified timeout from the last ingested event, then the window extends to include the new event. Otherwise if no events occur within the timeout, then the window is closed at the timeout.
C: Tumbling window functions are used to segment a data stream into distinct time segments. A Tumbling windows do not overlap, and an event cannot belong to more than one tumbling window.
Reference:
https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SankarMG
Highly Voted 3 years, 11 months ago
Hopping Window is the correct answer
upvoted 12 times
victor90
3 years, 6 months ago
https://docs.microsoft.com/en-us/azure/stream-analytics/media/stream-analytics-window-functions/stream-analytics-window-functions-hopping-intro.png
upvoted 1 times
...
...
dumpi
Most Recent 3 years, 11 months ago
correct answer c only
upvoted 1 times
captainbee
3 years, 11 months ago
Don't be ridiculous, doesn't help other people either. It's a hopping window as the windows will overlap.
upvoted 7 times
...
...
Sudhansu21
4 years ago
Hopping
upvoted 4 times
...
kaigalmane
4 years ago
Sorry. Looks like D now.
upvoted 1 times
...
kaigalmane
4 years ago
I think C. Tumbling
upvoted 1 times
...
kaigalmane
4 years ago
So what is the answer?
upvoted 2 times
...
Mily94
4 years, 1 month ago
correct answer: D
upvoted 3 times
...
imkoomin
4 years, 2 months ago
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.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...