Bird
0
0

Given this command output:

medium📝 Command Output Q4 of 15
Kubernetes - Monitoring and Logging
Given this command output:
NAME           CPU(cores)   MEMORY(bytes)
webapp-1      200m         300Mi
webapp-2      250m         320Mi
webapp-3      180m         290Mi

What is the average CPU usage of these pods?
A220m
B250m
C230m
D210m
Step-by-Step Solution
Solution:
  1. Step 1: Sum the CPU usage values

    200m + 250m + 180m = 630m total CPU usage.
  2. Step 2: Calculate the average CPU usage

    Divide total by 3 pods: 630m / 3 = 210m average.
  3. Final Answer:

    210m -> Option D
  4. Quick Check:

    Average CPU = 210m [OK]
Quick Trick: Add CPU values, then divide by pod count [OK]
Common Mistakes:
  • Adding memory instead of CPU
  • Dividing by wrong number of pods
  • Mixing units like m and Mi

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes