Zero-downtime deployment means updating an application to a new version without any period where it's unavailable to users, typically achieved through blue-green, rolling, or canary deployment strategies combined with health checks.
A team rolls out a new API version to 10% of instances first, watches error rates via monitoring, and only proceeds to update the rest once the canary shows no regressions, avoiding any full outage even if the new version had a bug.
A concise interview answer is
I'd use a rolling or blue-green deployment strategy, backed by load balancer health checks so traffic only goes to instances that are actually ready. For riskier changes, a canary rollout to a small percentage of traffic first limits the blast radius, and any database changes need to stay backward-compatible during the transition.
Last updated: 16 July 2026
Previous question: How do you handle database migrations during deployments?
Next question: Explain the importance of health checks in deployment and how you would implement them.