Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 6 question 8 discussion

Actual exam question from Microsoft's AZ-104
Question #: 8
Topic #: 6
[All AZ-104 Questions]

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?

  • A. Modify the size of VM1.
  • B. Reset the password for the built-in administrator account.
  • C. Add a data disk.
  • D. Copy Budget.xls to Data.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ninjia
Highly Voted 2 years, 9 months ago
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.
upvoted 71 times
Nilvam
2 years, 8 months ago
Data disk will not gone (deleted). It will be unmapped.
upvoted 5 times
...
Netspud
2 years, 8 months ago
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.
upvoted 6 times
...
klexams
1 year, 11 months ago
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".
upvoted 6 times
klexams
1 year, 11 months ago
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.
upvoted 4 times
klexams
1 year, 11 months ago
oppss.. Correction: yes the file IS gone. So agreed answer is: 1. Add a data disk. 2. Copy the file.
upvoted 4 times
...
...
...
Baconrind
1 year, 10 months ago
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.
upvoted 15 times
Dhanishetty
1 year, 9 months ago
If it already exists, then why copy Budget.xls again. ? Just simply Attaching will be enough.?
upvoted 6 times
rugoki
1 year, 3 months ago
case file might be in a different disk saved
upvoted 2 times
...
...
...
...
sourabhg
Highly Voted 1 year, 11 months ago
Selected Answer: 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.
upvoted 17 times
...
SeMo0o0o0o
Most Recent 4 days, 16 hours ago
Selected Answer: D
D is correct
upvoted 1 times
...
Pcservices
2 weeks, 5 days ago
Selected Answer: C
You would need to re-add the data disk after the restoration, as the backup will not include disks that were added after it was created.
upvoted 1 times
...
dendenp
1 month, 2 weeks ago
Selected Answer: C
The key word here is Azure Backup, only a 'data disk' can be restored. every other change is not backedup by Azure backup service
upvoted 1 times
...
Josh219
1 month, 3 weeks ago
The correct answer is C. Add a data disk. When you restore a virtual machine using the “Replace existing” option in Azure Backup, the VM is restored to its state at the time of the backup. Any changes made after the backup, such as adding a data disk, will not be included in the restored VM. Therefore, you will need to add the data disk again after the restoration.
upvoted 1 times
...
tcoelho28
2 months, 4 weeks ago
Selected Answer: 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.
upvoted 1 times
...
Z_MU
4 months, 2 weeks ago
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."
upvoted 1 times
...
tashakori
6 months, 4 weeks ago
C is right
upvoted 1 times
...
1828b9d
7 months, 1 week ago
This question was in exam 01/03/2024
upvoted 2 times
...
rnd3131
8 months, 2 weeks ago
Selected Answer: 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!
upvoted 1 times
...
sardonique
11 months, 3 weeks ago
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
upvoted 1 times
sardonique
11 months, 3 weeks ago
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
upvoted 1 times
...
...
nmnm22
1 year ago
this question came in my exam 25/9/2023
upvoted 4 times
...
dejedi
1 year, 1 month ago
Selected Answer: 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
upvoted 2 times
...
RandomNickname
1 year, 3 months ago
Selected Answer: 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.
upvoted 1 times
...
SIAMIANJI
1 year, 4 months ago
Selected Answer: D
Copy Budget.xls to Data.
upvoted 1 times
...
Madbo
1 year, 5 months ago
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.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...