Home › AWS DevOps Pro › cloudcomputing › dopsdlc › 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.
Related questions
An architect needs to roll out a Lambda function update across many regions with progressiWhich AWS service helps automate the build of container images from a Dockerfile in a CI pAn architect must run unit tests, integration tests, and security scans automatically whenWhich DOP-C02 deployment pattern stands up a parallel green environment, smoke-tests it, tWhich AWS service stores build-and-deploy-time secrets (DB passwords, API keys) with rotatWhich CodeDeploy deployment configuration shifts a small fixed percentage of traffic to a Which AWS service builds and maintains hardened, golden Amazon Machine Images (AMIs) and cWhich AWS service is a managed artifact repository for application packages (npm, Maven, N