exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 1 question 35 discussion

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

Your company's Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016.
One of the VMs is backed up every day using Azure Backup Instant Restore.
When the VM becomes infected with data encrypting ransomware, you are required to restore the VM.
Which of the following actions should you take?

  • A. You should restore the VM after deleting the infected VM.
  • B. You should restore the VM to any VM within the company's subscription.
  • C. You should restore the VM to a new Azure VM.
  • D. You should restore the VM to an on-premise Windows device.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shamst
Highly Voted 3 years, 11 months ago
It should be C
upvoted 48 times
jackdryan
2 years, 4 months ago
C is correct
upvoted 3 times
...
...
Zokko
Highly Voted 9 months ago
I belive it is the C option A - If you delete the VM you cannot recover to that vm it must exist B - You do not know the other VMs C - Creating a New VM you can recover the VM D - You can recover from the backup https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
upvoted 38 times
ggogel
1 year, 7 months ago
"A - If you delete the VM you cannot recover to that vm it must exist" This is not correct. As described in your link, you cannot use the option "replace existing" after the VM was deleted. The backup is not linked to the existence of the VM! What kind of backup would this be that gets deleted when the original VM gets deleted?! In my opinion, A and C would work just fine. I would even argue that A is the saver option. Firstly, we get rid of the ransomware such that it cannot infect any other systems. Secondly, we prevent any overlaps in hostname / IP configuration between the new and old VM.
upvoted 7 times
...
J4U
3 years, 10 months ago
Yes, VM can be restored by replacing the existing disk or in a new VM.
upvoted 10 times
...
...
khamrumunnu
Most Recent 1 month, 1 week ago
Selected Answer: C
Answer is C Why other options are incorrect: A. Restore after deleting the infected VM → Risky. You might lose reference data (like VM ID or associated configurations). Better to restore to a new VM first and then clean up the old one. B. Restore the VM to any VM → You can recover files to another VM, but not the entire VM. This is not suitable in a ransomware recovery situation where the whole system needs to be replaced. D. Restore to an on-premise Windows device → Azure VM full restore is designed for restoring in Azure, not on-premises (though file-level recovery can be downloaded locally, that's not relevant here).
upvoted 2 times
...
0dc4dd8
5 months ago
Selected Answer: C
When dealing with a VM infected with ransomware, the safest and most effective approach is to restore the VM to a new Azure VM
upvoted 2 times
...
58b2872
6 months ago
Selected Answer: C
Restoring to an on-premises server is possible but involves significant compatibility, complexity, and performance issues, making it impractical for disaster recovery scenarios. Restoring the VM to a new Azure VM (option C) is the most efficient and reliable choice in this situation.
upvoted 1 times
...
minura
7 months, 1 week ago
Selected Answer: C
A. You should restore the VM after deleting the infected VM. B. You should restore the VM to any VM within the company's subscription. C. You should restore the VM to a new Azure VM. D. You should restore the VM to an on-premise Windows device. Correct Answer is C However, one can argue that answer A is also correct, but deleting the infected VM is not a mandatory step to restore a VM. You can simply restore the VM to a new Azure VM.
upvoted 1 times
...
RVivek
8 months ago
Selected Answer: C
A is wrong because if you delete the VM , replace existing disks or resore disk options cannot be used . C is the best option. https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
upvoted 1 times
...
EmadSal
8 months, 4 weeks ago
A is incorrect because you need the source machine to be available while recovering a corrupted VM, visit [https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-system-state] and search for [source machine] you will understand this point. C is incorrect, you can recover to any VM, no need to create a new one. B is correct.
upvoted 1 times
...
Timock
9 months ago
Answer: Create a new VM Create a new VM: Quickly creates and gets a basic VM up and running from a restore point. Restore disk: Restores a VM disk, which can then be used to create a new VM. Both of these options state creating a new VM and either doing it directly or attaching a restored VM disk. You could use an existing VM as well but that VM is probably already being used for something else. In the other question in this series it states what is TRUE and they are saying you can ONLY recover to specified locations which is not correct. In this answer it states SHOULD. You should use a new VM. ​​​​​​​Replace existing: The current VM must exist. If it's been deleted, this option can't be used. https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
upvoted 4 times
...
Bere
9 months ago
The answer is C. As described here: https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#choose-a-vm-restore-configuration You can Restore Virtual Machine to a new VM or replace disks on existing VM. A => you don’t need to delete the infected VM B => you cannot restore to any VM (Linux or Windows), but you can restore to a new Windows VM or to the existing Windows VM C => this option is valid D => you cannot restore to an on-premise VM
upvoted 1 times
...
30th
9 months ago
Selected Answer: C
It is not possible to "restore the vm TO any vm". - I can restore a vm to a NEW vm - I can restore a vw REPLACING any other vm - I can restore FILES to any other vm. Doesn't matter what I do, it is better to shutdown the infected VM, but not to delete it until the restore prosses is finished.
upvoted 1 times
...
[Removed]
9 months, 3 weeks ago
Selected Answer: C
C is correct
upvoted 1 times
...
OpOmOp
11 months, 3 weeks ago
Replace existing: You can restore a disk, and use it to replace a disk on the existing VM. The current VM must exist. If it's been deleted, this option can't be used. https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
upvoted 1 times
...
4557af7
11 months, 3 weeks ago
Selected Answer: C
It should be C
upvoted 1 times
...
Wiz78
12 months ago
be careful at wording, it say you should (so where is recommended not where you can)..so it should be C as is safe way to go
upvoted 1 times
...
justjeroen
1 year ago
What is wrong with A? You delete the compromised VM and restore the VM from backup. What is the added value for another VM?
upvoted 1 times
Raseekara
11 months, 3 weeks ago
May be due to SID involvement
upvoted 1 times
...
...
3c5adce
1 year, 1 month ago
Answer C (You should restore the VM to a new Azure VM) is a better choice. This approach ensures you're working with a completely uncontaminated, fresh environment, thereby significantly reducing the risk of any remnants of the ransomware affecting your new setup. However, it should be noted that this option should ideally be combined with the deletion of the infected VM (A) to mitigate any risk of spreading the ransomware further. This isn't explicitly mentioned in option C but is a critical step in the recovery process. So, while C is the better answer among the provided options for where to restore the VM, ensure to first delete the infected VM as a preparatory step.
upvoted 5 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 ...