Microsoft

AZ-104 practice question 17

Microsoft Azure Administrator · free question 17 of 20

Question

You have an Azure virtual machine (VM) that has a single data disk. You have been tasked with attaching this data disk to another Azure VM. You need to make sure that your strategy allows for the virtual machines to be offline for the least amount of time possible. Which of the following is the action you should take FIRST?
  • A. Stop the VM that includes the data disk.
  • B. Stop the VM that the data disk must be attached to.
  • C. Detach the data disk. Correct
  • D. Delete the VM that includes the data disk.

Explanation

Detaching a data disk from one VM and attaching it to another can be done without stopping either VM, provided the disk is not in use. This minimizes downtime as per the requirement.

Need the theory? Learn it free in the AZ-104 course on Godlike Academy

Practice the whole free set

Answer all 20 free AZ-104 questions with instant feedback, or unlock all 579 questions with Learn and Exam modes.