Bird
0
0

If a Pod with two containers shows only one container running while the other is in CrashLoopBackOff, what is the most probable cause?

medium📝 Troubleshoot Q6 of 15
Kubernetes - Pods
If a Pod with two containers shows only one container running while the other is in CrashLoopBackOff, what is the most probable cause?
AThe Pod's node is out of resources, preventing the second container from starting
BThe failing container has an incorrect image or command causing it to crash
CKubernetes does not support multiple containers in a single Pod
DThe Pod's service account lacks permissions to run multiple containers
Step-by-Step Solution
Solution:
  1. Step 1: Understand CrashLoopBackOff

    This status indicates a container repeatedly crashes after starting.
  2. Step 2: Identify common causes

    Incorrect image, bad command, or missing dependencies often cause crashes.
  3. Final Answer:

    The failing container has an incorrect image or command causing it to crash -> Option B
  4. Quick Check:

    CrashLoopBackOff usually means container-level failure [OK]
Quick Trick: CrashLoopBackOff means container crashes repeatedly [OK]
Common Mistakes:
  • Assuming Kubernetes doesn't support multiple containers
  • Blaming node resources without checking container logs
  • Confusing Pod-level issues with container-level failures

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes