exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 5 question 1 discussion

Actual exam question from Microsoft's AZ-303
Question #: 1
Topic #: 5
[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 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, 5 months ago
Correct. VM must have at least 1 NIC, so you cannot detach. You can have multiple NICs on a VM, but all from the same VNET.
upvoted 25 times
...
itvinoth83
Most Recent 3 years, 2 months ago
Appeared in exam on 28-03-2022
upvoted 1 times
...
shree178
3 years, 3 months ago
On exam today 19-2-2022.. Passed with 871.
upvoted 1 times
...
hamzeh69
3 years, 11 months ago
Pass exam, come today in my exam 6/7/2021 Select same answer
upvoted 3 times
...
AlexD332
4 years ago
why delete -> create and not create -> delete?
upvoted 2 times
GetulioJr
4 years ago
There is no problem deleting VM. The problem is the disk that you will need to reattach to the new VM. So just delete the VM, and creates it again in another place. They will be equal, then attach the disk and it is all set.
upvoted 2 times
...
pentium75
3 years, 11 months ago
Because you cannot attach the disk to the new VM before deleting (or detaching the disk from) the old VM.
upvoted 1 times
...
...
rsaintt
4 years, 1 month ago
Repeated question.
upvoted 3 times
...
danielcr
4 years, 2 months ago
Correct C-C: Delete VM1 but not the VHD, that will be attached in the new VM2
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 ...