An application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). A DevOps Engineer is using AWS CodeDeploy to release a new version. The deployment fails during the AllowTraffic lifecycle event, but a cause for the failure is not indicated in the deployment logs.
What would cause this?
A . The appspec.yml file contains an invalid script to execute in the AllowTraffic lifecycle hook.
B . The user who initiated the deployment does not have the necessary permissions to interact with the AL
D . The health checks specified for the ALB target group are misconfigured.
E . The CodeDeploy agent was not installed in the EC2 instances that are part of the ALB target group.
Answer: C
Explanation:
Reference: https://docs.amazonaws.cn/en_us/codedeploy/latest/userguide/codedeploy-user.pdf (399)
Leave a Reply