AZ-401 instrumentation explained

Updated November 23, 2026

Instrumentation is 15-20% of AZ-401, much bigger than the 5-10% this topic carries on AZ-400, and it is where AI agents do real operational work. Microsoft’s beta outline has three groups: monitoring the DevOps platforms, monitoring Azure workloads with AI agents, and analyzing metrics, including agent logs, with AI help. Plan for hands-on time in Azure Monitor.

Monitoring Azure DevOps and GitHub

You design dashboards that show how delivery performs: flow of work, cycle time, lead time and time to recovery. These are outcome measures, and the usual exam question is which one answers a stakeholder’s question.

MeasureQuestion it answers
Lead timeHow long from commit or request to running in production?
Cycle timeHow long does work take once started?
Time to recoveryHow quickly do we restore service after a failure?
Flow of workWhere does work wait or pile up?

Configuration objectives:

  • Integrate Azure Monitor and Log Analytics with Azure DevOps and GitHub, so pipeline and audit data can be queried and alerted on.
  • Enable GitHub insights and build charts.
  • Create alerts for events in Azure Pipelines and GitHub Actions, such as a failed deployment, with the right action group or notification target.

Monitoring workloads with AI agents

Three objectives name specific agents:

  • Azure Copilot Observability Agent: deploy and configure it to help with monitoring questions and anomalies.
  • Azure SRE Agent: deploy and configure it, then investigate and resolve the issues it raises.

Think of these agents as assistants with scoped access. Know the operating model rather than menu clicks: give the agent identity-based access with the least privilege it needs, decide what it may do on its own versus what needs human approval, and treat its findings as leads that you verify against metrics, logs and traces.

Analyzing metrics and logs

  • Infrastructure: CPU, memory, disk and network indicators, and how to tell saturation from a quiet but healthy system.
  • Applications: telemetry and instrumentation data; response time, failure rate and dependency calls in Application Insights.
  • Distributed tracing: follow one request across services with Application Insights to find the slow or failing hop.
  • GitHub Copilot agent logs: configure how they are collected and managed, so agent activity is auditable.
  • Querying: interrogate logs with natural-language queries or basic KQL. Be able to read a short query that filters by time, summarizes by a field and orders results.

A simple KQL shape to recognise: a table name, a where clause on time, a summarize by a column and a sort or order by. You do not need advanced operators, but you do need to spot a wrong filter or a missing time range in a generated query.

Common traps

  1. Confusing logs, metrics and traces: metrics show that something changed, logs explain events, traces show the path of a request.
  2. Setting alerts on every metric. Alert on symptoms users feel and on pipeline failures that need action.
  3. Trusting an agent’s diagnosis without checking its evidence.
  4. Forgetting retention and cost for Log Analytics when ingesting everything.

Three practice questions

Question 1. Management asks how quickly your team restores service after a failed release. Which measure answers this?

  • A. Lead time for changes
  • B. Time to recovery
  • C. Unit test pass rate
  • D. Number of repositories
Show answer

Answer: B

Time to recovery measures how long it takes to restore service after a failure. Lead time measures how long a change takes to reach production, test pass rate says nothing about restoration, and the number of repositories is not a delivery performance measure.

Want more questions like this? Full AZ-401 practice tests →

Question 2. Users report that checkout requests are slow, and the request passes through five services. Which tool best finds the slow service?

  • A. Distributed tracing in Azure Monitor Application Insights
  • B. The average CPU of one virtual machine
  • C. A repository commit activity chart
  • D. The pipeline duration chart
Show answer

Answer: A

Distributed tracing in Application Insights shows the path and timing of a single request across services, so the slow hop is visible. CPU averages on one host, a repository activity graph and a pipeline duration chart do not show where a runtime request spends its time.

Want more questions like this? Full AZ-401 practice tests →

Question 3. The Azure SRE Agent proposes a fix for a recurring failure and asks to apply it to production. Your policy is to keep humans accountable for production changes. What should you configure?

  • A. Full autonomy with owner rights on the subscription
  • B. Turn the agent off permanently
  • C. Least-privilege access with human approval before production changes
  • D. Let the agent use a shared administrator account
Show answer

Answer: C

Requiring human approval for production actions, with the agent holding only the access it needs, keeps accountability while still using its analysis. Full autonomy removes the control, disabling the agent discards its value, and sharing an administrator account hides who acted.

Want more questions like this? Full AZ-401 practice tests →

Finish with is AZ-401 worth it or revisit the study plan.