exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 38 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are designing an Azure Stream Analytics solution that will analyze Twitter data.
You need to count the tweets in each 10-second window. The solution must ensure that each tweet is counted only once.
Solution: You use a session window that uses a timeout size of 10 seconds.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Ati1362
Highly Voted 3 years, 6 months ago
answer correct
upvoted 22 times
...
MoDar
Highly Voted 3 years, 3 months ago
False as we need to count tweets in EACH 10 sec. Session windows can have gaps if there is no event happening during the window size
upvoted 13 times
...
swathi_rs
Most Recent 8 months ago
Selected Answer: B
correct
upvoted 1 times
...
ELJORDAN23
11 months, 1 week ago
Selected Answer: B
Got this question on my exam on january 17, answer B is correct.
upvoted 2 times
...
robdale
1 year, 3 months ago
A session window is designed to group events together that occur within a certain time frame, but it doesn't guarantee that each event will be counted only once.
upvoted 2 times
...
kkk5566
1 year, 3 months ago
Selected Answer: B
NO is the answer
upvoted 1 times
...
mamahani
1 year, 7 months ago
Selected Answer: B
B is correct answer
upvoted 1 times
...
MScapris
1 year, 11 months ago
Selected Answer: B
NO is correct
upvoted 1 times
...
Deeksha1234
2 years, 4 months ago
B is correct
upvoted 3 times
...
sarapaisley
2 years, 8 months ago
Selected Answer: B
session window wouldn't count periods with no tweets
upvoted 4 times
...
Sandip4u
2 years, 11 months ago
This should be yes as the max duration of window is 10 secs and timeout size is also 10 sec . So this means irrespective of any events comes or not timeout is happening or not window size will be remain as 10 sec.
upvoted 1 times
...
Teraflow
2 years, 11 months ago
B - it has to be tumbling window
upvoted 1 times
...
rashjan
3 years ago
Selected Answer: B
correct: no
upvoted 1 times
...
dragos_dragos62000
3 years, 5 months ago
I think you can use a session window with 10 sec timeout... is like tumbling window with 10 second window size.
upvoted 3 times
RyuHayabusa
3 years, 5 months ago
The important thing to remember in a session window is the maximum duration. So theoretically a 10 second timout can still result in a window of 20 minutes for example (if every 9 seconds a new event comes in and the window never "closes"). If the maximum duration would be 10 seconds, I would agree. But as the question is worded right now, the answer is NO. https://docs.microsoft.com/en-us/stream-analytics-query/session-window-azure-stream-analytics
upvoted 15 times
...
TedoG
3 years, 5 months ago
I Disagree. The session could be extended if the maximum duration is set longer than the timeout.
upvoted 4 times
...
EddyRoboto
3 years, 5 months ago
Agree, cause it doesn't overlap any event, just group then in a given time that we can define;
upvoted 1 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 ...