AZ-104 practice question 6 of 35

You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the VM1 Redeploy + reapply blade, you select Redeploy. Does this meet the goal?

Full set: 569 questions

Domain Deploy and manage Azure compute resources

Answer options
A: Yes Correct answer
B: No
Correct Answer:
A. Yes
Explanation

The "Redeploy" action for an Azure virtual machine is the standard procedure to move the VM to a new physical host within the Azure infrastructure. This operation is specifically recommended by Microsoft for situations where a VM is affected by planned maintenance or is experiencing issues related to its current host. When you redeploy a VM, Azure shuts it down, migrates it to a new node, and then powers it back on. This process effectively moves the VM away from the host scheduled for maintenance, thereby meeting the goal immediately. All configuration options and attached data disks are retained, although the temporary disk is lost.

Why Incorrect

B. No: This is incorrect. The "Redeploy" feature is the designated and correct method provided by Azure to manually move a virtual machine to a different host, which is the precise requirement for mitigating a planned maintenance event.

References

1. Microsoft Learn, "Redeploy Windows virtual machine to new Azure node." Under the "Redeploy a VM to a new Azure node" section, the documentation states: "When you redeploy a VM, Azure will shut down the VM, move the VM to a new node within the Azure infrastructure, and then power it back on, retaining all your configuration options and associated resources." This confirms the action moves the VM to a new host.

2. Microsoft Learn, "Maintenance and updates for virtual machines in Azure." In the section "Planned maintenance," it is mentioned: "If you want to control when your maintenance is performed... Another option is to use the redeploy feature. With redeploy, you can manually trigger maintenance on your VMs at a time of your choosing." This directly links the redeploy action as a solution for planned maintenance.

3. Microsoft Learn, "Troubleshoot a virtual machine that is not starting or is deleted." This document clarifies the difference between "Reapply" and "Redeploy" on the "Redeploy + reapply" blade. It states: "Redeploy the VM... When you redeploy a VM, Azure shuts down the VM, moves the VM to a new node within the Azure infrastructure, and then powers it back on." This confirms the solution's action achieves the goal.

Scroll to Top