Microsoft

AZ-800 practice question 131

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

Question

You have an Azure virtual machine named VM1 that contains the drives shown in the following table. | Letter | Name | |---|---| | C | Operating System | | D | Temporary Storage | | E | Data Disk | On VM1, you plan to install an app named App1. The data for App1 must be stored on a persistent data disk assigned to drive D. You need assign the data disk to drive D. What should you do on VM1 first?
  • A. Change the drive letter of the Temporary Storage drive to F.
  • B. Move pagefile.sys to the Operating System drive. Correct
  • C. Stop (deallocate) VM1.
  • D. Expand the Temporary Storage drive.

Explanation

The temporary storage drive (D:) holds pagefile.sys, so its drive letter cannot be changed while the page file is on it. First move pagefile.sys to the operating system drive (C:) and restart VM1. Then change the temporary drive's letter (for example to T:), assign D: to the data disk, and optionally move the page file back to the temporary drive. Stopping (deallocating) the VM or expanding the temporary drive does not free the letter, and changing the temporary drive letter cannot be done first because the page file is still on it.

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.