2V0-21-23 practice question 4 of 25
An administrator runs a two-node vSphere cluster, which contains two domain controller virtual machines (VMs). The administrator wants to ensure that VMs run on separate hosts without interfering with normal maintenance operations. How should the administrator configure Distributed Resource Scheduler (DRS)?
Full set: 107 questionsThe primary goal is to keep the two domain controller VMs on separate hosts to ensure high availability, but critically, this must not prevent maintenance operations. In a two-node cluster, a strict ("must") anti-affinity rule would block a host from entering maintenance mode, as DRS would be unable to move its VM to the only other available host without violating the rule. A "should" rule provides the necessary flexibility. By creating two "Should run Virtual Machines to Hosts" anti-affinity rules (e.g., DC1 should not run on Host B, and DC2 should not run on Host A), the administrator instructs DRS to keep the VMs separate during normal operation. However, DRS is permitted to violate this preferential rule when necessary, such as evacuating a host for maintenance.
A. A 'Must run' rule is too restrictive. It would prevent a host from entering maintenance mode, as DRS cannot violate a "must" rule.
B. A 'Virtual Machines to Virtual Machines' anti-affinity rule is a "must" rule by definition and would block maintenance operations in a two-node cluster scenario.
C. A dependency rule is a vSphere HA setting that dictates the startup order of virtual machines after a host failure, not their placement for resource balancing.
1. VMware vSphere 8.0 Documentation
"vSphere Resource Management"
Page 80
"Behavior of DRS with Affinity Rules":
"DRS does not evacuate a virtual machine from a host entering maintenance mode if doing so violates a 'must' affinity rule." This directly supports why options A and B are incorrect.
"DRS might violate a 'should' rule in order to evacuate a virtual machine from a host entering maintenance mode." This supports the choice of a "should" rule (Option D) as the correct solution.
2. VMware vSphere 8.0 Documentation
"vSphere Resource Management"
Page 80
"VM-VM Affinity and Anti-Affinity Rules":
"VM-VM affinity and anti-affinity rules are 'must' rules." This confirms that the rule type in option B is a "must" rule and therefore unsuitable for this scenario.
3. VMware vSphere 8.0 Documentation
"vSphere Resource Management"
Page 79
"VM-Host Affinity Rules":
"You can create two types of VM-Host affinity rules
'must' rules (required) and 'should' rules (preferential)." This confirms the existence and purpose of the rule type described in option D.
Keep practicing
Take the free 2V0-21-23 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 2V0-21-23 practice questions
- Question 2An administrator needs to create affinity rules for the following vSphere cluster setup: …
- Question 3An administrator is tasked with allowing a single user the ability to take snapshots on a…
- Question 5An administrator decides to restore VMware vCenter from a file-based backup following a f…
- Question 6An administrator is tasked with adding two additional hosts into an existing production v…
- Question 7Which three features are only available when using vSphere Distributed Switches instead o…
- Question 8A vSphere cluster has the following configuration: • Virtual machines (VMs) are running P…
