AZ-104 exam dumps

AZ-104 practice question 145 of 289

Microsoft Certified: Azure Administrator Associate. Associate level, Microsoft. Free question with the correct answer and a full explanation.

AZ-104 Question 145

Select 2

Your organization hosts a Windows Server VM in Azure with a 128GB OS disk (Standard SSD SKU). The application team needs to increase the OS disk size to 512GB to accommodate a large update. Which actions must you perform to resize the OS disk while preserving existing data and minimizing downtime?

  1. A

    Deallocate the VM, then resize the OS disk in the Azure Portal or via Azure CLI

  2. B

    Create a new managed disk of the desired size and attach it as a data disk to the existing VM

  3. C

    After resizing in Azure, use the in-guest Disk Management utility (or equivalent) to extend the partition

  4. D

    Enable Application Consistent snapshots on the disk before resizing

Show answer and explanation

Correct answers: A, C

Explanation

To resize the OS disk in Azure, you must first deallocate the VM, then increase the disk size through the Azure Portal or CLI. Once the VM is restarted, use the OS’s Disk Management tool to extend the partition into the newly allocated space. This preserves data and ensures the new capacity is fully available.

  • A. Correct.

    You must first stop (deallocate) the VM before resizing the OS disk through the Azure Portal or CLI.

  • B. Incorrect.

    Creating a separate disk and attaching it as a data disk would not resize the existing OS disk.

  • C. Correct.

    Extending the partition inside the guest OS is necessary after increasing the OS disk size in Azure to utilize the additional space.

  • D. Incorrect.

    Enabling application consistent snapshots is related to backup and does not directly facilitate resizing the OS disk.

Timed practice exam

Take a AZ-104 practice test under exam conditions

60 questions in 60 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam