Your network contains an Active Directory domain named contoso.com.
The domain contains Server 2012 R2 and has the Hyper-V server role installed.
You need to log the amount of system resources used by each virtual machine.
What should you do?
A.
From Windows PowerShell, run the Enable-VMResourceMeteringcmdlet.
B.
From Windows System Resource Manager, enable Accounting.
C.
From Windows System Resource Manager, add a resource allocation policy.
D.
From Windows PowerShell, run the Measure-VM cmdlet.
Explanation:
Enable-VMResourceMeteringcmdlet – begins logging the amount of system resources used by the VM or VMs that you specify in the command.
Measure-VM – fetches the logged data for the VM or VMs.
The question asks us to begin logging the data, it does not ask us to fetch that logged data (whch hasn’t even been logged yet).
Resource metering is not enabled by default. You can enable resource metering through PowerShell by entering the following command:
Get-VM | Enable-VMResourceMetering
By default, Hyper-V collects resource metering statistics once every hour.
https://redmondmag.com/articles/2013/08/15/hyper-v-resource-metering.aspx
Additionally, Windows System Resource Manager (WSRM) is deprecated beginning with Windows Server® 2012
https://technet.microsoft.com/en-us/library/hh997019.aspx