CompTIA
CV0-003 · Question #156
CV0-003 Question #156: Real Exam Question with Answer & Explanation
The correct answer is A: 1. Single-threaded applications can only execute on one processor core at a time, making additional vCPUs wasteful and potentially harmful to hypervisor scheduling performance.
Deployment
Question
An administrator needs to build a VM for a legacy, single-threaded application. According to best practice, how many virtual CPUs should the administrator use?
Options
- A1
- B2
- C4
- D8
Explanation
Single-threaded applications can only execute on one processor core at a time, making additional vCPUs wasteful and potentially harmful to hypervisor scheduling performance.
Common mistakes.
- B. Two vCPUs waste scheduler resources because a single-threaded app cannot execute on both cores simultaneously and the hypervisor must still schedule both vCPUs on physical cores.
- C. Four vCPUs amplifies scheduler overhead and resource contention on the host for a workload that is fundamentally incapable of parallel execution.
- D. Eight vCPUs is severely oversized and would impose significant hypervisor co-scheduling complexity for an application limited to a single thread of execution.
Concept tested. vCPU right-sizing for single-threaded workloads
Topics
#vCPU sizing#single-threaded application#VM best practices#CPU allocation
Community Discussion
No community discussion yet for this question.