DevOps · CI/CD
How would you answer an interview scenario involving deployment strategies?
In an interview, I would first define deployment strategies and the problem it solves, then explain how I would select the strategy based on availability requirements and statefulness, validate health before shifting traffic, keep database changes backward-compatible, and make rollback fast and observable. I would also call out the main failure mode: choosing a zero-downtime strategy while deploying incompatible schema or configuration changes can still break both old and new application versions. Finally, I would describe how I would test, monitor, and safely roll back or recover the solution.