A DevOps Engineer is using AWS CodeDeploy across a fleet of Amazon EC2 instances in an EC2 Auto Scaling group. The associated CodeDeploy deployment group, which is integrated with EC2 Auto Scaling, is configured to perform in-place deployments with CodeDeployDefault.OneAtATime . During an ongoing new deployment, the Engineer discovers that, although the overall deployment finished successfully, two out of five instances have the previous application revision deployed. The other three instances have the newest application revision. What is likely causing this issue?
A) The two affected instances failed to fetch the new deployment.
B) A failed AfterInstall lifecycle event hook caused the CodeDeploy agent to roll back to the previous version on the affected instances. A failed AfterInstall lifecycle event hook caused the CodeDeploy agent to roll back to the previous version on the affected instances.
C) The CodeDeploy agent was not installed in two affected instances.
D) EC2 Auto Scaling launched two new instances while the new deployment had not yet finished, causing the previous version to be deployed on the affected instances.
Correct Answer:
Verified
Q117: A company is using AWS CodeDeploy to
Q118: According to Information Security Policy, changes to
Q119: A retail company has adopted AWS OpsWorks
Q120: A company is building a web and
Q121: The management team at a company with
Q123: A company has multiple development groups working
Q124: A mobile application running on eight Amazon
Q125: The Development team has grown substantially in
Q126: A DevOps Engineer is reviewing a system
Q127: A company wants to use Amazon ECS
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents