
Answer-first summary for fast verification
Answer: A new deployment of the last known working version of the application is deployed with a new deployment ID
A new deployment of the last known working version of the application is deployed with a new deployment ID AWS CodeDeploy is a service that automates code deployments to any instance, including Amazon EC2 instances and instances running on-premises. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications. CodeDeploy rolls back deployments by redeploying a previously deployed revision of an application as a new deployment. These rolled-back deployments are technically new deployments, with new deployment IDs, rather than restored versions of a previous deployment. To roll back an application to a previous revision, you just need to deploy that revision. AWS CodeDeploy keeps track of the files that were copied for the current revision and removes them before starting a new deployment, so there is no difference between redeploy and rollback. However, you need to make sure that the previous revisions are available for rollback. Incorrect options: The last known working deployment is automatically restored using the snapshot stored in Amazon S3 - CodeDeploy deployment does not have a snapshot stored on S3, so this option is incorrect. AWS CodePipeline promotes the most recent working deployment with a SUCCEEDED status to production - The use-case does not talk about using CodePipeline, so this option just acts as a distractor. CodeDeploy switches the Route 53 alias records back to the known good green deployment and terminates the failed blue deployment - The use-case does not talk about the blue/green deployment, so this option has just been added as a distractor.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An e-commerce company utilizing AWS CodeDeploy in their AWS cloud CI/CD pipeline aims to maintain seamless application updates and high availability. They have configured the deployment process to include automatic rollbacks for their critical flagship application hosted on Amazon EC2 instances.
In the event that the deployment of the new version of this application does not succeed, what specific actions are triggered as part of the automatic rollback process?
A
AWS CodePipeline promotes the most recent working deployment with a SUCCEEDED status to production
B
The last known working deployment is automatically restored using the snapshot stored in Amazon S3
C
CodeDeploy switches the Route 53 alias records back to the known good green deployment and terminates the failed blue deployment
D
A new deployment of the last known working version of the application is deployed with a new deployment ID