Bird
0
0

Given this pod spec snippet, what QoS class will Kubernetes assign?

medium📝 Command Output Q13 of 15
Kubernetes - Resource Management
Given this pod spec snippet, what QoS class will Kubernetes assign?
resources:
  requests:
    cpu: '100m'
    memory: '128Mi'
  limits:
    cpu: '100m'
    memory: '128Mi'
ABurstable
BBestEffort
Cnull
DGuaranteed
Step-by-Step Solution
Solution:
  1. Step 1: Compare requests and limits in the pod spec

    Requests and limits for both CPU and memory are equal (100m CPU and 128Mi memory).
  2. Step 2: Determine QoS class based on equality

    When requests equal limits for all resources, Kubernetes assigns Guaranteed QoS.
  3. Final Answer:

    Guaranteed -> Option D
  4. Quick Check:

    Requests = Limits means Guaranteed [OK]
Quick Trick: Equal requests and limits means Guaranteed QoS [OK]
Common Mistakes:
  • Choosing Burstable when requests equal limits
  • Thinking BestEffort applies with resource specs
  • Selecting null as a QoS class

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes