nerdexam
CompTIA

CV0-002 · Question #562

After deploying a VM with a baseline CPU utilization below 80%, a cloud engineer notices the current CPU utilization stays in the 95% to 99% range. Which of the following describes how this should be

The correct answer is D. Add more RAM to the VM to decrease CPU utilization.. When a VM's CPU utilization is consistently high, adding more RAM can be the best solution if the CPU bottleneck is indirectly caused by insufficient memory leading to excessive paging or garbage collection overhead.

Operations

Question

After deploying a VM with a baseline CPU utilization below 80%, a cloud engineer notices the current CPU utilization stays in the 95% to 99% range. Which of the following describes how this should be fixed to BEST meet the baseline?

Options

  • ADeploy an additional VM based on the baseline.
  • BEnable CPU hyperthreading.
  • CIncrease the CPU amount on the VM.
  • DAdd more RAM to the VM to decrease CPU utilization.

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    17% (5)
  • D
    70% (21)

Why each option

When a VM's CPU utilization is consistently high, adding more RAM can be the best solution if the CPU bottleneck is indirectly caused by insufficient memory leading to excessive paging or garbage collection overhead.

ADeploy an additional VM based on the baseline.

Deploying an additional VM is a horizontal scaling solution, which is effective for distributed workloads but doesn't address the root cause of high CPU on a single VM if it's due to memory pressure.

BEnable CPU hyperthreading.

Enabling CPU hyperthreading provides logical cores and a modest performance boost, but it is insufficient to resolve severe CPU saturation (95-99%) caused by an underlying resource bottleneck like memory.

CIncrease the CPU amount on the VM.

Increasing the CPU amount directly adds processing power, but if the actual bottleneck is memory, adding more CPU might only give the application more cores to use for memory-intensive operations like paging, not solving the root issue.

DAdd more RAM to the VM to decrease CPU utilization.Correct

High CPU utilization can often be a symptom of insufficient RAM, where the operating system and applications spend excessive CPU cycles on memory management tasks like paging data to disk or performing garbage collection. Adding more RAM can alleviate this memory pressure, reducing CPU overhead and thus lowering utilization.

Concept tested: Troubleshooting VM performance bottlenecks (CPU vs. RAM)

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/high-cpu-usage

Topics

#VM performance#CPU utilization#resource optimization#memory management

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice