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.
Q. 1: Solution: You move VM1 to RG2, and then you add a new network interface to VM1. Does this meet the goal?
- A. Yes
- B. No
Correct Answer: B
Instead you should delete VM1. You recreate VM1, and then you add the network interface for VM1.
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.
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
- A. Yes
- B. No
Correct Answer: A
Q. 3: Solution: You turn off VM1, and then you add a new network interface to VM1. Does this meet the goal?
- A. Yes
- B. No
Q. 4: Solution: You create a new network interface, and then you add the network interface to VM1. Does this meet the goal?
- A. Yes
- B. No