Practice free →
HomeAWS Developer Associatecloudcomputingawsdevdeployment › A team wants to deploy a Lambda update with the …

A team wants to deploy a Lambda update with the option to roll back automatically if a CloudWatch alarm fires within the deployment window. Which deployment configuration enables this?

AAll-at-once deployment with no alarm wiring
BA CodeDeploy deployment group with rollback enabled on alarm, combined with a linear or canary traffic-shifting config
CDisabling CloudWatch alarms to avoid false rollbacks
DManually clicking 'publish version' in the console and praying
Answer & Solution
Correct answer: B. A CodeDeploy deployment group with rollback enabled on alarm, combined with a linear or canary traffic-shifting config
CodeDeploy attaches CloudWatch alarms to a deployment group and rolls back automatically when they fire mid-traffic shift. The other options remove safety nets.
Solve this in the app — AWS Developer Associate practice & 24k+ MCQs →
Related questions