Courseiva
Deploy and Manage Azure ComputehardMultiple ChoiceObjective-mapped

AZ-104 Deploy and Manage Azure Compute Practice Question

A virtual machine named VM-App01 hosts a critical internal application. You need to protect the VM so that it can be restored if the VM is deleted or corrupted. The solution must provide centralized backup management and retention policies. What should you use?

⚠ Common exam trap

A common mix-up: candidates confuse Azure Backup (for backup and retention) with Azure Site Recovery (for disaster recovery), or assume that disk snapshots alone are sufficient for full VM recovery, ignoring the need for centralized management and retention policies.

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

Azure Backup with a Recovery Services vault.

Azure Backup with a Recovery Services vault is the correct choice because it provides centralized backup management, configurable retention policies, and the ability to restore a VM even if it is deleted or corrupted. Unlike snapshots, Azure Backup stores backups in a separate vault, supports application-consistent backups via the Volume Shadow Copy Service (VSS), and offers long-term retention with backup policies.

Answer analysis

Option-by-option breakdown

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

  • Azure Backup with a Recovery Services vault.

    Why this is correct

    Azure Backup with a Recovery Services vault is the correct solution because it provides a centralized, policy-driven backup service designed specifically for VM protection. It installs the VM extension to take application-consistent snapshots, transfers them to the vault, and applies configurable retention rules for daily/weekly/monthly/yearly points. This enables granular restores (files, disks, or entire VM) with integration into Azure Monitor and RBAC, giving you a reliable, auditable backup system for disaster recovery and operational recovery.

  • Managed disk snapshots only.

    Why it's wrong here

    Managed disk snapshots provide point-in-time copies of a disk, but they are not a managed backup solution. Snapshots must be scheduled and deleted manually (or via scripts), they offer no centralized retention policy, and they are crash-consistent by default, meaning they do not guarantee file-system or application consistency for applications running inside the VM. Additionally, restore from a snapshot requires manually creating a disk and attaching it to a VM, whereas Azure Backup integrates with Recovery Services vault for a single-click restore with defined retention.

    When this WOULD be correct

    You need to create a point-in-time backup of a single managed disk (e.g., data disk) for quick restoration or to create a new VM from the snapshot, and centralized backup management or retention policies are not required.

  • Azure Site Recovery only.

    Why it's wrong here

    Azure Site Recovery is intended for disaster recovery, not routine backup. It continuously replicates the VM to a secondary Azure region to meet strict RTO/RPO targets, but it does not create point-in-time backup copies or allow configurable retention periods like a vault does. Replicated data is a live, rolling copy tied to the recovery point objective, so it cannot be used to restore a VM from months ago or recover from accidental deletion—a backup service like Azure Backup is required for that.

    When this WOULD be correct

    If the question asked for a solution to replicate VMs to another Azure region for failover during a regional outage, ensuring business continuity with minimal downtime, Azure Site Recovery would be the correct answer.

  • Boot diagnostics.

    Why it's wrong here

    Boot diagnostics is a troubleshooting feature that captures serial console output and screenshots of the VM during boot. It helps diagnose startup issues such as kernel panics or OS boot failures, but it does not capture any user data, application data, or even a full OS disk image. Since it only stores transient logs and screenshots, it cannot be used to restore the VM or its data; it is not a backup or disaster-recovery mechanism.

    When this WOULD be correct

    When the question asks for a method to troubleshoot a VM that fails to boot or to capture boot logs for diagnostic purposes, and the solution does not need to restore the VM from backup.

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.

Azure Backup with a Recovery Services vault.Correct answer

Why this is correct

Azure Backup with a Recovery Services vault is the correct solution because it provides a centralized, policy-driven backup service designed specifically for VM protection. It installs the VM extension to take application-consistent snapshots, transfers them to the vault, and applies configurable retention rules for daily/weekly/monthly/yearly points. This enables granular restores (files, disks, or entire VM) with integration into Azure Monitor and RBAC, giving you a reliable, auditable backup system for disaster recovery and operational recovery.

Managed disk snapshots only.Wrong answer — click to see why

Why this is wrong here

Managed disk snapshots only provide crash-consistent backups for individual disks, but they lack centralized management, retention policies, and the ability to restore the entire VM configuration (including network and OS settings) in case of VM deletion or corruption.

★ When this WOULD be the correct answer

You need to create a point-in-time backup of a single managed disk (e.g., data disk) for quick restoration or to create a new VM from the snapshot, and centralized backup management or retention policies are not required.

Why candidates choose this

Candidates may think snapshots are sufficient for VM protection because they can restore disks, but they overlook the need for centralized management, retention policies, and full VM restore capabilities that Azure Backup provides.

Azure Site Recovery only.Wrong answer — click to see why

Why this is wrong here

Azure Site Recovery is designed for disaster recovery and business continuity by replicating VMs to a secondary region, not for centralized backup management with retention policies for restoring deleted or corrupted VMs.

★ When this WOULD be the correct answer

If the question asked for a solution to replicate VMs to another Azure region for failover during a regional outage, ensuring business continuity with minimal downtime, Azure Site Recovery would be the correct answer.

Why candidates choose this

Candidates may confuse backup (Azure Backup) with disaster recovery (Azure Site Recovery), as both involve protecting VMs, but they serve different purposes: backup for point-in-time restoration, Site Recovery for replication and failover.

Boot diagnostics.Wrong answer — click to see why

Why this is wrong here

Boot diagnostics only captures serial console output and screenshots for troubleshooting boot failures; it does not provide backup or restore capabilities for VM deletion or corruption.

★ When this WOULD be the correct answer

When the question asks for a method to troubleshoot a VM that fails to boot or to capture boot logs for diagnostic purposes, and the solution does not need to restore the VM from backup.

Why candidates choose this

Candidates may confuse boot diagnostics with a recovery feature because the name implies it helps with VM issues, but it is purely diagnostic and not a backup solution.

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?”

Go deeper

Related to this question

About these practice questions

This AZ-104 question is part of Courseiva's 1,049-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.