Your network contains an Active Directory domain named contoso.com. The domain contains a server named
Server1. Server1 runs Windows Server 2012 and has the Hyper- V server role installed.
You need to log the amount of system resources usedby each virtual machine.
What should you do?
A.
From Windows PowerShell, run the Enable-VM Resource Metering cmdlet.
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-VMResourceMetering – The Enable-VMResourceMeteringcmdlet starts collecting resourceutilization
data for a virtual machine or resource pool. Measure-VM – The Measure-VM cmdlet reports data on processor
usage, memory usage, network traffic, anddisk capacity for one or more virtual machines.
http://technet.microsoft.com/en-us/library/hh848481%28v=wps.620%29.aspx http://blogs.technet.com/b/
virtualization/archive/2012/08/20/how-to-use-resource-metering- with-powershell.Aspx
This is a multi-answer question with check boxes. The answer is A & D.
The Measure-VM cmdlet reports data on processor usage, memory usage, network traffic, and disk capacity for one or more virtual machines.
Note: Data is available for reporting through the Measure-VM cmdlet only after resource metering is enabled for a virtual machine.
http://technet.microsoft.com/en-us/library/hh848471.aspx
–> tvegeta is right, its A + D
no, it’s A because you only need to log it. If you needed to view the logged data you go for D.
Agree with robber.
https://gyazo.com/0a3b967bee59aab3732f5be5715c2440
Enable-VMResourceMetering will begin logging the amount of system resources used by the VM or VMs that you specify in the command.
You only need Measure-VM to fetch the logged data for the VM or VMs.
The question requirements only require us to begin logging the data so that it can be fetched later.
It is, however, possible that they modified the actual exam question in which case you will simply need to apply some logic and wisdom that can only be gleaned by learning instead of memorizing dumps.
•
Enable-VMResourceMetering. Starts collecting data on a per virtual machine basis.
•
Disable-VMResourceMetering. Disables resource metering on a per virtual machine basis.
•
Reset-VMResourceMetering. Resets virtual machine resource metering counters.
•
Measure-VM. Displays resource metering statistics for a specific virtual machine.