AWS Certified DevOps Engineer – Professional — Question 93

A development team manages website deployments using AWS CodeDeploy blue/green deployments. The application is running on Amazon EC2 instances behind an Application Load Balancer in an Auto Scaling group.

When deploying a new revision, the team notices the deployment eventually fails, but it takes a long time to fail. After further inspection, the team discovers the AllowTraffic lifecycle event ran for an hour and eventually failed without providing any other information. The team wants to ensure failure notices are delivered more quickly while maintaining application availability even upon failure.

Which combination of actions should be taken to meet these requirements? (Choose two.)

Answer options

Correct answer: B, E

Explanation

Option B is correct because creating a trigger for deployment failure allows for immediate notification when health checks fail, enhancing responsiveness. Option E is also correct as it runs health checks before allowing traffic, ensuring that issues are detected early. The other options either compromise deployment speed without providing quicker notifications or do not address the need for timely failure alerts.