AZ-104 – Question 132

0
873
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.

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 

Q. 2: 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?

  • 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