exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 16 question 37 discussion

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

DRAG DROP -
You have two Azure virtual machines named VM1 and VM2. VM1 has a single data disk named Disk1.
You need to attach Disk1 to VM2. The solution must minimize downtime for both virtual machines.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer: Explanation
Step 1: Stop VM1.
Step 2: Detach Disk1 from VM1.

Step 3: Attach Disk1 to VM2 -

Attach an existing disk -
Follow these steps to reattach an existing available data disk to a running VM.
1. Select a running VM for which you want to reattach a data disk.
2. From the menu on the left, select Disks.
3. Select Attach existing to attach an available data disk to the VM.
4. From the Attach existing disk pane, select OK.
Step 4: Start VM1.
Detach a data disk using the portal
1. In the left menu, select Virtual Machines.
2. Select the virtual machine that has the data disk you want to detach and click Stop to deallocate the VM.
3. In the virtual machine pane, select Disks.
4. At the top of the Disks pane, select Edit.
5. In the Disks pane, to the far right of the data disk that you would like to detach, click the Detach button image detach button.
6. After the disk has been removed, click Save on the top of the pane.
7. In the virtual machine pane, click Overview and then click the Start button at the top of the pane to restart the VM.
8. The disk stays in storage but is no longer attached to a virtual machine.
References:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/detach-disk https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-attach-detach-data-disk

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
wmxl
4 years, 4 months ago
Can't see the content
upvoted 1 times
...
praveen97
4 years, 10 months ago
There is no need to stop VM1 to detach the Data Disk from VM1. I have tested it in my tenant. I am able to detach the data disk without stopping the VM and attach the data disk to another VM. It doesn't matter whether the VM is started or stopped.
upvoted 3 times
...
Ismael_Mancebo
4 years, 10 months ago
Its correct
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago