QuestionQ217

VerifiedAdministración de servicios de archivos y almacenamiento

You have an Azure subscription containing a virtual machine with these configurations:

  • Name: VM1
  • Size: Standard DS1 v2
  • Operating system: Windows Server 2022 Datacenter: Azure Edition

VM1 has an OS disk named Disk0 with these configurations:

  • Size: 127 GB
  • Type: Standard SSD
  • Redundancy: Locally-redundant storage (LRS)

You perform these actions:

  • In the Azure portal, you add a new data disk named Disk1 to VM1.
  • On VM1, you install an app named App1.

You need to ensure that Disk1 is used as the D drive on VM1. The solution must ensure that data written by App1 to drive D is retained when VM1 restarts.

What should you do first?

Explanation

On Azure Windows VMs, D: is the temporary disk by default and commonly hosts Pagefile.sys. To make a persistent data disk use D:, temporarily move Pagefile.sys to C: before changing the temporary disk’s drive letter and assigning D: to the data disk. This prevents App1 data from being stored on temporary storage.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!