This question evaluates operational debugging and system reliability skills — specifically Kubernetes pod/container troubleshooting, health-probe configuration, and practical Python ETL code review, focusing on observability, dependency management, and production-readiness.
You are on call and a service deployed to Kubernetes starts failing. The Pod shows CrashLoopBackOff (or the container exits repeatedly).
Explain the following probe types and when to use each:
Include:
You are given a small Python script that:
A simplified version looks like:
List the major issues you would call out in a code review (correctness, reliability, security, performance, operations). Propose concrete improvements suitable for production.