Exam AZ-800 All QuestionsBrowse all questions from this exam
Question 88

You have an Azure virtual machine named VM1 that runs Windows Server.

You perform the following actions on VM1:

✑ Create a folder named Folder1 on volume C.

✑ Create a folder named Folder2 on volume D.

✑ Add a new data disk to VM1 and create a new volume that is assigned drive letter E.

✑ Install an app named App1 on volume E.

You plan to resize VM1.

Which objects will present after you resize VM1?

    Correct Answer: A

    When resizing an Azure virtual machine, the temporary disk, often labeled as drive D, can be lost as it is meant for temporary storage. Therefore, Folder2, which is on volume D, would not be preserved after resizing. Data on the C: drive (Folder1) and additional disks like volume E (which includes App1) will remain intact. Thus, only Folder1, volume E, and App1 will be present.

Discussion
lpkramitOption: A

the answer is A, folder 2 is on D: which by default is the scratch disk that is wiped on a re-boot, a re-size of the VM requires a reboot of the VM, therefore the contents of D will be wiped

VinoTee

This is correct. Volume D is a default temporary storage, hence, anything that you store on that volume letter will be wiped. See link below with the highlighted answer: https://www.cloudelicious.net/azure-vms-and-their-temporary-storage/#:~:text=For%20Windows%20Server%2C%20the%20temporary%20disk%20is%20mounted%20as%20D%3A%5C.%20Linux%20based%20VM%E2%80%99s%20have%20the%20temporary%20disk%20mounted%20as%20%E2%80%9C/dev/sdb1%E2%80%9D.%20Of%20course%2C%20the%20same%20principles%20apply%2C%20your%20risk%20losing%20data%20that%20can%E2%80%99t%20be%20recovered%20when%20storing%20data%20on%20this%20disk.

NigHtHunter2000

Correct Link to verify https://docs.microsoft.com/en-us/answers/questions/235/can-i-use-the-temporary-disk-the-d-drive-by-defaul.html

NigHtHunter2000

I mean Answer A is correct

JimmyC

The idea that most Azure VMs include a temp disk is very incorrect - many commonly-used VM SKUs do not. However, based on the wording of the question (and also the intended audience), it certainly appears that this question is meant to test the knowledge that D: drives are often used as a temp disk. The answer must be A, as choosing D would mean that the D: drive is NOT a temp disk, which an equally bad assumption but renders the question pointless.

BojanaOption: A

the answer is A

PXAbstractionOption: D

I understand the assumption that the D: drive is temporary but not every Azure VM SKU has a temp disk and the question doesn't mention one so I don't think it can be assumed.

SuradjBajajOption: D

When you resize an Azure virtual machine, the existing disks are resized but not reorganized. Therefore, the objects that will be present after resizing VM1 depend on the resizing operation that you perform. If you only increase the size of the virtual machine, the objects that you created on the original disks will still be present. Therefore, the correct answer is: D. Folder1, Folder2, App1, and volume E After resizing VM1, the C and D volumes will be larger, but the folders that you created on them will still be present. The E volume, which is on a separate data disk, will also be larger, but the App1 application that you installed on it will still be present. Therefore, all of the objects that you created on the original disks and the new data disk will still be present after resizing VM1.

ReturnerwesleyOption: D

Should be D since there isn't anything mention about temporary disk on the question

leegendOption: D

Got this question 28-5-23

PXAbstractionOption: A

A is correct. D is for temp volumes in Azure defaults.

syu31svcOption: A

https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview Most VMs contain a temporary disk, which is not a managed disk. The temporary disk provides short-term storage for applications and processes, and is intended to only store data such as page or swap files. Data on the temporary disk may be lost during a maintenance event or when you redeploy a VM. During a successful standard reboot of the VM, data on the temporary disk will persist. For more information about VMs without temporary disks, see Azure VM sizes with no local temporary disk. On Azure Linux VMs, the temporary disk is typically /dev/sdb and on Windows VMs the temporary disk is D: by default. "resize VM1" means a restart so answer is A

gargaditya

"During a successful standard reboot of the VM, data on the temporary disk will persist" Resize implies restart which equates to reboot. Only on Stopping VM data would get lost, it intact on Reboot Operation. Correct answer is D.

RemmyTOption: A

Tested in lab: After the resize (up or down) volume D: is re-initialized with default settings.

JoednOption: D

Valid 05/28/2024

SIAMIANJIOption: D

After resizing VM1, both Folder1 (created on volume C) and Folder2 (created on volume D) will still be present. Additionally, App1 (installed on volume E) and Volume E (created after adding the new data disk) will also remain. Therefore, the correct answer is: D. Folder1, Folder2, App1, and volume E

MichalGrOption: D

By default, most Azure virtual machines (VMs) are provisioned with a temporary disk, which is often labeled as the D: drive in Windows VMs. Also, with default settings for a new volume E, which typically includes using Azure managed disks, both volume E and the application installed on it (App1) are likely to stay intact after resizing the Azure virtual machine (VM).

gargadityaOption: D

Answer D is correct. As per https://learn.microsoft.com/en-us/azure/virtual-machines/resize-vm?tabs=portal, • After you create a virtual machine (VM), you can scale the VM up or down by changing the VM size. • In some cases, you must deallocate(STOP) the VM first <NOT ALWAYS>. Deallocation may be necessary if the new size isn't available on the same hardware cluster that is currently hosting the VM. • If the virtual machine is currently running, changing its size will cause it to restart. • If your VM is still running and you don't see the size you want in the list, stopping the virtual machine may reveal more sizes. In summary,here, a reboot will take place. Temporary disk(usually D if not labeled as data disk) is wiped on a stop ; but it persists on a standard reboot. https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview#temporary-disk Hence, all of folder1, folder2, E drive and app remain intact on REBOOT. Had there been a mention of state of app or user connection, that would NOT be maintained post reboot.

JacbinOption: D

Resizing an Azure VM will not affect data on existing disks. Therefore, after resizing VM1, all of the following objects will be preserved: D. Folder1, Folder2, App1 and volume E Adding a new data disk and volume, as well as installing the App1 application on volume E, will not be affected by resizing the virtual machine. Only virtual machine settings, such as CPU and memory size, will be changed.

afridi43Option: D

Correct D. Folder1, Folder2, App1, and volume E After resizing VM1, all the folders and data created within the virtual machine will still be present.

leegendOption: D

Got this question 28-5-23

davidinterworOption: D

Depends of virtual machine, not all have a temporary disk. https://learn.microsoft.com/en-us/azure/virtual-machines/azure-vms-no-temp-disk