An organization requires the recovery of an encrypted production virtual machine named `vm-sec-prod` that runs Windows Server 2025. The virtual machine's disks are encrypted using Azure Disk Encryption (ADE) with keys managed in an Azure Key Vault. The virtual machine has suffered operating system corruption, and you must restore it to the original virtual network and subnet.
Which sequence of steps must you perform to restore the encrypted virtual machine?
- 1Initiate a 'Restore Disks' operation from the Recovery Services vault to a staging storage account using the selected recovery point.
- 2Wait for the restore job to complete, and then navigate to the staging storage account container containing the deployment templates.
- 3Download the generated Azure Resource Manager (ARM) template and parameters file.
- 4Modify the parameters file to specify the target virtual network, subnet, and new virtual machine name.
- 5Deploy the customized template using PowerShell, Azure CLI, or the Azure portal to recreate the virtual machine.
Answer
To restore an Azure Disk Encryption (ADE) encrypted virtual machine, you must first initiate a 'Restore Disks' operation to a staging storage account. Once the restore job finishes, navigate to the storage account container to download the generated ARM template and parameters file. Next, modify the parameters file with the target virtual network, subnet, and VM name. Finally, deploy the modified template using PowerShell, Azure CLI, or the Azure portal to recreate the VM.
For virtual machines encrypted with Azure Disk Encryption (ADE), direct restoration via 'Create virtual machine' or 'Replace existing' is not supported. The administrator must first perform a 'Restore Disks' operation to copy the encrypted VHDs to a staging storage account. Azure Backup automatically generates an ARM template and parameters file in the storage account. The administrator must download these files, modify the parameters (such as the target virtual network, subnet, and VM name), and deploy the template to recreate the VM.
Step-by-Step Solution
Key Concept
Restoring Azure Disk Encryption (ADE) Encrypted Virtual Machines