A developer wants to deploy to production on Friday at 5 PM. How do you handle it?
BeginnerScenarioDeployments and releases
Answer
Situation read → The issue isn't Friday, it's risk and recovery capacity. If deploys are small, automated and reversible, the day matters less.
What I'd do →
- Ask what's in it, how big the diff is, and whether it can be rolled back in one command.
- Check whether someone who understands the change will be around to watch metrics for the next hour, and who is on call.
- If it's a small change behind a feature flag with automated rollback: it can go.
- If it includes a DB migration, an infra change, or a new dependency: wait until Monday morning.
- Long term, fix the reason Friday feels scary: smaller releases, canaries, auto-rollback.
Why → A blanket freeze hides weak deploy safety instead of fixing it.
Interview tip → Show judgment rather than a rule: "it depends on blast radius and rollback time".
More on Deployments and releases
A deploy went out and p99 latency doubled. Walk me through it.IntermediateYou deployed a new version and half the pods are in CrashLoopBackOff. What do you do?BeginnerA release passed every test in staging but broke in production. How do you investigate?IntermediateHow would you design a zero-downtime deployment for a stateless API on Kubernetes?BeginnerEvery deploy causes a short spike of 502 errors from the ALB. Why, and how do you fix it?IntermediateHow would you set up a canary release, and what decides whether it gets promoted?Intermediate