The answer is to restore the OS disk from the recovery point and then either attach it as a data disk or swap it onto the existing VM. This is correct because Azure Backup allows you to restore a specific disk independently, leaving the VM’s NIC, IP configuration, and data disks untouched. By restoring only the OS disk and swapping it into the existing VM, you repair the corruption without redeploying or losing network and storage attachments. On the AZ-104 exam, this scenario tests your understanding of the "Restore Disk" option versus full VM restore, which would overwrite the entire VM and risk breaking the NIC or data disk associations. A common trap is choosing "Restore VM" thinking it’s faster, but that replaces the VM and its configuration. Remember the memory tip: "Swap the disk, not the VM" — keep the NIC and data disks in place by restoring only the OS disk.
AZ-104 Monitor and Maintain Azure Resources Practice Question
This AZ-104 practice question tests your understanding of monitor and maintain azure resources. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Recovery Services vault > Backup item: vm-web02
Available recovery points: 5
Current VM status: Running
Issue reported: OS disk corruption after patching
Requirement: repair the VM without rebuilding networking or re-registering the VM
Based on the exhibit, the OS disk on a production VM is corrupted, but the VM must stay in place and keep its NIC and data disks. Which restore option should you choose?
Recovery Services vault > Backup item: vm-web02
Available recovery points: 5
Current VM status: Running
Issue reported: OS disk corruption after patching
Requirement: repair the VM without rebuilding networking or re-registering the VM
A
Restore the VM as a new virtual machine and delete the existing one immediately.
Why wrong: A full VM restore can create a replacement VM, but the requirement says to keep the current VM in place and avoid rebuilding networking. That makes this option unnecessarily disruptive.
B
Restore the disk, then attach or swap it as needed to repair the existing VM.
When the VM still exists but one disk is corrupted, restoring the disk is the correct approach. It lets you recover the damaged OS disk from a backup point and then attach or swap it without rebuilding the VM identity, NIC, or data disk layout. This is a common recovery pattern for targeted repair.
C
Use Azure Monitor to roll back the last deployment automatically.
Why wrong: Azure Monitor observes and alerts on issues; it does not restore disks or roll back VM configurations. Recovery must come from Azure Backup.
D
Enable a diagnostic setting on the VM so the OS disk will be repaired.
Why wrong: Diagnostic settings collect logs and metrics, but they do not repair corrupted disks or provide disk recovery capabilities.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Restore the disk, then attach or swap it as needed to repair the existing VM.
Option B is correct because when an OS disk is corrupted, you can restore just the disk from a recovery point and then either attach it as a data disk to the existing VM or swap the OS disk. This approach preserves the VM's NIC, data disks, and IP configuration, meeting the requirement to keep the VM in place.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Restore the VM as a new virtual machine and delete the existing one immediately.
Why it's wrong here
A full VM restore can create a replacement VM, but the requirement says to keep the current VM in place and avoid rebuilding networking. That makes this option unnecessarily disruptive.
✓
Restore the disk, then attach or swap it as needed to repair the existing VM.
Why this is correct
When the VM still exists but one disk is corrupted, restoring the disk is the correct approach. It lets you recover the damaged OS disk from a backup point and then attach or swap it without rebuilding the VM identity, NIC, or data disk layout. This is a common recovery pattern for targeted repair.
Related concept
Read the scenario before looking for a memorised answer.
✗
Use Azure Monitor to roll back the last deployment automatically.
Why it's wrong here
Azure Monitor observes and alerts on issues; it does not restore disks or roll back VM configurations. Recovery must come from Azure Backup.
✗
Enable a diagnostic setting on the VM so the OS disk will be repaired.
Why it's wrong here
Diagnostic settings collect logs and metrics, but they do not repair corrupted disks or provide disk recovery capabilities.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Azure Monitor with Azure Backup or Site Recovery, assuming monitoring can perform recovery actions, when in fact only backup-based disk restoration can repair a corrupted OS disk while keeping the VM in place.
Detailed technical explanation
How to think about this question
Azure VM disk restoration uses the 'Restore disks' option in Azure Backup, which creates a managed disk from a recovery point. You can then use the 'Swap OS disk' feature in the Azure portal to replace the corrupted OS disk with the restored disk without deleting the VM, preserving the VM's resource ID, NIC, and data disks. This process leverages Azure Resource Manager's ability to update the VM's storage profile while the VM remains in a stopped state.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Monitor and Maintain Azure Resources — This question tests Monitor and Maintain Azure Resources — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Restore the disk, then attach or swap it as needed to repair the existing VM. — Option B is correct because when an OS disk is corrupted, you can restore just the disk from a recovery point and then either attach it as a data disk to the existing VM or swap the OS disk. This approach preserves the VM's NIC, data disks, and IP configuration, meeting the requirement to keep the VM in place.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.