When configuring a new virtual machine on a standalone host, which of the following resource-allocation strategies is most likely to maintain reliable performance for the VM and other guests running on the same host?
A technician should:
Configure the VM with RAM equal to 100 % of the host's physical memory so the guest never has to swap to disk and lose data.
Allocate the minimum number of vCPUs and the least amount of RAM that the early workload requires, then monitor and increase resources only if sustained utilization remains high.
Set both CPU and memory to the maximum the hypervisor allows; unused resources will stay idle and cannot harm performance.
Assign double the number of physical CPU cores to the VM because hyper-threading will compensate for any deficit.
Right-sizing begins with the minimum CPU cores and memory required for the workload, then adjusts upward only if monitoring shows sustained utilization. This prevents CPU-ready time and host-level swapping that occur when total allocated vCPUs or RAM exceed the host's physical capacity. Overprovisioning can cross NUMA boundaries, drive high CPU-ready queues, or trigger memory ballooning/swapping—conditions that reduce, rather than improve, performance.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a vCPU in the context of virtual machines?
Open an interactive chat with Bash
What are NUMA boundaries, and why do they matter in VM resource allocation?
Open an interactive chat with Bash
What is CPU-ready time, and how does it affect VM performance?