Microsoft DevOps Engineer Expert (AZ-400) · Section 5 · 8% of the exam
Analyze metrics by using collected telemetry, including usage and application performance
One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Implement an instrumentation strategy”. Here is what it covers, the points to remember and a question to try.
What it covers
Collected telemetry only pays off when you can interrogate it. This lesson covers usage and application performance analysis in Application Insights, how distributed tracing stitches one transaction across services with operation IDs and the application map, and the basic Kusto Query Language operators the exam expects, with the table names for both the Application Insights and the workspace view.
Points to remember
- Application Insights experiences: Investigate (map, failures, performance, availability), Usage (users, funnels, flows, cohorts), Monitoring (alerts, metrics, logs, workbooks).
- Use percentiles and failure rate, not averages and raw counts; with sampling use sum(itemCount).
- Distributed tracing uses W3C Trace Context: operation_Id is the trace ID, operation_ParentId points to the caller.
- cloud_RoleName (AppRoleName) names the service on the application map; duplicates merge nodes.
- End-to-end transaction details shows one transaction across components; Application map shows topology, call duration and failure rate.
Try a question
A team needs the failure rate (percentage of failed requests) per five-minute interval for the last six hours from the requests table. Which query is correct?
- A
requests | where timestamp > ago(6h) and success == false | summarize failedCount=count() by bin(timestamp, 5m) | order by timestamp asc | render timechart - B
requests | where timestamp > ago(6h) | summarize rate=avg(success) by 5m | order by rate desc | render timechart - C
requests | where timestamp > ago(6h) | extend rate=100.0*failed/total | summarize by bin(timestamp, 5m) | render timechart - D
requests | where timestamp > ago(6h) | summarize n=count(), f=countif(success==false) by bin(timestamp, 5m) | extend rate=100.0*f/n
Show the answer
D. A rate needs both numerator and denominator in one aggregation. countif(success == false) and count() inside one summarize do this, bin(timestamp, 5m) produces the five-minute buckets, and extend computes the percentage afterwards. Filtering failures with where first throws away the total.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Analyzing telemetry, distributed tracing and KQL teaches this objective (about 50 minutes), and 10 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Configure Azure Monitor and Azure Monitor Logs to integrate with DevOps tools
- Configure collection of telemetry by using Azure Monitor Application Insights, Azure VM Insights, Azure Container Insights, Azure Monitor for Storage, and Azure Monitor for Networks
- Configure monitoring in GitHub, including enabling insights and creating and configuring charts
- Configure alerts for events in GitHub Actions and Azure Pipelines
- Inspect infrastructure performance indicators, including CPU, memory, disk, and network
- Inspect distributed tracing by using Azure Monitor Application Insights
- Interrogate logs using basic Kusto Query Language (KQL) queries