Question
You are currently defining a release strategy for an app, named APP-01.
The strategy should allow you to keep the time it takes to deploy new releases of the app to a minimum. The strategy should also allow you to roll back in the shortest time required.
Which of the following is the release strategy you should use?
- A. Red/Black deployment Correct
- B. Rolling deployment
- C. "Big Bang" deployment
- D. Canary deployment
Explanation
Red/black (also called blue/green) deployment keeps two identical production environments: the new release is deployed to the idle one and traffic is switched over in one step, so release time is short, and rollback is just switching traffic back to the environment that still runs the previous version. A rolling deployment replaces instances in batches, so both the rollout and a rollback take longer. A big bang deployment replaces everything at once with no standby environment to fall back to, and a canary deployment deliberately rolls out gradually to a subset of users, which lengthens the release.