exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 21 discussion

Actual exam question from Microsoft's AZ-104
Question #: 21
Topic #: 4
[All AZ-104 Questions]

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?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
mlantonis
Highly Voted 3 years, 9 months ago
Correct Answer: 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 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. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
upvoted 70 times
panileka
3 years, 6 months ago
VNET1 and VNET2 are in two different regions.. I am not sure we can connect a VM to these two networks.
upvoted 3 times
ShivaUdari
3 years, 2 months ago
We should move the OSdisk to destination region and then creating new VM will work.
upvoted 4 times
...
...
...
fedztedz
Highly Voted 4 years, 3 months ago
Answer is correct. YES (A). 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
upvoted 37 times
...
[Removed]
Most Recent 5 months, 4 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
897dd59
1 year, 4 months ago
should be a NO. the reason why are 1/ VM 1 to connect to VNET 2 => connect, not migrate => means, to keep the VM 1 and make sure connection is gone through to VNET2 2/ In my opinion. If this were the case => NO . The ony solution to make the VM1 to connect to VNET 2 => different region and RG => PEERING connectiong => VNET Peering help 2 VNET make a connection together => hence, the resources, VMs, for more specifically => able to connect. I did quite a lot of case and labs, once the VNET Peering is established, the VM on VN1 can ping the VM on VNET 2 => make a connection
upvoted 2 times
...
UmbongoDrink
2 years ago
Selected Answer: A
You should delete VM1. Then recreate VM1 and add the network interface for VM1.
upvoted 1 times
...
NaoVaz
2 years, 5 months ago
Selected Answer: A
A) "Yes" The only way to change the VNET from a VM is by re-creating the VM in the desired VNET. Reference: https://docs.microsoft.com/en-us/answers/questions/130410/how-to-change-the-vnet-of-a-vm.html
upvoted 1 times
...
Mev4953
2 years, 5 months ago
Redeployment :)
upvoted 2 times
...
EmnCours
2 years, 6 months ago
Selected Answer: A
Correct Answer: A
upvoted 1 times
...
Lazylinux
2 years, 8 months ago
Selected Answer: A
Yep A is correct
upvoted 1 times
...
manalshowaei
2 years, 8 months ago
Selected Answer: A
A. Yes
upvoted 1 times
...
techie_11
2 years, 10 months ago
On exam 04/12/2022. Answer correct A
upvoted 4 times
...
ajayasa
2 years, 11 months ago
this question was there on 16/03/2022 with same question and passed with 900 percent
upvoted 4 times
...
benvdw
2 years, 11 months ago
on exam 13/3/2022
upvoted 3 times
...
josevirtual
2 years, 11 months ago
Selected Answer: A
YES - Answer is correct
upvoted 1 times
...
InvisibleShadow
2 years, 12 months ago
This question came in the exam today 8/Mar/2022. I passed the exam, 95% questions came from here.
upvoted 2 times
...
Spandrop
3 years, 7 months ago
You delete and recreate, fine. But the question says: you delete and recreate, and then you connect ...... recreate where?! Same RG? Different one? ... I think that the question is not clear, but the overall idea is if you have to move a VM, delete and recreate it.
upvoted 8 times
dumz
3 years, 4 months ago
Yes, I have same concern as yours. We should re-creare VM1 in same region as VNET2.
upvoted 2 times
...
...
ranajoy97
3 years, 8 months ago
The correct answer is NO. In order to attach a VM to a VNET the VM and the VNET needs to be in the same zone. As VNET2 is in a separate zone it won't work
upvoted 3 times
Ahmed_Root
2 years, 11 months ago
I agree with you, I don't understand why all people here vote for YES !!!
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago