nerdexam
MicrosoftMicrosoft

AZ-104 · Question #240

AZ-104 Question #240: Real Exam Question with Answer & Explanation

The correct answer is A: Yes. You should delete VM1. Then recreate VM1 and add the network interface for VM1. To migrate a VM from a VNET to another VNET. The only option is to delete the VM and redeploy it using a new NIC and NIC connected to VNET2. Note: When you create an Azure Virtual Machine (VM), you mu

Submitted by fatima_kr· Mar 4, 2026Configure and manage virtual networking

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 subscription that contains the resources shown in the following table. VM1 connects to VNET1. You need to connect VM1 to VNET2. Solution: You delete VM1. You recreate VM1, and then you create a new network interface for VM1 and connect it to VNET2. Does this meet the goal?

Options

  • AYes
  • BNo

Explanation

You should delete VM1. Then recreate VM1 and add the network interface for VM1. To migrate a VM from a VNET to another VNET. The only option is to delete the VM and redeploy it using a new NIC and NIC connected to VNET2. Note: When you create an Azure Virtual Machine (VM), you must create a Virtual Network (VNet) or use an existing VNet. You can change the subnet a VM is connected to after it's created, but you cannot change the VNet. You can also change the size of a VM. https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions