2V0-622D · Question #240
When working with VM-VM DRS rules (affinity/anti-affinity), which statement is correct?
The correct answer is A. DRS gives higher priority to preventing violations of affinity rules than violations of anti-affinity. When DRS cannot satisfy both VM-VM rule types simultaneously, it prioritizes honoring affinity rules over anti-affinity rules.
Question
When working with VM-VM DRS rules (affinity/anti-affinity), which statement is correct?
Options
- ADRS gives higher priority to preventing violations of affinity rules than violations of anti-affinity
- BDRS gives the same priority to preventing violations of anti-affinity rules as affinity rules.
- CDRS does not allow both affinity and anti-affinity rules to be enabled at the same time within a
- DDRS gives higher priority to preventing violations of anti-affinity rules than violations of affinity
How the community answered
(18 responses)- A89% (16)
- B6% (1)
- C6% (1)
Why each option
When DRS cannot satisfy both VM-VM rule types simultaneously, it prioritizes honoring affinity rules over anti-affinity rules.
vSphere DRS applies a rule priority order when conflicts arise between VM-VM affinity and anti-affinity rules; affinity rules (requiring VMs to share a host) take precedence and will be honored first. This means DRS may accept an anti-affinity rule violation in order to maintain required affinity placements, ensuring co-location constraints for latency-sensitive workloads are preserved.
DRS does not treat affinity and anti-affinity rules with equal weight; there is a defined priority ordering where affinity rules take precedence over anti-affinity rules.
vSphere DRS fully supports having both affinity and anti-affinity VM-VM rules active simultaneously within the same cluster without any mutual exclusivity.
DRS does not give anti-affinity rules higher priority than affinity rules; the behavior described is the reverse of the actual rule priority ordering.
Concept tested: DRS VM-VM affinity vs anti-affinity rule priority ordering
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-FF28F29C-8B67-4EFF-A2EF-63B3537E6934.html
Topics
Community Discussion
No community discussion yet for this question.