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
Which agent replaces the legacy Log Analytics agent for VMs and Kubernetes clusters?
- Azure Monitor Agent
- Application Insights SDK
- Azure Pipelines agent
- 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.
What can a data collection rule define?
- Which data to collect
- A KQL transformation applied before the data is stored
- The destination for the data
- The VM size of the monitored machine
- 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: 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.
