Bird
0
0

A pod has multiple containers with these memory specs:

hard📝 Workflow Q9 of 15
Kubernetes - Resource Management
A pod has multiple containers with these memory specs:
Container A: requests 100Mi, limits 200Mi
Container B: requests 150Mi, limits 300Mi
What is the total memory request and limit for the pod?
ARequest: 150Mi, Limit: 300Mi
BRequest: 100Mi, Limit: 200Mi
CRequest: 250Mi, Limit: 500Mi
DRequest: 300Mi, Limit: 600Mi
Step-by-Step Solution
Solution:
  1. Step 1: Sum memory requests of all containers

    100Mi + 150Mi = 250Mi total request.
  2. Step 2: Sum memory limits of all containers

    200Mi + 300Mi = 500Mi total limit.
  3. Final Answer:

    Request: 250Mi, Limit: 500Mi -> Option C
  4. Quick Check:

    Pod memory = sum of container requests and limits [OK]
Quick Trick: Pod memory = sum of all containers' requests and limits [OK]
Common Mistakes:
  • Using max container values instead of sum
  • Mixing requests with limits
  • Ignoring multiple containers

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes