All jobs / Backend developer / Deployment Basics
Backend developer interview question · 5+ years
The interviewer asks: “A new ranking feature is burning CPU in production. What do you want already built?” Strongest answer?
The strongest answer
A kill switch / feature flag that turns it off without a deploy, with a default-safe value if the flag service is itself down. I don't wait for a rollback to compile.
Why it works
Exactly. Flags are an operational control. Fail-safe defaults matter as much as the flag. That's how you stop a bleed in minutes.
What a good answer covers
- Ship a kill switch with the feature.
- Default safe if flags are unavailable.
- Rollback is slower than a flag.
- Don't make the flag service a SPOF.
Answers that fall short
- Close, but not the strongest: I'll revert the git commit and hope CI is green.
Revert is the next tool, not the first, and it's slow if the pipeline is busy or blocked. - Weak: SSH to a box and comment out the code.
SSH is not an audit trail and doesn't work on a fleet. That's heroics. - Red flag: The flag service is on the same hot path with no cache — if flags are down, the app is down.
A flag dependency that can take you down is a new single point of failure. Cache defaults locally.
Who gets asked this
More Deployment Basics questions
- The interviewer (as hiring manager) asks: “How do you interview for on-call readiness?” Strongest answer?
- The interviewer asks: “The last outage was fixed by one person who “just knew.” What do you change?”…
- The interviewer asks: “How do you know failover works?” Strongest answer?
- What is the difference between a region and an availability zone?
- IaaS, PaaS, SaaS — what does each one leave to you?
- When would you use object storage rather than a block volume?
- You create a new storage bucket for user uploads. Who can read it by default, and what should you check?
- What is the difference between an IAM user and an IAM role?