Topic: Microsoft AZ-800 topic 3 question 4

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?

A.
Folder1, volume E, and App1 only
B.
Folder1 only
C.
Folder1 and Folder2 only
D.
Folder1, Folder2, App1, and volume E

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

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.

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

I mean Answer A is correct

Re: Microsoft AZ-800 topic 3 question 4

the answer is A

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

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).

Re: Microsoft AZ-800 topic 3 question 4

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.

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

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.

Re: Microsoft AZ-800 topic 3 question 4

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.

Re: Microsoft AZ-800 topic 3 question 4

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.

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

Got this question 28-5-23

Re: Microsoft AZ-800 topic 3 question 4

Got this question 28-5-23

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

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

Re: Microsoft AZ-800 topic 3 question 4

"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.

Re: Microsoft AZ-800 topic 3 question 4

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.

Re: Microsoft AZ-800 topic 3 question 4

the Answer A is correct

Re: Microsoft AZ-800 topic 3 question 4

Hi there, why do you think that D: drive is temporary? This is not mentioned about that in the question.