An application runs on EC2 behind an Application Load Balancer in an Auto Scaling group. AWS CodeDeploy performs blue/green deployments. Operators read application logs on instances and manually tell CodeDeploy to roll back when error rates are too high. Which TWO steps automate rollback? (Select TWO.)
Multiple response — select two or more answers
Answer choices
Architectural breakdown & explanation
CodeDeploy can tie rollback to deployment alarms; log metric filters catch errors that never appear as ALB HTTP codes.
Correct answer(s): b. Configure the deployment group to monitor the alarm, fail the deployment, and roll back when the alarm enters ALARM., e. Send application logs to CloudWatch Logs, add a metric filter for error lines, and alarm on the error rate.
Exam domain: Domain 1: SDLC Automation (22% weight on the official guide).
Official documentation & study links
Practice this certification
This page is one question from the AWS Certified DevOps Engineer – Professional bank. Run a full timed practice exam with domain-weighted random questions in your browser.