2V0-21.23 Question 399
Select 2A VMware administrator is managing a data center with a cluster that hosts multiple virtual machines (VMs). The administrator needs to ensure that two VMs (VM-A and VM-B) always run on separate hosts for high availability purposes. At the same time, a set of three VMs (VM-C, VM-D, and VM-E) should always run on the same host to reduce latency. Which steps should the administrator take to meet these requirements?
- A
Create an anti-affinity rule for VM-A and VM-B to ensure they run on separate hosts.
- B
Create an affinity rule for VM-A and VM-B to ensure they run on the same host.
- C
Create an affinity rule for VM-C, VM-D, and VM-E to ensure they run on the same host.
- D
Create an anti-affinity rule for VM-C, VM-D, and VM-E to ensure they run on separate hosts.
- E
Configure VM overrides to disable DRS for VM-A and VM-B.
Show answer and explanation
Correct answers: A, C
Explanation
To meet the requirements, the administrator needs to create an anti-affinity rule for VM-A and VM-B to ensure they run on separate hosts for high availability. Additionally, an affinity rule must be created for VM-C, VM-D, and VM-E to ensure they run on the same host to reduce latency. These rules leverage DRS (Distributed Resource Scheduler) capabilities in VMware to enforce placement policies within the cluster.
- A. Correct.
This is correct because an anti-affinity rule ensures that VM-A and VM-B will always run on separate hosts, which is required for high availability in this scenario.
- B. Incorrect.
This is incorrect because an affinity rule would ensure VM-A and VM-B run on the same host, which contradicts the requirement to separate them for high availability.
- C. Correct.
This is correct because an affinity rule ensures that VM-C, VM-D, and VM-E always run on the same host, which is required to reduce latency.
- D. Incorrect.
This is incorrect because an anti-affinity rule would ensure VM-C, VM-D, and VM-E run on separate hosts, which contradicts the requirement to keep them on the same host to reduce latency.
- E. Incorrect.
This is incorrect because disabling DRS for VM-A and VM-B does not achieve the high availability requirement of running them on separate hosts.