
Answer-first summary for fast verification
Answer: The networking configuration does not allow the EC2 instances to reach the internet via a NAT gateway or internet gateway, preventing access to the CodeDeploy endpoint., The EC2 instances do not have an attached IAM instance profile with the required permissions for CodeDeploy.
The correct answers are A and D. For CodeDeploy to function properly, EC2 instances must be able to reach the CodeDeploy endpoint via an appropriate network configuration; if they cannot access the internet through a NAT gateway or internet gateway, the deployment will fail. Additionally, the EC2 instances need an IAM instance profile with the necessary permissions to interact with CodeDeploy. Without this, the deployment will not be able to proceed as the instances will lack the required permissions to download deployment artifacts and complete the deployment process.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
During a deployment of a new application version using AWS CodeDeploy to Amazon EC2 instances, a DevOps engineer encounters a failure where all deployment events are marked as Skipped, and no code is deployed to the instances. What potential issues could lead to this deployment failure?
A
The networking configuration does not allow the EC2 instances to reach the internet via a NAT gateway or internet gateway, preventing access to the CodeDeploy endpoint.
B
The IAM user initiating the deployment lacks the necessary permissions to interact with the CodeDeploy service.
C
The target EC2 instances are not correctly registered with the CodeDeploy service.
D
The EC2 instances do not have an attached IAM instance profile with the required permissions for CodeDeploy.
E
The application revision does not include the necessary appspec.yml file.
No comments yet.