exam questions

Exam AZ-800 All Questions

View all questions & answers for the AZ-800 exam

Exam AZ-800 topic 3 question 4 discussion

Actual exam question from Microsoft's AZ-800
Question #: 4
Topic #: 3
[All AZ-800 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lpkramit
Highly Voted 3 years, 1 month 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
3 years, 1 month 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
1 year 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
3 years, 1 month 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
3 years, 1 month ago
I mean Answer A is correct
upvoted 8 times
...
...
...
Bojana
Highly Voted 3 years, 1 month ago
Selected Answer: A
the answer is A
upvoted 9 times
...
e489b39
Most Recent 3 weeks, 3 days ago
Selected Answer: D
If volume D is not data disk the new attached volume will not be E C os, D Data disk and E data disk
upvoted 1 times
...
Ksk08
8 months 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
8 months, 1 week ago
D is the correct answer
upvoted 1 times
...
RemmyT
1 year 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
1 year, 1 month ago
Valid 05/28/2024
upvoted 2 times
...
SIAMIANJI
1 year, 2 months 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
1 year, 2 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
1 year, 6 months 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
1 year, 7 months ago
Selected Answer: A
A is correct. D is for temp volumes in Azure defaults.
upvoted 3 times
...
Jacbin
1 year, 7 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, 9 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, 10 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
2 years ago
Should be D since there isn't anything mention about temporary disk on the question
upvoted 3 times
...
leegend
2 years, 1 month ago
Got this question 28-5-23
upvoted 3 times
...
leegend
2 years, 1 month ago
Got this question 28-5-23
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...