Microsoft Certified: Azure Administrator AssociateMonitor and maintain Azure resourcesMedium

A company is using Azure Monitor to collect logs from various Azure resources. They need to create an alert rule that triggers when the average CPU utilization of any virtual machine within a specific resource group exceeds 90% for a continuous period of 5 minutes. The alert should notify administrators via email. Which type of signal logic should be used for this alert rule?

  1. ALog Search
  2. BApplication Insights
  3. CActivity Log
  4. DMetric
Show answer & explanation

Correct answer: D. Metric

CPU utilization is a performance counter collected as a metric. Azure Monitor metric alerts are designed to evaluate numeric values collected over time, which directly applies to monitoring CPU usage.

Why the other options are wrong

  • A. Log Search signals are used for querying data within Log Analytics workspaces, which is not the primary way to monitor real-time CPU usage directly.
  • B. Application Insights is for application performance monitoring, not general VM infrastructure metrics.
  • C. Activity Log signals are for events like resource creation or deletion, not performance metrics.

Azure Monitor Metric Alerts

Azure Monitor metric alerts evaluate resource metrics at regular intervals to determine if conditions are met, triggering notifications or actions.

  • Monitors numerical data (e.g., CPU, memory, network I/O).
  • Can be scoped to specific resources, resource groups, or subscriptions.
  • Supports various aggregation types (e.g., average, sum, min, max).

Memory trick: Metrics measure machine's might, Logs list actions day and night.

More Monitor and maintain Azure resources questions