2V0-21.23 Question 48
Single answerA VMware administrator is configuring a vSphere cluster with Distributed Resource Scheduler (DRS) enabled. The administrator notices that some virtual machines (VMs) are not being migrated even though the cluster is under resource contention. Upon investigating, the administrator observes that the DRS score for these VMs is lower than expected. Which factor primarily influences the DRS score for a virtual machine?
- A
The current CPU and memory usage of the virtual machine
- B
The affinity or anti-affinity rules applied to the virtual machine
- C
The priority level assigned to the virtual machine by the administrator
- D
The historical resource usage trend of the virtual machine
Show answer and explanation
Correct answer: A
Explanation
The DRS score for a virtual machine is a measure of how well the VM's resource demands align with the resources available on the host it resides on. It primarily depends on the VM’s current CPU and memory usage and the host’s capacity to meet those demands. While factors like affinity rules or resource allocation settings can indirectly affect migrations, they do not directly contribute to the DRS score calculation.
- A. Correct.
Correct. DRS primarily calculates the score based on the current CPU and memory usage of the virtual machine and the host’s available resources. This ensures optimal resource distribution across the cluster.
- B. Incorrect.
Incorrect. Affinity or anti-affinity rules might prevent migrations but do not directly influence the DRS score of a virtual machine.
- C. Incorrect.
Incorrect. VMware DRS does not use an administratively assigned priority level to calculate the DRS score. Resource allocation settings like shares, limits, and reservations may impact DRS behavior but are not the same as a priority level.
- D. Incorrect.
Incorrect. Historical resource usage trends are not used by DRS to calculate the DRS score. DRS decisions are based on current resource demands and availability.