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?
- A. Detaching the data disk only and adding a new standard SSD.
- B. Detaching the data disk only.
- C. Changing the virtual machine size only.
- D. Adding a new standard SSD only.
- C. Changing the virtual machine size only.
The suggested answer is correct
- C. Changing the virtual machine size only.
It is important to understand that even when deallocation is not necessary, if the virtual machine is currently running, changing its size will cause it to restart. For this reason you should consider changing VM size as a disruptive procedure, especially for stateful workloads that are hosted on the VM.
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/resize-vm
You can hot remove a data disk, but make sure nothing is actively using the disk before detaching it from the VM.
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/detach-disk
Scoff
Highly Voted 2 years, 6 months ago
Selected Answer: C
C - Changing the virtual machine size requires downtime
https://docs.microsoft.com/en-us/azure/virtual-machines/resize-vm?tabs=portal
upvoted 27 times
HKEX388
2 years, 5 months ago
Try it in test environment. When re-size the machine, VM in Azure will be restarted automatically.
upvoted 2 times
AS007
2 years, 6 months ago
Correct
upvoted 4 times
AS007
Highly Voted 2 years, 6 months ago
Selected Answer: C
C is correct
upvoted 6 times
MichalGr
Most Recent 7 months ago
Downtime required in Azure atm: Resizing the VM Changing the VM series or family Adding or removing data disks Changing virtual network (VNet) settings Changing the OS disk size Changing availability sets or availability zones Changing encryption settings Updating VM extensions Changing certain VM settings Redeploying the VM Updating the VM's image or operating system Performing maintenance tasks through Azure portal or PowerShell commands Applying certain security configurations or patches Migrating the VM to a different Azure region or subscription Changing the VM's resource group
upvoted 3 times
MichalGr
7 months ago
not 4th from the top!
upvoted 1 times
Shailesh866
11 months, 2 weeks ago
Selected Answer: C
Answer is C. We can attach disks on the fly and doesn't require a downtime
upvoted 1 times
afridi43
1 year, 2 months ago
Selected Answer: C
C. Changing the virtual machine size only. Changing the virtual machine size (resizing) usually requires a VM restart, Which results in downtime during the restart process. So, changing the VM size does require downtime.
upvoted 1 times
syu31svc
1 year, 8 months ago
Selected Answer: C
This is C for sure
upvoted 2 times
Skylark_
2 years, 2 months ago
Selected Answer: C
Answer is C
upvoted 2 times
Contactfornitish
2 years, 3 months ago
Selected Answer: C
Had done the same two years back. Change of Size (plan) needs reboot so YES downtime applicable
upvoted 1 times
Nizhnoynovogorod
2 years, 3 months ago
Selected Answer: C
Answer is C as Data Disks can be "hot" removed.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/detach-disk
upvoted 1 times
airfrog
2 years, 4 months ago
Selected Answer: C
C is correct. Resizing a VM will cause it reboot. You can add and remove data disks without rebooting.
upvoted 4 times
Zenax
2 years, 6 months ago
Selected Answer: C
C definitely
upvoted 5 times
VinoTee
2 years, 6 months ago
Selected Answer: C
I second this
upvoted 4 times
TheUltimateHac
2 years, 6 months ago
Selected Answer: C
c is correct
upvoted 6 times