nerdexam
AmazonAmazon

DOP-C02 · Question #100

DOP-C02 Question #100: Real Exam Question with Answer & Explanation

The correct answer is C: The health checks specified for the ALB target group are misconfigured.. https://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting- deployments.html#troubleshooting-deployments-allowtraffic-no-logs

Submitted by anna_se· Mar 6, 2026SDLC Automation

Question

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?

Options

  • AThe appspec.yml file contains an invalid script that runs in the AllowTraffic lifecycle hook.
  • BThe user who initiated the deployment does not have the necessary permissions to interact with the
  • CThe health checks specified for the ALB target group are misconfigured.
  • DThe CodeDeploy agent was not installed in the EC2 instances that are part of the ALB target group.

Explanation

https://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting- deployments.html#troubleshooting-deployments-allowtraffic-no-logs

Topics

#CodeDeploy#ALB health checks#deployment failures#AllowTraffic hook

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions