Перейти до основного вмісту
Теґи
Answer confirmed
Question

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?

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

 

Suggested answer
  • A. Folder1, volume E, and App1 only

 

Correct answer

The suggested answer is correct

By default Volume D on Azure VMs is a temporary folder

Comments

 

lpkramit

Highly Voted 2 years, 6 months ago 

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

upvoted 44 times 

VinoTee

2 years, 6 months ago 

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.

upvoted 5 times 

JimmyC

5 months, 1 week ago 

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.

upvoted 2 times 

NigHtHunter2000

2 years, 6 months ago 

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

upvoted 3 times 

NigHtHunter2000

2 years, 6 months ago 

I mean Answer A is correct

upvoted 8 times 

Bojana

Highly Voted 2 years, 6 months ago 

Selected Answer: A

the answer is A

upvoted 9 times 

Ksk08

Most Recent 2 weeks, 4 days ago 

fter resizing VM1: Folder1 (on C:) will persist. Folder2 (on D:) will be lost because D: is likely a temporary disk. Volume E and App1 installed on it will persist because they are on a persistent data disk. Thus, the correct answer is indeed A. Folder1, volume E, and App1 only.

upvoted 1 times 

Ksk08

4 weeks ago 

D is the correct answer

upvoted 1 times 

RemmyT

4 months, 3 weeks ago 

Selected Answer: A

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

upvoted 1 times 

Joedn

5 months, 3 weeks ago 

Valid 05/28/2024

upvoted 2 times 

SIAMIANJI

6 months, 3 weeks ago 

Selected Answer: 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

upvoted 2 times 

MichalGr

7 months ago 

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

upvoted 1 times 

gargaditya

10 months, 3 weeks ago 

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.

upvoted 2 times 

PXAbstraction

11 months, 3 weeks ago 

Selected Answer: A

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

upvoted 3 times 

Jacbin

12 months ago 

Selected Answer: 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.

upvoted 1 times 

afridi43

1 year, 2 months ago 

Selected Answer: 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.

upvoted 1 times 

PXAbstraction

1 year, 3 months ago 

Selected Answer: 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.

upvoted 4 times 

Returnerwesley

1 year, 4 months ago 

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

upvoted 3 times 

leegend

1 year, 5 months ago 

Got this question 28-5-23

upvoted 3 times 

leegend

1 year, 5 months ago 

Got this question 28-5-23

upvoted 1 times 

davidinterwor

1 year, 6 months ago 

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

upvoted 1 times 

syu31svc

1 year, 8 months ago 

Selected Answer: 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

upvoted 3 times 

gargaditya

10 months, 3 weeks ago 

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

upvoted 1 times 

SuradjBajaj

1 year, 9 months ago 

Selected Answer: 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.

upvoted 4 times 

Leze

1 year, 9 months ago 

Selected Answer: A

the Answer A is correct

upvoted 2 times 

smol84

1 year, 10 months ago 

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

upvoted 5 times 

JohnO1971

2 years, 1 month ago 

Selected Answer: A

A is the correct answer. Volume D is temp storage, which gets wiped after a restart.

upvoted 2 times 

Iber

2 years, 2 months ago 

Selected Answer: A

I think is A Disk D: is a Temporary disk in default VM

upvoted 3 times 

Contactfornitish

2 years, 3 months ago 

Selected Answer: A

Definitely A that's the WHOLE point of the question. It always warns about D: that even a reboot would wipe the content

upvoted 2 times 

[Removed]

2 years, 3 months ago 

Selected Answer: A

Depends what size\SKU it is all ready. Only sizes with a d in there name have a local temp disk. The D: could be a data disk if not on a size that has a local temp disk. I would assume A though

upvoted 2 times 

elrengo12821

2 years, 3 months ago 

Selected Answer: A

Answer is A

upvoted 3 times 

amunator

2 years, 3 months ago 

Selected Answer: A

D: drive is only temp drive cleaned during reboot, which re-size initiate.

upvoted 3 times 

amunator

2 years, 4 months ago 

Selected Answer: A

Azure VM use by default D: drive as temporarily for temp files such page file. Resize will shutdown and start VM, so D: drive will be wiped.

upvoted 3 times 

airfrog

2 years, 4 months ago 

Selected Answer: A

Resizing a VM will cause it to reboot. Volume D is a temporary volume and all data is lost from it on reboot. So only the data on drives C and E will remain.

upvoted 3 times 

Mular5

2 years, 5 months ago 

Selected Answer: A

The correct option is A.

upvoted 5 times