ExamQuestions.com

Register
Login
Data Engineering on Microsoft Azure (DP-203) Exam Questions

Microsoft

Data Engineering on Microsoft Azure (DP-203)

138 / 240

Question 138:

Your company has an e-commerce website that will have 1000s of users per hour. You are setting up a stream data processing solution backed by Azure stream analytics. The marketing team will use this data for detailed analysis.You are writing a query that will send active users` data on the website for the last20 seconds. This should be separate based on the page they visited. Choose the option which matches your query the most.

Answer options:

A.SELECT productid, location(*) AS Count FROM websitevisitors TIMESTAMP BY CreatedAt GROUP BY Page, TumblingWindow(second, 10)
B.SELECT productid, location(*) AS Count FROM websitevisitors TIMESTAMP BY CreatedAt GROUP BY Page, SessionWindow(second, 10)
C.SELECT productid, location(*) AS Count FROM websitevisitors TIMESTAMP BY CreatedAt GROUP BY Page, HoppingWindow(second, 10)
D.SELECT productid, location(*) AS Count FROM websitevisitors TIMESTAMP BY CreatedAt GROUP BY Page, SnapshotWindow(second, 10)