Bitzu

AZ-400 ยท Monitoring DevOps environments

How is telemetry collected from apps, VMs and containers?

Application Insights (workspace-based, SDK vs autoinstrumentation), VM insights, Container insights, Azure Monitor for Storage and Networks, Azure Monitor Agent and data collection rules.

Key points

  • Applications send telemetry to Application Insights, either through autoinstrumentation (no code change, fewer options) or code-based instrumentation (full control, custom telemetry).
  • Machines and Kubernetes clusters use the Azure Monitor Agent, which fetches data collection rules (DCRs) associated with it.
  • VM insights and Container insights build on that agent.

Source: https://learn.microsoft.com/en-us/azure/azure-monitor/data-collection/data-collection-rule-overview

Practice questions

Single choice

Which agent replaces the legacy Log Analytics agent for VMs and Kubernetes clusters?

  1. Azure Monitor Agent
  2. Application Insights SDK
  3. Azure Pipelines agent
  4. Diagnostic settings extension
Show answer

Answer: A. Azure Monitor Agent

Azure Monitor Agent is the DCR-based replacement. Application Insights SDKs and diagnostic settings are different collection paths.

Select all that apply

What can a data collection rule define?

  1. Which data to collect
  2. A KQL transformation applied before the data is stored
  3. The destination for the data
  4. The VM size of the monitored machine
  5. The trigger of a build pipeline
Show answer

Answer: A. Which data to collect, B. A KQL transformation applied before the data is stored, C. The destination for the data

A DCR describes what data to collect, transformations applied before storage, and the destination. VM size and pipeline triggers are unrelated to data collection.

True or false

True or false: once a DCR exists, Azure Monitor Agent on any VM in the subscription starts using it automatically.

Show answer

Answer: False

False. A DCR takes effect for a resource only through a data collection rule association between the two.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-400 topics in this module