Which of the following statements correctly describes how Azure Monitor collects metrics for a virtual machine?
Think about how Azure Monitor integrates with Azure resources without extra setup.
Azure Monitor collects metrics directly from the Azure platform for most resources, including VMs, without needing an agent. This allows near real-time monitoring.
You want to create an alert that triggers when CPU usage on an Azure App Service exceeds 80% for 10 minutes. Which metric and configuration should you use?
Consider the metric name and aggregation that best reflects sustained high CPU usage.
The 'CPU Percentage' metric with 'Average' aggregation over 10 minutes accurately detects sustained CPU usage above 80%.
Which Azure feature allows you to restrict access to metric data collected by Azure Monitor to only authorized users?
Think about how Azure controls user permissions for resource data.
Azure RBAC controls who can view or manage metric data by assigning roles at resource or resource group levels.
You want to retain detailed metrics for 30 days but reduce storage costs for older data. What is the best approach?
Consider balancing detailed monitoring needs with cost-effective long-term storage.
Retaining detailed metrics for 30 days in Azure Monitor and archiving older data to cheaper storage optimizes cost and data availability.
You observe that the 'Disk Read Bytes' metric for a VM shows a sudden spike when viewed with 'Total' aggregation over 1 minute, but a smooth curve with 'Average' aggregation. Why does this happen?
Think about how summing versus averaging data points affects the graph shape.
'Total' aggregation sums all values in the time window, so bursts cause spikes. 'Average' smooths values by calculating the mean, showing a smoother trend.