Bird
0
0

A developer sets CPU requests higher than limits in pod spec. What is the likely outcome?

medium📝 Troubleshoot Q7 of 15
Kubernetes - Production Best Practices
A developer sets CPU requests higher than limits in pod spec. What is the likely outcome?
APod creation fails due to invalid resource configuration
BPod runs normally with no issues
CPod uses unlimited CPU resources
DPod is throttled immediately
Step-by-Step Solution
Solution:
  1. Step 1: Understand Kubernetes resource request and limit rules

    CPU requests must be less than or equal to CPU limits; otherwise, the configuration is invalid.
  2. Step 2: Predict behavior on invalid resource config

    Kubernetes rejects pod creation if requests exceed limits, causing failure.
  3. Final Answer:

    Pod creation fails due to invalid resource configuration -> Option A
  4. Quick Check:

    Requests > Limits = Pod creation error [OK]
Quick Trick: Requests must not exceed limits [OK]
Common Mistakes:
  • Setting requests higher than limits
  • Assuming pod runs despite invalid config
  • Confusing throttling with creation failure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes