CertKeen

Azure AI Cloud Developer (AI-200) · Free practice question 12 of 12

KQL distinct counts with dcount

Product analysts at Ellwood Games want two numbers from Application Insights for the last 7 days: total page views and the approximate number of distinct users. Which two aggregations should the summarize clause use? (Select TWO.)

  1. A.sum(user_Id)
  2. B.count()
  3. C.max(timestamp)
  4. D.make_list(user_Id)
  5. E.dcount(user_Id)
Show answer and explanation

Correct answers: B. count() · E. dcount(user_Id)

Why: count() returns the number of rows, which is the number of page views, and dcount() returns an estimated count of distinct values, here unique users. sum can't be applied to a string identifier, max(timestamp) returns the most recent time, and make_list builds an array of values rather than a number.

More free Azure AI Cloud Developer (AI-200) questions