AZ-104 Question 279
Single answerYou are responsible for an Azure VM named VM1 hosting an application with critical data. The VM is protected with Azure Backup using a Recovery Services vault. Recently, the application experienced data corruption, and you need to perform a file-level restore to recover data from last night's backup. Which action should you perform first to begin the restore process?
- A
From the VM's blade in the Azure portal, create a snapshot of the OS disk
- B
Download and run the script to mount the file system from the backup
- C
Use the Azure Backup agent from within the VM to export a VHD
- D
Configure a new Azure file share to restore data to an alternate location
Show answer and explanation
Correct answer: B
Explanation
To perform a file-level restore of an Azure VM protected by Azure Backup, you must download and run the file-mounting script from the Recovery Services vault. This script temporarily attaches the backup snapshot as a disk so you can browse and recover individual files as needed.
- A. Incorrect.
Creating a snapshot of the OS disk only captures the current state of the VM; it does not properly initiate a file-level restore from an existing backup.
- B. Correct.
This is the required first step for a file-level restore: you download the script provided by Azure Backup to mount the disk from the backup and then browse the files you want to restore.
- C. Incorrect.
While the Azure Backup agent can back up on-premises files and folders, it is not used in this scenario to perform a file-level restore of an Azure VM protected by the Recovery Services vault.
- D. Incorrect.
Setting up a new Azure file share might be a later step if you want to recover the data to a different location, but it is not the first step for performing a file-level restore from the existing backup.