Administering Windows Server Hybrid Core Infrastructure — Question 55

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because moving Pagefile.sys to the C drive frees up the D drive for Disk1, ensuring that App1 can utilize it without interference. Options B and C do not address the need to allocate Disk1 as the D drive properly, and option D is unnecessary since the current VM size supports adding data disks.