CertLumen

Microsoft DevOps Engineer Expert (AZ-400) · Section 5 · 8% of the exam

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

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

Azure Monitor is the platform that stores metrics and logs for everything you run; Log Analytics is where you query them and Application Insights is its application performance monitoring feature. This lesson covers how Azure Monitor plugs into DevOps tools, how to switch on telemetry for applications, VMs, containers, storage and networks, and where to read CPU, memory, disk and network indicators.

Points to remember

  • Metrics are precomputed numeric series, logs live in a Log Analytics workspace and are queried with KQL; the activity log is free and automatic.
  • Resource logs need a diagnostic setting; platform metrics and the activity log do not.
  • Application Insights resources are workspace-based and use a connection string; code uses an OpenTelemetry distro, browsers use the JavaScript SDK.
  • Azure Monitor Agent plus a data collection rule replaced the Log Analytics (MMA) agent for guest data.
  • VM insights Map and the Dependency agent retire on 30 June 2028; build on Azure Monitor Agent instead.

Try a question

Your team manages a subscription that hosts dozens of Azure resources. An auditor asks who deleted a virtual machine last week. You want the answer without enabling or paying for anything. Which Azure Monitor data source records this operation by default?

  1. AThe activity log, which records control-plane operations and is collected automatically at no cost
  2. BGuest metrics from Azure Monitor Agent, which record operating system performance counters and processes
  3. CApplication Insights request telemetry, which records calls made to your application
  4. DResource logs, which are collected once a resource is created and sent to a workspace
Show the answer

A. The activity log is the subscription-level record of control-plane operations such as creating, updating or deleting a resource or assigning a role. It is collected automatically for all Azure resources at no cost. Send it to a Log Analytics workspace if you want to query it with KQL.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Azure Monitor, Application Insights and infrastructure telemetry teaches this objective (about 45 minutes), and 15 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

← Previous objective · All 86 objectives · Next objective →