exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 1 question 1 discussion

Actual exam question from Microsoft's AZ-300
Question #: 1
Topic #: 1
[All AZ-300 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: Explanation
References:
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
bolbol
Highly Voted 5 years, 7 months ago
1- Delete VM 2- Recreate VM from Disk in the proper VNET
upvoted 89 times
[Removed]
5 years, 6 months ago
Delete VM1 and Create a new virtual machine
upvoted 3 times
[Removed]
5 years, 6 months ago
1. Create a new network interface in RG2 and 2. Move VM1 to RG2 You can move a VM and its associated resources to another resource group by using the Azure portal https://docs.microsoft.com/en-us/azure/virtual-machines/windows/move-vm
upvoted 2 times
onlyfunmails
5 years, 6 months ago
Agree, as question specifically mentioned about two RGs we think about resource movement in first place.
upvoted 3 times
...
AnshMan
5 years, 6 months ago
Your statement of moving the VM to RG2 works if the two RG are part of same VNET. Here they're of different VNETs, only possible option is Delete VM1, re-create a new VM in RG2 with VNET2 using VM1 data disks.
upvoted 7 times
Soofiann
5 years ago
if you delete your VM , you lose your data , the aim here is to preserve it and get it moved to another vnet. 2 way to do the job: backup first your vm , recreate the new one in the second vnet based on the backup , or you may simply delete only the vm1 , create vm2 in vnet 2 with Vm1 disk attached.
upvoted 1 times
hongkongbistro
4 years, 11 months ago
The data disk is not deleted when you delete a vm. So you can attach the disk to a new VM in another VNet, with the application intact in the disk. (http://techgenix.com/moving-a-vm/)
upvoted 3 times
...
...
...
...
...
...
Ekramy_Elnaggar
Highly Voted 5 years, 5 months ago
I passed the Exam last Thursday 2/1/2020 , my score : 893/1000 . 90% of the Exam was from this dump 53 Questions ( 40 MCQ Qs , 1 Case Study - 4 Qs , 9 Lab Simulation Qs ) Good Luck all
upvoted 18 times
Sweb
5 years, 5 months ago
I passed on 2020-01-27. My exam was the same breakdown of questions as Ekramy. I'd say this did cover ~80% of the questions though.
upvoted 3 times
...
...
vnes_msft
Most Recent 4 years, 8 months ago
From azure portal, select the VM1 under RG1. Click "Move" button from the top right corner and provide destination as RG2.
upvoted 1 times
...
KN0321
4 years, 9 months ago
1. Create a new network interface in RG2 and 2. Move VM1 to RG2
upvoted 1 times
...
PavanThite
4 years, 9 months ago
https://www.examtopics.com/discussions/microsoft/view/16475-exam-az-103-topic-3-question-27-discussion/
upvoted 1 times
...
cttay71
4 years, 9 months ago
hi, in Q48, it talks about moving the VM via the Move command in the Portal. As an additional note, can we also use the same Move command?
upvoted 1 times
...
Hariraj
4 years, 10 months ago
There are multiple ways to skin this one, bt wrt AZ-300, the way woyld be to setup a VPN Peering b/w the two VNET, this will allow access b/w the two VM's (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview) The steps woudl be - Add VPN Gateway into the 2 vnet. - Enable peering b/w the 2 vnet So using Gateway you can connect 2 VNET across any region etc in Azure world
upvoted 1 times
...
groy
4 years, 10 months ago
- Delete the virtual machine - Recreate the virtual machine.
upvoted 1 times
...
AmolAZ
4 years, 10 months ago
I followed these steps: 1) Created a Windows Server 2019 VM with additional disk 2) RDP to that VM on creation 3) Created a text file on the Temporary Disk (D:) 4) Deleted the VM and as expected the additional disk was not deleted 5) Created another VM using the OS disk of the original VM 6) Attached same disk as additional disk which was used for original VM 7) RDP in to new VM To my surprise the text file was NOT found on the Temporary Disk (D:) on the new VM Am I missing something? Appriciate your help
upvoted 1 times
Gizdagyerek
4 years, 10 months ago
because it's temporary ;)
upvoted 1 times
...
...
Ankur_Bajpai
4 years, 10 months ago
We should create new VM2 and attached disk of VM1 in to VM2 we can access application of VM1
upvoted 2 times
...
Kamal_SriLanka
4 years, 10 months ago
Delete the VM Recreate the VM retaining the Disk
upvoted 2 times
...
ercank
4 years, 10 months ago
I have tested this in the lab and Delete VM and re-create from the same disk only works within the same region. Anyway it is the only logical answer still.
upvoted 1 times
...
gboyega
4 years, 11 months ago
1- Delete VM1 2- Create a new VM
upvoted 6 times
...
DeveshSolanki
4 years, 12 months ago
1- Delete VM 2- Recreate VM
upvoted 3 times
...
nabylion
4 years, 12 months ago
it would be better to work on disks, as customized app is in disk. move disk from VM1 to VM2.
upvoted 1 times
...
aHus
4 years, 12 months ago
https://vceguide.com/which-two-actions-should-you-perform-619/
upvoted 5 times
...
YPR
4 years, 12 months ago
First Action: (Options available) Create a Network Interface in RG2 Detach a Network Interface Delete VM1 Move a Network interface to RG2 Second Action: (Options available) Attach a network interface Create a network interface in RG2 Create a Virtual machine Move VM1 to RG2 Answer is : 1- Delete VM1 2- Create a new VM
upvoted 7 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 ...