Move Azure Virtual Machine to a Different Host - AZ-100 Exam Solution

Move Azure Virtual Machine to a Different Host

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

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 Overview blade, you move the virtual machine to a different subscription.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

You would need to Redeploy the VM.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node

No, the provided solution does not meet the goal of moving VM1 to a different host immediately.

Moving a virtual machine to a different subscription would not address the requirement to move the VM to a different host. Additionally, moving a virtual machine to a different subscription requires more than just changing the host.

To move a virtual machine to a different host immediately, you can perform a maintenance redeployment by following these steps:

  1. Navigate to the virtual machine in the Azure portal.
  2. Stop the virtual machine.
  3. From the virtual machine's "Overview" blade, select "Redeploy" from the "Operations" menu.
  4. Wait for the virtual machine to be redeployed to a different host.
  5. Start the virtual machine.

Note that maintenance redeployment is a standard feature in Azure and does not require any additional configuration or deployment.