Bird
0
0

Why does kubectl debug use ephemeral containers instead of regular containers for debugging?

hard📝 Conceptual Q10 of 15
Kubernetes - Troubleshooting
Why does kubectl debug use ephemeral containers instead of regular containers for debugging?
AEphemeral containers run faster than regular containers
BEphemeral containers can be added without restarting the pod
CEphemeral containers replace the original containers permanently
DEphemeral containers are visible as separate pods
Step-by-Step Solution
Solution:
  1. Step 1: Understand ephemeral container purpose

    Ephemeral containers allow adding temporary containers to a running pod without restarting or changing the pod spec.
  2. Step 2: Compare with other container types

    They do not replace original containers, are not separate pods, and speed is not the main reason.
  3. Final Answer:

    Ephemeral containers can be added without restarting the pod -> Option B
  4. Quick Check:

    Ephemeral containers add debug tools live without pod restart [OK]
Quick Trick: Ephemeral containers add debug tools live without pod restart [OK]
Common Mistakes:
  • Thinking ephemeral containers replace original containers
  • Assuming they run as separate pods
  • Believing they improve container speed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes