Bird
0
0

What happens when Kubernetes detects a container has crashed?

medium📝 Command Output Q13 of 15
Kubernetes - Fundamentals
What happens when Kubernetes detects a container has crashed?
AIt ignores the crash and does nothing.
BIt sends an email but does not restart the container.
CIt deletes all containers in the cluster.
DIt automatically restarts the crashed container.
Step-by-Step Solution
Solution:
  1. Step 1: Understand Kubernetes self-healing feature

    Kubernetes monitors containers and restarts any that crash to keep apps running.
  2. Step 2: Match behavior to options

    Only It automatically restarts the crashed container. correctly describes automatic restart after a crash.
  3. Final Answer:

    It automatically restarts the crashed container. -> Option D
  4. Quick Check:

    Kubernetes self-healing = Auto restart crashed containers [OK]
Quick Trick: Kubernetes restarts crashed containers automatically [OK]
Common Mistakes:
  • Thinking Kubernetes ignores crashes
  • Believing it deletes all containers on one crash
  • Assuming manual restart is always needed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes