A production fleet needs zero-downtime releases where the new version runs on fresh instances and rollback is instant if health checks fail. Which CodeDeploy type?
A.In-place deployment
In-place modifies existing instances — rollback means redeploying the old version onto them.
B.Blue/green deployment
Correct — fresh fleet, traffic shift, instant rollback to blue.
C.All-at-once in-place deployment
All-at-once is an in-place speed option and incurs downtime — opposite of the requirement.
D.Rolling restart via Systems Manager
SSM restarts instances — it's not a deployment mechanism with environment isolation.
Why this answer
Blue/green provisions a new environment (green), shifts traffic to it, and keeps the old (blue) for instant rollback — zero downtime + instant revert. In-place updates existing instances, slower to roll back.
Correct answer: B · Last reviewed 2026-11-01
Official AWS references
Practice this interactively
Answer without seeing the solution first in the CI/CD & Observability practice session.
Practice CI/CD & Observability