An administrator wants to limit the amount of CPU resources a single VM can consume in a vSphere cluster. Which feature should be used?
A CPU limit caps the maximum CPU MHz a virtual machine may consume, directly restricting its resource usage. Shares only affect contention priority and reservations guarantee a minimum, so neither bounds peak consumption. The limit therefore satisfies the requirement to cap a single VM's CPU consumption.
Why this answer
A CPU limit sets an upper bound on the amount of physical CPU resources a VM can consume, expressed in MHz. When the VM reaches the limit, it is throttled even if the host has idle capacity. This directly addresses the requirement to cap a single VM's CPU consumption.
Exam trap
VCP-DCV often tests the confusion between reservations (minimum guarantee) and limits (maximum cap) — candidates frequently pick reservation when the question asks to restrict maximum consumption.
How to eliminate wrong answers
Option A is wrong because CPU affinity pins a VM to specific physical cores; it controls placement, not consumption ceiling, and can actually reduce performance by preventing scheduling flexibility. Option B is wrong because a CPU reservation guarantees a minimum MHz but does not cap maximum usage — the VM can still consume all available host CPU. Option C is wrong because resource pools aggregate and allocate CPU shares/limits across multiple VMs; while a pool can have a limit, the question asks about limiting a single VM, and pools are an organizational construct, not a per-VM cap.