ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 133 - DOP-C02 discussion

Report
Export

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 AlIowTraffic 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 that runs in the AllowTraffic lifecycle hook.
Answers
A.
The appspec. yml file contains an invalid script that runs in the AllowTraffic lifecycle hook.
B.
The user who initiated the deployment does not have the necessary permissions to interact with the ALB.
Answers
B.
The user who initiated the deployment does not have the necessary permissions to interact with the ALB.
C.
The health checks specified for the ALB target group are misconfigured.
Answers
C.
The health checks specified for the ALB target group are misconfigured.
D.
The CodeDeploy agent was not installed in the EC2 instances that are pad of the ALB target group.
Answers
D.
The CodeDeploy agent was not installed in the EC2 instances that are pad of the ALB target group.
Suggested answer: C

Explanation:

This failure is typically due to incorrectly configured health checks in Elastic Load Balancing for the Classic Load Balancer, Application Load Balancer, or Network Load Balancer used to manage traffic for the deployment group. To resolve the issue, review and correct any errors in the health check configuration for the load balancer. https://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-deployments.html#troubleshooting-deployments-allowtraffic-no-logs

asked 16/09/2024
Amidou Florian TOURE
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first