You have a cluster named Cluster1 that contains two nodes. Both nodes run Windows Server 2012 R2.
Cluster1 hosts a virtual machine named VM1 that runs Windows Server 2012 R2.
You configure a custom service on VM1 named Service1.
You need to ensure that VM1 will be moved to a different node if Service1 fails.
Which cmdlet should you run on Cluster1?
A.
Add-ClusterVmMonitoredItem
B.
Add-ClusterGenericServiceRole
C.
Set-ClusterResourceDependency
D.
Enable VmResourceMetering
Explanation:
The Add-ClusterVMMonitoredItem cmdlet configures monitoring for a service or an Event Tracing for Windows
(ETW) event so that it is monitored on a virtual machine. If the service fails or the event occurs, then the
system responds by taking an action based on the failover configuration for the virtual machine resource. For
example, the configuration might specify that the virtual machine be restarted.