AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 91

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 access the internet, they won't be able to communicate with the CodeDeploy service. Option D is also correct as an instance profile with appropriate permissions is essential for the instances to perform the deployment. The other options do not directly prevent the deployment from occurring in the context described.