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.)
- A.sum(user_Id)
- B.count()
- C.max(timestamp)
- D.make_list(user_Id)
- 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
- Importing a public image into ACR
- Event-driven Container Apps job
- Horizontal Pod Autoscaler on CPU
- Container TTL for chat history
- Optimistic concurrency with ETag
- IVFFlat lists and probes tuning
- Entra ID connection to Azure Managed Redis
- Deferring Service Bus messages
- Event Grid system topic for storage events
- NCRONTAB timer trigger schedule
- User-assigned identity shared by apps