AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 494


You have an Azure virtual machine named VM1.

You use Azure Backup to create a backup of VM1 named Backup1.

After creating Backup1, you perform the following changes to VM1:

✑ Modify the size of VM1.

✑ Copy a file named Budget.xls to a folder named Data.

✑ Reset the password for the built-in administrator account.

✑ Add a data disk to VM1.

An administrator uses the Replace existing option to restore VM1 from Backup1.

You need to ensure that all the changes to VM1 are restored.

Which change should you perform again?

Show Answer
Correct Answer: D

Restoring a virtual machine from a backup using the 'Replace existing' option will revert the VM to its state at the time the backup was created. This means any changes made after the backup will be lost. Modifying the size of the VM, resetting the password, and adding a data disk do not need to be redone because the restore process either retains these changes or requires simple configuration tweaks. The file 'Budget.xls' copied to a folder named 'Data' after the backup will be lost and must be copied again to ensure it is available.

Discussion

17 comments
Sign in to comment
ninjiaOption: D
Dec 25, 2021

If it's a single selection, I would select D. However, the test result reveals it should be two (C and D). I have tested this in Azure. Prepare 1. Create a Windows VM with size D2S_v3. 2. Backup the VM. Made changes after the backup. 1. Modify the VM size to DS1_v2. 2. RDP to the VM and create a new file. 3. Reset the password for the built-in administrator. 4. Add a data disk to the VM. Restore the VM from the backup. Here are the results: 1. VM size remains as DS1_v2. 2. RDP to VM with the changed password. 3. Data disk is gone. 4. A new file is gone. Conclusion, VM size and password will not be overridden by the restore process. You will need to perform the changes again: 1. Add a data disk 2. Copy the file.

Netspud
Jan 19, 2022

Sadly I agree. Ref: https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#replace-existing-disks-from-a-restore-point Suggest all disks are replaced by the ones in the snapshot. ALTHOUGH the disk is not deleted, and still available in the RG (but you have to assume it needs added back). For me the safest answer is D, that file is defo gone.

Nilvam
Feb 11, 2022

Data disk will not gone (deleted). It will be unmapped.

klexams
Oct 22, 2022

Answer is C. The new file is not gone. It said "copy file to a folder named Data". It never said "copy to the data disk".

klexams
Oct 22, 2022

Also, if wanna be a bit more pedantic :-). The data disk was added AFTER the file copy, so this proves the files was NOT copied to the data disk.

klexams
Oct 22, 2022

oppss.. Correction: yes the file IS gone. So agreed answer is: 1. Add a data disk. 2. Copy the file.

Baconrind
Nov 15, 2022

Data disk is not gone, it just becomes unattached, as there is no option to re-attach disk, the only "change to perform again" is Copy Budget.xls to Data. No need to add/create a data disk again it already exists.

Dhanishetty
Dec 23, 2022

If it already exists, then why copy Budget.xls again. ? Just simply Attaching will be enough.?

rugoki
Jun 12, 2023

case file might be in a different disk saved

sourabhgOption: D
Nov 14, 2022

The correct answer is D, i.e., copy the file again. a. You don't need to resize the VM after backup. The latest size will be applicable. b. The latest credentials will work. c. This one is a bit ambiguous. The additional data disk will not be deleted after the restoration. However, you will have to attach it again to the VM. D. The file will be lost and needs to be created again.

PhlogistonOption: C
Feb 9, 2023

Stupid, ambiguous question that should not have made it past QA. Assuming that events are described in order, the file is copied to a folder named Data, which must exist on C:. That said, we do not know with any certainty where this folder resides because there is no explicit indication. It could reside on the C: drive but this is based on an inference that the question posits the activities in the order they were performed. However, the similarity between the folder name (Data) and the "data" disk in the question also causes the reader to make an inference about the location of the folder. The best answer is, therefore, C because you will always have to attach the additional drives after a restoration. D: is also valid if the Data folder is on the data drive, but we have no way of knowing this with any certainty. /rant off

er101qOption: B
Feb 1, 2023

B. Reset the password for the built-in administrator account. This change should be performed again because restoring a virtual machine from a backup using the "Replace existing" option will restore the virtual machine to its state at the time the backup was created. Any changes made after the backup was created will be lost and will need to be performed again. In this case, resetting the password for the built-in administrator account is a change that was made after the backup was created, so it will need to be performed again after restoring the virtual machine from the backup.

MoOshin
Jan 6, 2024

I agree. The new password was overwritten after the restore . The password needs to be reset again. B

nmnm22
Sep 26, 2023

this question came in my exam 25/9/2023

zellckOption: D
Feb 11, 2023

D is the answer. https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#restore-options

dejediOption: D
Sep 6, 2023

Here is a key ... After creating Backup1, you perform the following changes to VM1: ✑ Modify the size of VM1. ✑ Copy a file named Budget.xls to a folder named Data. ✑ Reset the password for the built-in administrator account. ✑ Add a data disk to VM1. File copied before attaching the Disk .We Shouldnt assume the file was copied to that disk attached

1828b9d
Mar 1, 2024

This question was in exam 01/03/2024

CyberKelevOption: C
Mar 2, 2023

In Backup does not exist new added Disk in meanwhile. We should add this Disk again

MadboOption: C
Apr 14, 2023

The correct answer is C. Add a data disk. When you use the "Replace existing" option to restore a virtual machine from an Azure Backup, the entire virtual machine is replaced with the backup data, including the operating system disk and all data disks that were attached to the virtual machine at the time the backup was taken.

SIAMIANJIOption: D
May 22, 2023

Copy Budget.xls to Data.

RandomNicknameOption: D
Jun 23, 2023

Agree with D; https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#restore-options A-C are all retained if replace existing is used as far as I can tell.

sardonique
Oct 18, 2023

as usual some questions are so badly formulated, with the purpose to check how crazy you are, trying to understand what IQ test these guys had in mind

sardonique
Oct 18, 2023

it is a best practice to have a separate data disk to store Data however reading the premises carefully, it is written nowhere that the VM has a data disk attached, and even if it was there, you cannot assume that the folder named "data" is located in the data disk. So "D" is the safest answer

rnd3131Option: A
Jan 22, 2024

You need to ensure that all the changes to VM1 are restored. I am the only one saying A? All changes are reverted by restoring backup, but the vm size you need to revert manual!

tashakoriOption: C
Mar 14, 2024

C is right

Z_MUOption: D
May 25, 2024

Read "Replace existing" option from restore options in below article https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#restore-options Notice this line "Azure Backup takes a snapshot of the existing VM before replacing the disk. The snapshot is copied to the vault and retained in accordance with the retention policy."

tcoelho28Option: C
Jul 12, 2024

"Copy a file named Budget.xls to a folder named Data" Is copy to a folder, no mention the folder is in data disk. If wehe have the consideration the order the changes, the file is copy before the data disk is added. To restore the VM from the backup you need add data disk.