Microsoft

AZ-800 practice question 138

Administering Windows Server Hybrid Core Infrastructure · free question 138 of 246

Question

You have an Azure subscription. The subscription contains a virtual machine that has the following configurations: • Name: VM1 • Size: Standard DS1 v2 • Operating system: Windows Server 2022 Datacenter: Azure Edition VM1 contains an OS disk named Disk0 that has the following configurations: • Size: 127 GB • Type: Standard SSD • Redundancy: Locally-redundant storage (LRS) You perform the following actions: • From the Azure portal, you add a new data disk named Disk1 to VM1. • From VM1, you install an app named App1. You need to ensure that Disk1 will be used as the D drive for VM1. The solution must ensure that data written by App1 to drive D will be retained when VM1 restarts. What should you do first?
  • A. Move Pagefile.sys to the C drive. Correct
  • B. From Disk Management, change the drive letter assigned to the volume on Disk0.
  • C. From Disk Management, change the drive letter assigned to the volume on Disk1.
  • D. Resize VM1 to Standard DS2 v2.

Explanation

On a Standard DS1 v2 VM, drive D is the temporary disk. Its data is lost when the VM is resized, deallocated or moved to another host, and it holds pagefile.sys. To make the data disk Disk1 the D drive, follow Microsoft's procedure: first move pagefile.sys to the C drive and restart; then, in Disk Management, change the temporary disk's letter (for example to T) and assign D to the volume on Disk1; finally move the page file back to the temporary drive. You cannot change the drive letter of the D volume while the page file is on it, so changing Disk1's letter is not the first step, and it is the temporary disk's letter that must change, not Disk0's (C). Resizing the VM does not remove the temporary disk.

Need the theory? Learn it free in the AZ-800 course on Godlike Academy

Practice the whole free set

AZ-800 is a free exam: all 300 questions with instant feedback, plus Learn and Exam modes and PDF export, free.