Microsoft Certified: Azure Administrator Associate (AZ-104) · Microsoft

Monitor and Maintain Azure Resources

15 practice questions covering 20% of the official Microsoft Certified: Azure Administrator Associate (AZ-104) blueprint. Every item includes a worked explanation of the correct answer.

View all 5 domains in Microsoft Certified: Azure Administrator Associate (AZ-104)

Syllabus Coverage & Domain Overview

This topic covers keeping an Azure environment observable and recoverable. The official outline splits it into two areas: monitoring resources, and implementing backup and recovery. On the monitoring side you are expected to read metrics in Azure Monitor, configure log settings, query and analyse logs, and build alert rules with action groups and alert processing rules. You also need to interpret the Insights views for virtual machines, storage accounts and networks, and to use Network Watcher and Connection Monitor for connectivity problems. On the recovery side you create Recovery Services vaults and Backup vaults, define backup policies, run backup and restore operations, set up Site Recovery for Azure resources, fail over to a secondary region, and interpret backup reports and alerts.

The distinctions that matter most are the ones between similar tools. Metrics are lightweight numeric values collected automatically, while logs are richer records that must be routed through diagnostic settings or an agent to a destination such as a Log Analytics workspace, a storage account or an event hub. The destination you choose depends on the need: interactive querying, cheap long-term retention, or streaming to another system. Know the difference between metric alerts, log search alerts and activity log alerts, and remember that an action group decides who or what is notified, while an alert processing rule changes or suppresses actions, for example during planned maintenance, without editing the alert itself. For protection, separate Azure Backup, which keeps point-in-time copies for restore, from Site Recovery, which replicates workloads so you can fail over to another region. Also learn which workloads use which kind of vault, and how retention settings and soft delete protect recovery points.

Questions usually give a short scenario with a requirement and several plausible tools, and ask for the one that meets the requirement with the least effort. Typical framings include an alert that must stay quiet for a window, logs that must be kept for a set period, a connection that is blocked and has to be diagnosed, or a team that needs both backup and regional failover. Common traps include choosing backup when the scenario needs failover, or the reverse. Another is picking a metric alert when the condition depends on a log query. Others are sending logs to the wrong destination, confusing an NSG rule problem with a routing problem, and forgetting that a vault and the resources it protects have to be in compatible regions. Read for the exact verb, such as detect, notify, suppress, retain, restore or fail over, because each points to a different feature.

To prepare, work in a free or low-cost subscription and do each task at least once. Create a workspace, enable diagnostic settings on a VM or storage account, and write a few simple Kusto queries. Build an alert with an action group, then add a processing rule that suppresses it. Run an IP flow check and a connection test in Network Watcher. Back up a small VM, restore a file or disk, and walk through a Site Recovery replication and test failover. Then practise scenario questions and review every wrong answer against the product documentation.

In the official Microsoft Certified: Azure Administrator Associate (AZ-104) examination blueprint, Monitor and Maintain Azure Resources carries a weightage of 20%. Out of the total examination duration of 2 hr, candidates should budget approximately 24 min for questions from this domain to maintain pace across the paper.

How to Master Monitor and Maintain Azure Resources for Microsoft Certified: Azure Administrator Associate (AZ-104)

Our 15 published questions in Monitor and Maintain Azure Resources are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the medium difficulty level of the Microsoft exam:

  • Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Monitor and Maintain Azure Resources items and review the step-by-step derivation after each submission.
  • Negative Marking Discipline: The Microsoft Certified: Azure Administrator Associate (AZ-104) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Monitor and Maintain Azure Resources item.
  • Benchmark Target: Aim for at least 70% accuracy in Monitor and Maintain Azure Resources drills before moving to full-paper simulations.

Monitor and Maintain Azure Resources worked examples

Monitor and Maintain Azure Resources questions from the Microsoft Certified: Azure Administrator Associate (AZ-104) syllabus, answered in full. Try each one before opening the explanation.

  1. Example 1 · Monitor and Maintain Azure Resources · hard

    A company runs 30 mission-critical Azure VMs in East US and wants automated cross-region disaster recovery to West US with a Recovery Point Objective (RPO) of a few minutes and orchestrated multi-tier failover recovery plans. Which two statements accurately describe configuring Azure Site Recovery (ASR) for Azure-to-Azure VM replication? (Select two.)

    • AProvision the Recovery Services vault in the target DR region (West US)
    • BProvision the Recovery Services vault inside the source East US resource group
    • CASR uses the Mobility Service extension on source VMs for continuous replication
    • DASR requires shutting down source VMs in East US for 4 hours daily to copy VHDs
    Show answer and explanation

    Correct answers: A. Provision the Recovery Services vault in the target DR region (West US); C. ASR uses the Mobility Service extension on source VMs for continuous replication

    Why

    When replicating Azure VMs from a source region (East US) to a target region (West US) using Azure Site Recovery (ASR): (B) the Recovery Services vault must be provisioned in a region different from the source region (typically the target DR region, West US) so the vault remains available if East US suffers a regional outage (A), and (C) ASR installs the Mobility Service extension on the source VMs and replicates disk writes continuously through a staging cache storage account in the source region to managed disks in the target region (C).

    • B. Provision the Recovery Services vault inside the source East US resource group — Placing the DR vault in the same source region/resource group violates regional disaster recovery isolation.
    • D. ASR requires shutting down source VMs in East US for 4 hours daily to copy VHDs — ASR replicates continuously in the background while source VMs remain online with zero downtime.
  2. Example 2 · Monitor and Maintain Azure Resources · medium

    An operations team has 45 Azure Monitor alert rules firing across a production resource group (RG-Prod). Every Sunday from 02:00 UTC to 04:00 UTC, automated OS patching reboots the VMs in RG-Prod. The team wants to suppress all email, SMS, and webhook notifications during that 2-hour weekly maintenance window while still allowing the alert instances to be recorded in Azure Monitor. Which feature should they configure?

    • ADelete and recreate the 45 alert rules each Sunday via a manual checklist
    • BApply a ReadOnly resource lock to the central Log Analytics workspace
    • CDisable the Azure Activity Log at the production subscription level
    • DAn Azure Monitor Alert Processing Rule scoped to RG-Prod with a schedule
    Show answer and explanation

    Correct answer: D. An Azure Monitor Alert Processing Rule scoped to RG-Prod with a schedule

    Why

    An Azure Monitor alert processing rule (formerly called an action rule) modifies alert instances after they fire, at a chosen scope such as a subscription, resource group, or specific resources. One action type is suppression of notifications, which can be applied always or only on a one-time or recurring schedule, for example weekly on Sunday from 02:00 to 04:00 UTC. Because the rule acts on fired alerts, the alert rules stay enabled and the alert instances are still created and recorded in Azure Monitor. Only the action group notifications (email, SMS, webhook) are skipped. Scoping the rule to RG-Prod covers all 45 alert rules with one object. The common trap is to disable or delete the alert rules, or to reach for locks or log settings. Those either lose the alert records or have no effect on notification delivery.

    • A. Delete and recreate the 45 alert rules each Sunday via a manual checklist — Deleting and recreating 45 alert rules every week is a manual, error-prone process that would also stop alert instances from being recorded during the window. It does not meet the requirement to keep recording alerts while only suppressing notifications.
    • B. Apply a ReadOnly resource lock to the central Log Analytics workspace — A ReadOnly resource lock blocks write and configuration changes to the Log Analytics workspace through Azure Resource Manager. It has no control over whether action groups send email, SMS, or webhook notifications, and it does not apply to the alert rules in RG-Prod.
    • C. Disable the Azure Activity Log at the production subscription level — The Activity Log is the subscription-level record of control plane operations and is a platform feature that is not switched off. Diagnostic settings can change where it is exported, but that does not suppress notifications from metric or log alert rules.
  3. Example 3 · Monitor and Maintain Azure Resources · medium

    An administrator configures Azure Backup in a Recovery Services vault for 20 production VMs with a daily backup policy (30-day retention). A rogue script deletes one of the VM backup items and attempts to purge its recovery points immediately. Because Soft Delete is enabled on the Recovery Services vault (by default / always-on), for how many additional days are the deleted backup recovery points retained at no extra backup storage cost before permanent deletion?

    • A2 additional days before irreversible recovery point purge
    • B14 additional days in the soft-deleted state (allowing undelete)
    • C365 additional days in the Archive blob storage tier
    • D0 days because deleting a backup item bypasses soft delete
    Show answer and explanation

    Correct answer: B. 14 additional days in the soft-deleted state (allowing undelete)

    Why

    In Azure Backup Recovery Services vaults, Soft Delete retains deleted backup data for 14 additional days (configurable up to 180 days, with 14 days as the standard default free retention window) during which the backup item can be undeleted with all recovery points intact.

    • A. 2 additional days before irreversible recovery point purge — 2 days is far shorter than Azure Backup's mandatory 14-day minimum soft-delete retention window.
    • C. 365 additional days in the Archive blob storage tier — Soft delete retains recovery points in the vault for 14 days by default, not 365 days in Archive blob tier.
    • D. 0 days because deleting a backup item bypasses soft delete — Soft delete specifically intercepts backup item deletion and holds the recovery points for 14 days.
  4. Example 4 · Monitor and Maintain Azure Resources · easy

    A security administrator notices that an SSH connection (TCP 22) from 10.1.0.5 to an Azure Linux VM (10.2.0.10) is being blocked. The VM has one NSG attached to its subnet and a second NSG attached to its network interface (NIC), each containing 15 custom security rules. Which Azure Network Watcher tool checks the source/destination IP, port, and protocol and immediately identifies the exact NSG rule allowing or denying the packet?

    • AAzure Advisor cost optimization recommendations
    • BAzure Service Health planned maintenance notifications
    • CAzure Network Watcher IP flow verify diagnostic tool
    • DAzure Backup Recovery Services vault job monitor
    Show answer and explanation

    Correct answer: C. Azure Network Watcher IP flow verify diagnostic tool

    Why

    IP Flow Verify in Azure Network Watcher tests a 5-tuple packet (Protocol, Direction, Local IP/Port, Remote IP/Port) against all effective security rules on the VM's subnet and NIC NSGs and reports whether access is allowed or denied along with the exact offending NSG rule name.

    • A. Azure Advisor cost optimization recommendations — Azure Advisor analyzes cost, reliability, and high-level security posture, not 5-tuple NSG packet flows.
    • B. Azure Service Health planned maintenance notifications — Service Health tracks Azure datacenter incidents, not customer NSG rule evaluations.
    • D. Azure Backup Recovery Services vault job monitor — Recovery Services vault tracks VM backup jobs, not network packet filtering.
  5. Example 5 · Monitor and Maintain Azure Resources · medium

    An Azure administrator needs to retain Azure Activity Log events (control-plane subscription operations like Create or Update Virtual Machine and Delete Network Security Group) for 365 days and run Kusto Query Language (KQL) queries across them. By default, how long does the Azure Activity Log retain events in the portal, and how should the administrator extend retention with KQL query support?

    • A7 days default; increase retention by deploying an Azure Standard Load Balancer
    • B90 days default; export Activity Logs via Diagnostic Settings to Log Analytics
    • C365 days default; KQL runs natively on raw Activity Logs without a workspace
    • D30 days default; enable Blob Soft Delete at the subscription root management scope
    Show answer and explanation

    Correct answer: B. 90 days default; export Activity Logs via Diagnostic Settings to Log Analytics

    Why

    By default, the Azure Activity Log retains events for 90 days. Creating a Diagnostic Setting at the subscription level to export the Activity Log (Administrative, Security, ServiceHealth, Policy, etc.) to a Log Analytics workspace enables KQL querying and configurable retention up to 730 days (interactive) / 12 years (archive).

    • A. 7 days default; increase retention by deploying an Azure Standard Load Balancer — The Activity Log retains events for 90 days by default, not 7 days, and Load Balancers do not store logs.
    • C. 365 days default; KQL runs natively on raw Activity Logs without a workspace — Default retention is 90 days, and KQL requires sending the logs to a Log Analytics workspace.
    • D. 30 days default; enable Blob Soft Delete at the subscription root management scope — Blob Soft Delete applies to storage account blobs, not subscription Activity Logs.

Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.

All 5 Monitor and Maintain Azure Resources questions with answers

All Syllabus Domains in Microsoft Certified: Azure Administrator Associate (AZ-104)

Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.