AZ-800 · Question #130
SIMULATION SRV1 contains a virtual machine named VM1. You need attach c:\vhds\Disk1.vhdx to VM1. The solution must ensure that Disk1 can be expanded dynamically when VM1 runs. To complete this task…
The correct answer is A. Ntdsutil.exe. The task is to attach a local VHDX file to a Hyper-V virtual machine for dynamic expansion, but the provided solution outlines steps for attaching a managed disk in Azure.
Question
SIMULATION SRV1 contains a virtual machine named VM1. You need attach c:\vhds\Disk1.vhdx to VM1. The solution must ensure that Disk1 can be expanded dynamically when VM1 runs. To complete this task, sign in the required computer or computers. Answer:
Step 1: Sign in to the Azure portal. Step 2: Search for and select Virtual machines. Select VM1 from the list.. Step 3: On the Virtual machine pane, select Disks. Step 4: On the Disks pane, select Create and attach a new disk. Step 5: In the drop-downs for the new disk, select attach c:\vhds\Disk1.vhdx Step 6: Specify that the disk is managed. Step 7: Select Save to create and attach the new data disk to the VM. Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/attach-managed-disk-portal
Options
- ANtdsutil.exe
- BActive Directory Sites and Services
- CSet-DnsServer
- DDNS Manager
How the community answered
(40 responses)- A80% (32)
- B3% (1)
- C5% (2)
- D13% (5)
Why each option
The task is to attach a local VHDX file to a Hyper-V virtual machine for dynamic expansion, but the provided solution outlines steps for attaching a managed disk in Azure.
The provided steps describe attaching a managed disk to an Azure virtual machine via the Azure portal, by navigating to the VM's Disks section and selecting to create and attach a new disk, specifying the VHDX path, and saving. This is the correct procedure for Azure managed disks, though it deviates from the question's premise of attaching a local VHDX on SRV1.
Active Directory Sites and Services is a tool for managing AD replication topology, not for attaching virtual disks to Hyper-V or Azure VMs.
Set-DnsServer is a PowerShell cmdlet for configuring DNS server settings, unrelated to virtual machine disk attachment.
DNS Manager is a graphical tool for managing DNS, which has no functionality for virtual machine disk operations.
Concept tested: Azure virtual machine disk attachment
Source: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/attach-managed-disk-portal
Topics
Community Discussion
No community discussion yet for this question.