Exam AZ-104 All QuestionsBrowse all questions from this 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?

    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
ninjiaOption: D

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

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

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

klexams

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

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

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

Baconrind

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

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

rugoki

case file might be in a different disk saved

sourabhgOption: D

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

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

nmnm22

this question came in my exam 25/9/2023

er101qOption: B

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

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

1828b9d

This question was in exam 01/03/2024

dejediOption: D

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

zellckOption: D

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

tcoelho28Option: C

"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.

Z_MUOption: D

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."

tashakoriOption: C

C is right

rnd3131Option: A

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!

sardonique

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

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

RandomNicknameOption: D

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.

SIAMIANJIOption: D

Copy Budget.xls to Data.

MadboOption: C

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.

CyberKelevOption: C

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