AWS Certified DevOps Engineer – Professional — Question 42

A DevOps engineer is deploying a new version of a company's application in an AWS CodeDeploy deployment group associated with its Amazon EC2 instances.
After some time, the deployment fails. The engineer realizes that all the events associated with the specific deployment ID are in a Skipped status, and code was not deployed in the instances associated with the deployment group.
What are valid reasons for this failure? (Choose two.)

Answer options

Correct answer: A, D

Explanation

Option A is correct because if the EC2 instances cannot reach the CodeDeploy endpoint due to network configuration issues, the deployment will fail. Option D is also correct since without an instance profile with the right permissions, the deployment cannot proceed. Options B, C, and E do not directly relate to the Skipped status of deployment events in this context.