.NET Architecture & System Design Interview Question #176

What is a deployment strategy?

Deployment, Cloud Operations, SRE & Senior System Design Scenarios Senior Advanced

Quick Interview Answer

A deployment strategy defines how a new application version is released to production while controlling downtime, risk, rollback, and user impact.

Detailed Explanation

A deployment strategy defines how a new application version is released to production while controlling downtime, risk, rollback, and user impact.

The appropriate strategy depends on traffic, state, database compatibility, infrastructure, and recovery requirements. Common approaches include rolling, blue-green, and canary deployments.

Code Example

Build -> Test -> Deploy -> Verify

Strategy decides:
- how instances are replaced
- how traffic moves
- how rollback works