Move Azure Virtual Machine to a Different Hyper-V Host | AZ-204 Exam Answer | Microsoft

Move Azure Virtual Machine to a Different Hyper-V Host

Question

You have two Hyper-V hosts named Host1 and Host2

Host1 has an Azure virtual machine named VM1 that was deployed by using a custom Azure Resource Manager template.

You need to move VM1 to Host2

What should you do?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer: <map><m x1="57" x2="414" y1="161" y2="271" ss="0" a="0" /><m x1="59" x2="412" y1="285" y2="383" ss="0" a="0" /><m x1="57" x2="413" y1="395"

When you redeploy a VM, it moves the VM to a new node within the Azure infrastructure and then powers it back on, retaining all your configuration options and associated resources.

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

The template is based on a current virtual machine, but must be adapted to reference an administrative password.

You need to make sure that the password is not stored in plain text.

You are preparing to create the necessary components to achieve your goal.

Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area.

Options Answer

An Azure Key Vault

An Azure Storage account

Azure Active Directory (AD)

Identity Protection

An access policy
An Azure policy

A backup policy
Options

An Azure Storage account

Azure Active Directory (AD)
Identity Protection

An Azure policy

A backup policy

Answer

An Azure Key Vault

An access policy

To move VM1 from Host1 to Host2, you can use the Azure Site Recovery service. Follow the below steps:

  1. On the Azure portal, navigate to the Site Recovery vault that you want to use for replication and disaster recovery of the VM.

  2. In the navigation pane, click on the Replicate Application option, and select the Hyper-V host option.

  3. In the Create replication policy blade, configure the replication settings for the Hyper-V host. Choose the frequency of replication and the retention policy.

  4. After configuring the replication policy, select the source Hyper-V host, which is Host1, and click on the Discover button.

  5. Once Host1 is discovered, select the VM that you want to replicate and click on the OK button.

  6. On the Replicate Application blade, configure the target Hyper-V host, which is Host2, as the replication target.

  7. In the Configure settings blade, specify the network mapping settings, virtual machine settings, and recovery settings.

  8. Click on the Create target virtual machine option and configure the target VM settings.

  9. Click on the OK button to start the replication process.

  10. After replication completes, you can failover the VM to Host2 by using the Azure Site Recovery service.

Note: The options provided in the question are not relevant for moving a Hyper-V VM between hosts.