All jobs / Backend developer / Deployment Basics

Backend developer interview question · 0–1 years

The interviewer asks: “Liveness versus readiness — what do you expose?” Strongest answer?

The strongest answer

Liveness: is this process up? Readiness: can it take traffic (database, critical deps)? A failing ready probe should stop new traffic, not necessarily kill the pod.

Why it works

Exactly. Kubernetes (and load balancers) use them differently: not-ready = drain; not-live = restart. Mixing them causes flapping or black holes.

What a good answer covers

Answers that fall short

Who gets asked this

More Deployment Basics questions