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 questionsDomain Deploy and manage Azure compute resources
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.
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.
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.
Keep practicing
Take the free AZ-104 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-104 practice questions
- Question 1You have an Azure App Services web app named App1. You plan to deploy App1 by using Web D…
- Question 2Your company has an azure subscription that includes a storage account, a resource group,…
- Question 3You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV fil…
- Question 5You have an Azure subscription. You plan to deploy an Azure Kubernetes Service (AKS) clus…
- Question 7You need to ensure that VM1 can communicate with VM4. The solution must minimize administ…
- Question 9You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to cr…
