Course → 3 · DevOps exam scenarios → Troubleshooting & incident response
3 · DevOps exam scenarios
Theory · Troubleshooting & incident response
16 min · Module 13 · Theory
How to study this topic
- Read the theory below (concepts, bullets, and shell/YAML examples).
- Try the Exam pool and Book quizzes in this module.
- After each quiz, use Show answer on every question to review.
Troubleshooting & incident response
Follow runbooks: assess impact, mitigate (rollback/scale), communicate, root-cause after stability. Use metrics/logs/traces to narrow blast radius — CrashLoopBackOff, OOM, disk full, dependency timeout.
- MTTR: detect, diagnose, fix, verify — practice game days.
- Postmortem: timeline, root cause, action items with owners.
- Rollback: fastest mitigation when deploy caused regression.
Shell, YAML & config examples
# K8s triage
kubectl get events --sort-by='.lastTimestamp'
kubectl describe pod $POD
kubectl logs $POD --previous # crashed container
Hands-on practice: /lab/