Question

Difficulty: EasyAzure Virtual Machine Recovery and Restore

A production virtual machine in your Azure environment is experiencing severe operating system corruption after a patch installation. You must restore the virtual machine from a recent backup point. The recovery process must preserve the virtual machine's existing network interface card (NIC), internal IP address configurations, and resource identifiers to avoid breaking connections with other services.

Which of the following steps are required to achieve this goal using the most direct restore method? (Select two.)

  1. Choose the restore option that replaces the disks of the current virtual machine.Answer
  2. Ensure the target virtual machine is in a stopped and deallocated state before starting the recovery.Answer
  3. C
    Deploy a duplicate virtual machine using a newly generated configuration and delete the corrupted one.
  4. D
    Export the virtual hard disks to a storage account and manually attach them to a new resource.

Answer

To preserve the virtual machine's existing network interfaces, IP configurations, and resource identifiers while minimizing configuration overhead, you should choose the option to replace the disks of the current virtual machine, and ensure that the target virtual machine is stopped and deallocated before starting the restore.
The option to replace the disks of the current virtual machine swaps the corrupt disks with the backed-up disks, preserving the VM's hardware profile, NIC, private IP addresses, and Azure Resource Manager ID. This operation requires the VM to be stopped and deallocated before starting.

Step-by-Step Solution

1
Identify the recovery goal: Reverting the VM state while preserving existing network interface configurations (NIC, IP) and resource identifiers directly.
Determine that the configuration details must remain unchanged.
This avoids breaking dependent services that rely on the VM's specific IP addresses or resource IDs.
2
Select the restore method: Choose the option that replaces the disks of the current virtual machine.
The backed-up disks will overwrite the existing disks without creating a new VM resource.
This preserves all other VM configuration settings, such as NIC associations and IP addresses, directly.
3
Prepare the VM: Stop and deallocate the virtual machine.
The VM enters a stopped state, allowing Azure Backup to perform the disk replacement.
Azure Backup requires the target virtual machine to be stopped and deallocated before it can swap the disks.

Key Concept

Azure Virtual Machine Recovery and Restore Options
Rate this question