Configuring Advanced Windows Server 2012 Services — Question 36

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?

Answer options

Correct answer: A

Explanation

The correct answer is A, as the Add-ClusterVmMonitoredItem cmdlet is specifically designed to monitor services on virtual machines within a cluster and handle failover accordingly. Option B, Set-ClusterResourceDependency, does not directly monitor services for failover, while C, Enable- VmResourceMetering, is unrelated to service monitoring, and D, Add-ClusterGenericServiceRole, adds a service role but does not provide the specific monitoring needed for Service1.