CS FundamentalsHardProduct-company DevOps interview

A Kubernetes pod takes 60 seconds to warm its cache after start-up. During that time it should get no traffic but must not be restarted. Which probe handles this?

  1. A. Liveness probe, which restarts the container if it fails
  2. B. Readiness probe, which removes the pod from service endpoints until it reports ready
  3. C. Startup probe only, which routes traffic
  4. D. None; Kubernetes always waits 60 seconds

Correct answer: B. Readiness probe, which removes the pod from service endpoints until it reports ready

Readiness controls whether the pod receives traffic; liveness controls whether it is restarted. Using liveness here would restart a slow-starting pod in a loop; a startup probe can additionally delay liveness checks.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic