Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam AZ-103 topic 3 question 27 discussion

Actual exam question from Microsoft's AZ-103
Question #: 27
Topic #: 3
[All AZ-103 Questions]

HOTSPOT -
You have an Azure subscription named Subscription1. Subscription1 contains the resources in the following table.

VNet1 is in RG1. VNet2 is in RG2. There is no connectivity between VNet1 and VNet2.
An administrator named Admin1 creates an Azure virtual machine named VM1 in RG1. VM1 uses a disk named Disk1 and connects to VNet1. Admin1 then installs a custom application in VM1.
You need to move the custom application to VNet2. The solution must minimize administrative effort.
Which two actions should you perform? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
We cannot just move a virtual machine between networks. What we need to do is identify the disk used by the VM, delete the VM itself while retaining the disk, and recreate the VM in the target virtual network and then attach the original disk to it.
Reference:
https://blogs.technet.microsoft.com/canitpro/2014/06/16/step-by-step-move-a-vm-to-a-different-vnet-on-azure/ https://4sysops.com/archives/move-an-azure-vm-to-another-virtual-network-vnet/#migrate-an-azure-vm-between-vnets
Deploy and manage virtual machines (VMs)

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
snoocer
Highly Voted 2 years, 5 months ago
wrong, move is failing because of unsupported ressource-types (IP-Endpoint), displayed answer is correct
upvoted 15 times
...
DTsg
Highly Voted 2 years, 1 month ago
In exam
upvoted 11 times
...
Subhi1234
Most Recent 6 months, 3 weeks ago
Delete first and create a new one in second
upvoted 1 times
...
sajy2k
1 year, 5 months ago
in another word, to move VMs between different vnets.. the term is "redeploy" which means delete and create new VM..
upvoted 2 times
...
I
1 year, 5 months ago
Answer is correct. If you reviewed all the questions then you would find out there has another question testing the same conception. The 2 Vnets has no connection is the condition, APP on VM1, VM1 in RG1, now need move APP in RG2 within no network connection what to do? Delete the old VM and create new VM, which is the less cost.
upvoted 4 times
...
makniazi
1 year, 8 months ago
One cannot just move a virtual machine between networks. What we need to do is identify the disk used by the VM, delete the VM itself while retaining the disk, and recreate the new VM in the target virtual network and then attach the original disk to it.
upvoted 2 times
...
Thi
1 year, 9 months ago
Delete VM Create VM
upvoted 5 times
...
DingLing
1 year, 11 months ago
I don't get this, in my mind, the easiest (least administrative effort) solution, is to shut down the VM, attach a new NIC on the second vNet, then detach the first NIC and start the VM. Wouldn't this work? Nowhere does it say the VM needs to be migrated or moved, it just needs to be connected to the 2nd VNET.
upvoted 1 times
DingLing
1 year, 11 months ago
I just tested this in the Azure portal and it works just fine, i see some articles saying it is not possible, however Azure must have fixed this.
upvoted 1 times
hstorm
1 year, 11 months ago
That is simply just not true... You can only attach a new NIC from the same VNET... I have tested this as well, please don't spam.
upvoted 4 times
billyshah
1 year, 11 months ago
correct. Delete and recreate VM is only option here.
upvoted 3 times
...
...
...
...
bencp
2 years ago
this is correct
upvoted 2 times
...
praveen97
2 years, 1 month ago
Answer is correct. http://techgenix.com/moving-a-vm/ https://4sysops.com/archives/move-an-azure-vm-to-another-virtual-network-vnet/
upvoted 2 times
...
it115
2 years, 1 month ago
https://4sysops.com/archives/move-an-azure-vm-to-another-virtual-network-vnet/ Historically, the Vnet-to-Vnet migration process in Azure required the following steps: Stop and deallocate the VM. Delete the VM, but save its virtual hard disks (VHDs). Recreate the VM in the target Vnet by specifying the original disk. You can accomplish the preceding (tedious) procedure by using many different methods, including: Azure PowerShell Azure Resource Manager (ARM) templates
upvoted 2 times
...
jlnj
2 years, 2 months ago
Why can't we just redeploy the VM? https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/redeploy-to-new-node-windows
upvoted 1 times
...
princeali
2 years, 2 months ago
I think it's First: Create a Network interface in RG2 Sec: Move VM1 to RG2 https://docs.microsoft.com/en-us/azure/virtual-machines/windows/move-vm
upvoted 1 times
Gbala
2 years ago
You cannot move the VM from one RG to another RG just like that... You need to delete and create a new VM
upvoted 1 times
nakedsun
1 year, 12 months ago
You can move a VM to another RG, that is exactly what link is explaining. Delete the interface. Move the VM. Least administrative effort.
upvoted 1 times
...
...
...
cucuff
2 years, 2 months ago
You can't move a VM from one VNet to other. You must recreate the VM in that VNet.
upvoted 9 times
...
P0d
2 years, 3 months ago
Answer seems ok if we have backup of VM1. Then we can redeploy VM to RG2? And another question is do we exactly need to delete VM1 from RG1?
upvoted 3 times
...
aimar047
2 years, 4 months ago
answers seem OK but description missing more info for the scenario.
upvoted 1 times
...
MidCities
2 years, 4 months ago
Couldn't you just delete VM1, create a new VM and then attach Disk1 to the newly created VM in VNet2? If not, why not?
upvoted 6 times
jonnybugaloo
2 years, 2 months ago
That's is the history behind of this short solution. You'll need to do this in the real world, to preserve the installed custom application.
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 ...