Exam DP-600 Topic 1 Question 26 Discussion
Actual exam question for Microsoft's DP-600 exam
Question #: 26
Topic #: 1
Question #: 26
Topic #: 1
You have the following KQL query.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.


For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Suggested Answer:

Explanation:

We are analyzing this KQL query:
Sales
| where Status != "Cancelled"
| where OrderDate >= ago(30d)
| summarize TotalSales = sum(SalesAmount) by ProductCategory
| where TotalSales > 0
Statement 1:
"The query excludes sales that have a Status of Cancelled."
Yes # where Status != "Cancelled" filters them out.
Statement 2:
"The query calculates the total sales of each product category for the last 30 days." Yes # where OrderDate >= ago(30d) ensures only last 30 days.
summarize TotalSales = sum(SalesAmount) by ProductCategory groups by category.
Statement 3:
"The query includes product categories that have had zero sales during the last 30 days." No # The final filter where TotalSales > 0 excludes categories with zero sales.
Final Answer:
Excludes Cancelled sales # Yes
Calculates total sales by product category for last 30 days # Yes
Includes product categories with zero sales # No
References:
KQL where operator
KQL summarize operator
by Willie at Jun 28, 2026, 06:00 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).