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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 4 years, 1 month ago
wrong, move is failing because of unsupported ressource-types (IP-Endpoint), displayed answer is correct
upvoted 15 times
...
DTsg
Highly Voted 3 years, 9 months ago
In exam
upvoted 11 times
...
tashakori
Most Recent 1 month ago
Given answer is correct
upvoted 1 times
...
Subhi1234
2 years, 2 months ago
Delete first and create a new one in second
upvoted 1 times
...
sajy2k
3 years, 1 month 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
3 years, 1 month 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
3 years, 5 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
3 years, 5 months ago
Delete VM Create VM
upvoted 5 times
...
DingLing
3 years, 8 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
3 years, 8 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
3 years, 7 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
3 years, 7 months ago
correct. Delete and recreate VM is only option here.
upvoted 3 times
...
...
...
...
bencp
3 years, 9 months ago
this is correct
upvoted 2 times
...
praveen97
3 years, 9 months 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
3 years, 9 months 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
3 years, 10 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
3 years, 10 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
3 years, 9 months 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
3 years, 8 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
3 years, 10 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
3 years, 11 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
4 years ago
answers seem OK but description missing more info for the scenario.
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 ...