← All CKA Flashcard Decks

Troubleshooting Flashcards

7 cards from real CKA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Troubleshooting flashcards as text
  1. How do you view logs for a specific container named 'nginx' in a multi-container pod named 'mypod'?

    Answer: kubectl logs mypod -c nginx

    The -c flag specifies the container name when a pod runs multiple containers.

  2. A pod is stuck in the 'Pending' state. Which command provides the most useful diagnostic information?

    Answer: kubectl describe pod

    kubectl describe shows the Events section and conditions that reveal why a pod is pending, such as insufficient resources or unschedulable nodes.

  3. What does the 'CrashLoopBackOff' status indicate for a pod?

    Answer: The pod's container repeatedly crashes and Kubernetes is backing off restart attempts

    CrashLoopBackOff means the container starts, crashes, and Kubernetes keeps restarting it with increasing exponential delays.

  4. Which command lists events in a specific namespace sorted chronologically?

    Answer: kubectl get events -n --sort-by='.lastTimestamp'

    kubectl get events with --sort-by='.lastTimestamp' lists events in chronological order, making it easy to trace the sequence of recent issues.

  5. A node shows 'NotReady' in kubectl get nodes. Which command gives the most detail about the node's condition?

    Answer: kubectl describe node

    kubectl describe node shows Conditions, allocatable resources, taints, and events that explain why a node is NotReady.

  6. You need a temporary interactive debug pod to troubleshoot network connectivity in the cluster. Which command is most appropriate?

    Answer: kubectl run debug --image=busybox --restart=Never --rm -it -- /bin/sh

    kubectl run with --restart=Never --rm -it creates a temporary interactive pod that is automatically deleted when you exit the shell.

  7. Where are kubelet logs found on a systemd-based Linux node?

    Answer: journalctl -u kubelet

    On systemd-based systems, kubelet is managed as a systemd service, so its logs are accessible via journalctl -u kubelet.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. docs.linuxfoundation.org — Exam format, test delivery, passing score, renewal, retake policy, score release, score validity, exam information · verified Oct 2026
  2. training.linuxfoundation.org — Eligibility, fees, test dates, time limit · verified Oct 2026