Practice free →
HomeAWS DevOps Procloudcomputingdopsdlc › Which DOP-C02 deployment strategy replaces a fle…

Which DOP-C02 deployment strategy replaces a fleet of EC2 instances by spinning up new instances from a fresh AMI and terminating old ones — never patching in-place?

ADisabling Auto Scaling
BMutable in-place SSH patching with no AMI versioning
CImmutable deployment (e.g. via Auto Scaling group with a new launch template + instance refresh)
DManual disk edits
Answer & Solution
Correct answer: C. Immutable deployment (e.g. via Auto Scaling group with a new launch template + instance refresh)
Immutable deployments via fresh AMI + ASG instance refresh are the cattle-not-pets pattern (per DOP-C02 §1.4). The other options are mutable/anti-pattern.
Solve this in the app — AWS DevOps Pro practice & 24k+ MCQs →
Related questions