Skip to Content

Microsoft AZ-104: How to Move Azure VM to Different Host Immediately Due to Maintenance?

Learn the correct solution for migrating an Azure virtual machine to another host right away when affected by maintenance. Discover whether using the One-time update option from the VM Updates blade achieves this goal.

Table of Contents

Question

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

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 Updates blade, select One-time update.

Does this meet the goal?

A. Yes
B. No

Answer

B. No

Explanation

The solution of selecting “One-time update” from the VM1 Updates blade does not meet the goal of moving VM1 to a different host immediately.

When an Azure virtual machine is affected by planned maintenance, you have two main options:

  1. Allow Azure to automatically redeploy the VM during the scheduled maintenance window.
  2. Manually redeploy the VM yourself at a time that works for you before the planned maintenance.

Selecting “One-time update” from the VM Updates blade will only initiate the VM update process, applying any necessary patches or configuration changes. However, this does not redeploy or move the VM to a different physical host.

To properly move VM1 to another host right away, you should use the “Redeploy” option instead. Redeploying a VM moves it to a new Azure host and restarts the VM, which can be done on-demand before the planned maintenance occurs to minimize downtime.

You can initiate a redeploy from the Azure portal by going to the VM’s “Overview” page, clicking the “Redeploy” button at the top, and confirming the action. Alternatively, you can use Azure PowerShell or the Azure CLI to redeploy the VM using the respective redeploy commands.

So in summary, the correct solution is to manually redeploy VM1 to a different host, not use the one-time update option, in order to proactively move it before the scheduled maintenance affects its availability.

Microsoft AZ-104 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-104 exam and earn Microsoft AZ-104 certification.