You are using Azure Monitor Application Insights to collect dependency data.
You must be able to:
Correlate failed requests with dependency calls during the last hour.
Calculate the average dependency duration per operation.
You need to construct the KQL query by using the minimum number of statements.
Which three operators should you use? Each correct answer presents part of the solution.
You must be able to:
Correlate failed requests with dependency calls during the last hour.
Calculate the average dependency duration per operation.
You need to construct the KQL query by using the minimum number of statements.
Which three operators should you use? Each correct answer presents part of the solution.
Show answerHide answer
Correct answer: B, C, D summarize join where
Explanation
ExplanationTo meet both requirements using the minimum number of statements, you need to correlate two separate telemetry tables (`requests` and `dependencies`) and perform an aggregation. Here is how the three operators accomplish this:
1. where (D): You must filter both datasets to the required time window. While the KQL query itself uses a `where` clause, the `requests` and `dependencies` tables also require filtering (e.g., `where success == false` for failed requests and `where timestamp > ago(1h)`).
2. join (C): To "correlate failed requests with dependency calls," you must combine the `requests` table with the `dependencies` table. The `join` operator is essential to link a failed request to its downstream dependency call using the `operation_Id` (or `Id`/`ParentId`).
3. summarize (B): To "calculate the average dependency duration per operation," you use the `summarize` operator to group the joined results by the operation name and compute the average duration (e.g., `summarize avg(duration) by operation_Name`).
Why the Other Options Are Incorrect
A. extend: While `extend` can create calculated columns, it is not strictly necessary to perform the required correlation or averaging; the `summarize` operator can calculate the average directly.
E. distinct: `distinct` is used to return a unique list of values. It cannot perform calculations (like averages) or correlate datasets.
References
Microsoft Learn: Application Insights telemetry correlation (Explains how to correlate requests and dependencies using `join` on `operation_Id`).













