Courseiva
Monitor and Maintain Azure ResourcesmediumMultiple ChoiceObjective-mapped

AZ-104 Monitor and Maintain Azure Resources Practice Question

The team needs alerts for VM CPU and storage capacity thresholds, but they want to keep telemetry ingestion costs as low as possible. Which approach is best?

⚠ Common exam trap

Candidates often assume Log Analytics is always the right choice for alerts because it provides richer data, but they overlook the cost implications of ingesting and storing diagnostic logs for simple threshold monitoring, where metric alerts are both sufficient and far cheaper.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Azure Monitor metric alerts for the threshold conditions.

Azure Monitor metric alerts are the most cost-effective approach because they evaluate lightweight, pre-collected platform metrics (e.g., CPU percentage, disk read/write operations) at regular intervals without ingesting or storing raw log data. This avoids the ingestion and retention costs associated with sending diagnostic logs to a Log Analytics workspace, making it ideal for simple threshold-based monitoring of VM CPU and storage capacity.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use Azure Monitor metric alerts for the threshold conditions.

    Why this is correct

    Metric alerts evaluate native platform metrics directly and do not require broad log ingestion, so they are usually the most cost-aware option for threshold monitoring. For CPU and capacity-type measurements that are available as metrics, this approach gives near real-time alerting with minimal telemetry overhead. It fits the requirement to monitor multiple resources while keeping data collection costs down.

  • Send all VM diagnostic logs to Log Analytics and create only log search alerts.

    Why it's wrong here

    Routing all VM diagnostic logs into Log Analytics and creating only log search alerts would require continuous ingestion, indexing, and retention of performance data, incurring significant costs. Log search alerts also run KQL queries at fixed intervals (e.g., every 5 minutes), which delays detection and adds query processing fees. For simple threshold conditions on CPU and storage, Azure Monitor metric alerts are cheaper, faster, and avoid the overhead of log ingestion entirely.

    When this WOULD be correct

    This option would be correct if the question required detailed log-based analysis (e.g., custom queries, error patterns) and cost was not a primary constraint, or if the organization already had a Log Analytics workspace with unused data capacity.

  • Create a Recovery Services vault backup policy with a short retention period.

    Why it's wrong here

    A Recovery Services vault backup policy defines how often VM backups run and how long recovery points are retained to enable restores. It does not interact with live VM performance counters, nor does it evaluate storage capacity or CPU load in real time. Because it is strictly a data-protection mechanism, it cannot emit threshold-triggered alerts for operational health.

    When this WOULD be correct

    This option would be correct if the question asked for a cost-effective way to ensure VM backups are retained for a minimal duration to reduce storage costs while meeting compliance requirements.

  • Assign Azure Policy to the subscription to audit CPU and storage trends.

    Why it's wrong here

    Azure Policy is a governance service that enforces and audits compliance of resource configurations (like tagging or allowed VM SKUs) against custom definitions. It never collects runtime telemetry such as CPU utilization or storage free space, and its evaluation cycle is event-driven or periodic, not threshold-based. As a result, it cannot generate the operational alerts required for CPU and storage capacity thresholds.

    When this WOULD be correct

    When the requirement is to enforce compliance rules (e.g., ensuring all VMs have a specific tag or disk encryption) and audit historical configuration changes, not to alert on performance thresholds.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Use Azure Monitor metric alerts for the threshold conditions.Correct answer

Why this is correct

Metric alerts evaluate native platform metrics directly and do not require broad log ingestion, so they are usually the most cost-aware option for threshold monitoring. For CPU and capacity-type measurements that are available as metrics, this approach gives near real-time alerting with minimal telemetry overhead. It fits the requirement to monitor multiple resources while keeping data collection costs down.

Send all VM diagnostic logs to Log Analytics and create only log search alerts.Wrong answer — click to see why

Why this is wrong here

Sending all VM diagnostic logs to Log Analytics incurs significant data ingestion costs, which contradicts the goal of keeping telemetry ingestion costs low. Log search alerts also require continuous log ingestion, increasing expenses compared to metric alerts that use pre-aggregated data.

★ When this WOULD be the correct answer

This option would be correct if the question required detailed log-based analysis (e.g., custom queries, error patterns) and cost was not a primary constraint, or if the organization already had a Log Analytics workspace with unused data capacity.

Why candidates choose this

Candidates may assume that Log Analytics provides richer alerting capabilities and overlook the cost implications of ingesting all diagnostic logs, especially when the question emphasizes cost minimization.

Create a Recovery Services vault backup policy with a short retention period.Wrong answer — click to see why

Why this is wrong here

A Recovery Services vault backup policy with a short retention period does not provide alerts for VM CPU and storage capacity thresholds; it only manages backup retention, not real-time performance monitoring.

★ When this WOULD be the correct answer

This option would be correct if the question asked for a cost-effective way to ensure VM backups are retained for a minimal duration to reduce storage costs while meeting compliance requirements.

Why candidates choose this

Candidates may confuse backup policies with monitoring solutions, thinking that short retention reduces costs associated with alerting data, or they may misinterpret 'thresholds' as backup-related limits.

Assign Azure Policy to the subscription to audit CPU and storage trends.Wrong answer — click to see why

Why this is wrong here

Azure Policy audits compliance but does not generate real-time alerts for CPU or storage thresholds; it only evaluates and reports configuration drift, not performance metrics.

★ When this WOULD be the correct answer

When the requirement is to enforce compliance rules (e.g., ensuring all VMs have a specific tag or disk encryption) and audit historical configuration changes, not to alert on performance thresholds.

Why candidates choose this

Candidates may confuse Azure Policy's auditing capability with monitoring and alerting, thinking policy evaluation can trigger alerts for resource utilization trends.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

About these practice questions

Courseiva writes every AZ-104 question from scratch — 1,049 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.