A Deployment's pods are failing with 'CrashLoopBackOff'. The container exits with code 1. Which two approaches will help identify the issue? (Choose two.)
Why this answer
A is correct because `kubectl logs <pod>` retrieves the container's stdout/stderr output, which often contains the error message or stack trace that caused exit code 1. This is the first step in debugging a CrashLoopBackOff, as it reveals what the application printed before terminating.
Exam trap
The trap here is that candidates may think `kubectl get pods -o wide` provides troubleshooting details, but it only adds IP and node info, not logs or events, while `kubectl edit` is a remediation step, not a diagnostic one.
Why the other options are wrong
Shows status but no logs or details.
Edits, not diagnoses.