exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 1 question 17 discussion

Actual exam question from Microsoft's AZ-303
Question #: 17
Topic #: 1
[All AZ-303 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

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
widurr
Highly Voted 4 years, 7 months ago
answer is correct
upvoted 28 times
...
Crhistian
Highly Voted 4 years, 2 months ago
Asnwer is Correct, in AZ104 exam there's a lot of questions of this subject and the only way is deleting and recreate the VM retaining the Disks.
upvoted 18 times
epic13131
4 years ago
I agree had this on AZ104.
upvoted 1 times
...
...
itvinoth83
Most Recent 3 years, 4 months ago
In Exam today, 28-02-2022
upvoted 1 times
...
shree178
3 years, 5 months ago
Appeared today 19-2-2022.. Passed with 871.
upvoted 2 times
...
jmay
3 years, 7 months ago
The question is "move the custom application to VNet2" not moving the VM. If VNet1 and VNet2 are *in the same region*, it is possible to: 1. create a new NIC in VNet2, 2. STOP the VM, 3. Associate the new NIC 4. Disassociate the old NIC 5. Start the VM to achieve the desired outcome.
upvoted 3 times
JayBee65
3 years, 6 months ago
How can you move the app that is on VM1 without moving VM1? Your steps might be possible but this doesn't meet the requirements of the question
upvoted 3 times
...
...
rjcverar
3 years, 9 months ago
Appeared on 29.10.2021
upvoted 3 times
...
cooksiecooks
3 years, 9 months ago
this is a tricky question - meaning you need to have the experience of doing this - and yes, this is the correct answer
upvoted 2 times
...
plmmsg
3 years, 11 months ago
Answer is correct. Cannot move VMs between VNET. You have to delete VM in VNET1 & create new VM in VNET2
upvoted 2 times
...
syu31svc
3 years, 11 months ago
Microsoft does not support moving VM’s between virtual networks. So, we have delete the VM and create a new VM in target VNet. Though the below blog is an old article, steps remains same. https://docs.microsoft.com/en-us/archive/blogs/canitpro/step-by-step-move-a-vm-to-a-different-vnet-on-azure Answer is correct
upvoted 1 times
...
leo_az300
4 years ago
Tested in lab. VM1 in RG1 with VNet1 and subnet1. Vnet2 in RG2 with subnet2 No way to add new network interface link to Vnet2. Vm can only be linked to one VNet only. You can add a new network interface in RG2 but linked to Vnet1. virtual network is unique in region not in resource group. therefore network interface can be in different resource group to Vnet. Answer is correct. you have to delete VM instance but keep disk. Then create a new vm in RG2.
upvoted 3 times
...
LetsDoItNowOK
4 years ago
You resource link is broken.
upvoted 1 times
...
az_architect
4 years ago
I also though of creating a new NIC in Vnet2 and attach it to VM. But more people have opted for 1. Delete VM, 2. create new VM in VNet2. Any conclusions here :)
upvoted 1 times
...
pentium75
4 years ago
I'm not convinced. The question specifically asks for moving "the custom application to VNet2". It does NOT say that we'd have to move the VM or the disk or any other resource. And it asks for "least administrative effort". Can't I just detach the vNIC (while the VM is turned off) and attach a new one in VNet2?
upvoted 1 times
tita_tovenaar
4 years ago
well even if you could, the vm will not follow as it can’t be moved to another vnet. so at best you’ve moved the vnic only. the app is still stuck on vm1.
upvoted 1 times
...
...
DGladiator
4 years, 1 month ago
answer is correct
upvoted 2 times
...
janclintv
4 years, 1 month ago
on exam 6/14. passed with 800+ score.
upvoted 1 times
...
sham21
4 years, 1 month ago
This question was also in Dump AZ104.
upvoted 1 times
...
nfett
4 years, 2 months ago
Answer is right.
upvoted 3 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 ...