Administering Windows Server Hybrid Core Infrastructure: AZ-800 Exam Question Answer

Virtual Machine Configuration Changes That Require Downtime

Question

You have an Azure virtual machine named VM1 that runs Windows Server and has the following configurations:

-> Size: D2s_v4

-> Operating system disk: 127-GiB standard SSD

-> Data disk 128-GiB standard SSD

-> Virtual machine generation: Gen 2

You plan to perform the following changes to VM1:

-> Change the virtual machine size to D4s_v4.

-> Detach the data disk.

-> Add a new standard SSD.

Which changes require downtime for VM1?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

Data disks can be added and detached without requiring downtime. Changing the VM size requires the VM to be restarted.

In this scenario, you have an Azure virtual machine named VM1 running Windows Server with a size of D2s_v4, an operating system disk of 127-GiB standard SSD, a data disk of 128-GiB standard SSD, and a virtual machine generation of Gen 2. You plan to make the following changes to VM1:

  1. Change the virtual machine size to D4s_v4.
  2. Detach the data disk.
  3. Add a new standard SSD.

Based on these changes, we need to determine which changes will require downtime for VM1.

A. Detaching the data disk only and adding a new standard SSD. This option involves detaching the existing data disk and adding a new standard SSD to the VM. Neither of these changes requires VM downtime, so Option A does not require downtime for VM1.

B. Detaching the data disk only. This option involves detaching the existing data disk from the VM. This operation does not require VM downtime, so Option B does not require downtime for VM1.

C. Changing the virtual machine size only. This option involves changing the size of the VM from D2s_v4 to D4s_v4. Changing the size of a VM requires stopping the VM and starting it again, which means that this operation will cause downtime for VM1. Therefore, Option C requires downtime for VM1.

D. Adding a new standard SSD only. This option involves adding a new standard SSD to the VM. Adding a new data disk to a VM does not require VM downtime, so Option D does not require downtime for VM1.

Therefore, the correct answer is Option C: changing the virtual machine size only requires downtime for VM1.