Bird
0
0

If a node has 2 CPUs and two pods each request 1 CPU, what happens when both pods try to use 1.5 CPUs simultaneously?

medium📝 Command Output Q5 of 15
Kubernetes - Resource Management
If a node has 2 CPUs and two pods each request 1 CPU, what happens when both pods try to use 1.5 CPUs simultaneously?
AOne pod is throttled, the other gets full 1.5 CPUs
BPods are terminated due to CPU overuse
CBoth pods get 1.5 CPUs each
DBoth pods are throttled to 1 CPU each
Step-by-Step Solution
Solution:
  1. Step 1: Understand CPU requests and node capacity

    Each pod requests 1 CPU, total 2 CPUs requested, matching node capacity.
  2. Step 2: Analyze CPU usage above requests

    Pods can burst above requests but limited by node CPU. Both trying 1.5 CPUs means total 3 CPUs needed, exceeding node capacity.
  3. Step 3: Kubernetes throttles pods to their limits

    Pods are throttled to their CPU limits or node capacity, so both get throttled to 1 CPU each.
  4. Final Answer:

    Both pods are throttled to 1 CPU each -> Option D
  5. Quick Check:

    CPU overuse on node = throttling to requests [OK]
Quick Trick: Pods can't exceed node CPU; throttling applies [OK]
Common Mistakes:
  • Assuming pods get more CPU than node capacity
  • Thinking pods are killed for overuse
  • Believing one pod gets more CPU unfairly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes