nerdexam
Broadcom-VMware

2V0-621 · Question #95

Refer to the Exhibit. An administrator has created the DRS cluster shown in the Exhibit. Based on the exhibit, which statement is true?

The correct answer is A. Under CPU contention, Prod-VM1 receives four times the CPU resources than Test-VM1. CPU shares define proportional entitlement only during contention, so Prod-VM1 configured with four times the shares of Test-VM1 receives four times the CPU cycles when resources are constrained.

Section 5 – Administer and Protect vSphere 6.x Resources

Question

Refer to the Exhibit. An administrator has created the DRS cluster shown in the Exhibit. Based on the exhibit, which statement is true?

Exhibit

2V0-621 question #95 exhibit

Options

  • AUnder CPU contention, Prod-VM1 receives four times the CPU resources than Test-VM1.
  • BThe Prod-VM1 will always have more CPU resources than all other virtual machines.
  • CThe Test-VM2 will always have less CPU resources than all other virtual machines.
  • DUnder CPU contention, Test-VM1 will receive 25% of the total CPU resources.

How the community answered

(35 responses)
  • A
    54% (19)
  • B
    29% (10)
  • C
    6% (2)
  • D
    11% (4)

Why each option

CPU shares define proportional entitlement only during contention, so Prod-VM1 configured with four times the shares of Test-VM1 receives four times the CPU cycles when resources are constrained.

AUnder CPU contention, Prod-VM1 receives four times the CPU resources than Test-VM1.Correct

vSphere's CPU scheduler distributes CPU cycles proportionally to share values when the physical host is overcommitted. If Prod-VM1 holds four times the share count of Test-VM1, the scheduler guarantees it receives four times the CPU allocation during contention. This is a ratio-based entitlement applied only when demand exceeds supply.

BThe Prod-VM1 will always have more CPU resources than all other virtual machines.

CPU shares govern allocation only under contention - when resources are plentiful, every VM receives what it demands regardless of share values, so Prod-VM1 does not always have more CPU than other VMs.

CThe Test-VM2 will always have less CPU resources than all other virtual machines.

Shares establish a relative floor during contention but impose no ceiling, so Test-VM2 is not permanently constrained to less CPU than all others when the host is not overcommitted.

DUnder CPU contention, Test-VM1 will receive 25% of the total CPU resources.

The percentage of CPU a VM receives under contention equals its shares divided by the total shares of all competing VMs; a fixed 25% would only be accurate under one specific share distribution and is not a general rule.

Concept tested: vSphere CPU shares proportional scheduling under contention

Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-4B5D0EC5-2B1E-4DC4-8B66-F279D9A0EDA9.html

Topics

#DRS cluster#CPU shares#resource contention#shares ratio analysis

Community Discussion

No community discussion yet for this question.

Full 2V0-621 Practice