
Answer-first summary for fast verification
Answer: Configure CodePipeline with a deploy stage using AWS CodeDeploy for blue/green deployments. Monitor the newly deployed code, and if issues arise, trigger a manual rollback using CodeDeploy.
The correct answer is B. AWS CodeDeploy configured for blue/green deployments meets the requirements for rapid patch deployment and minimal downtime, as well as the capability to quickly roll back in case of issues. Blue/green deployments involve setting up two identical environments, where one environment (blue) is currently active while the other (green) is idle. When a new version is ready, it is deployed to the idle environment (green). Once deployment is successful and verified without issues, traffic is then switched from the blue environment to the green environment. In case of errors in the new deployment, traffic can be quickly switched back to the blue environment, providing an efficient rollback mechanism. This approach ensures minimal downtime and robust error recovery, aligning perfectly with the company's requirements.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company's Chief Information Security Officer (CISO) has tasked a solutions architect with enhancing the current CI/CD practices to ensure that patch deployments to the company's web application can occur rapidly with minimal downtime when vulnerabilities are identified. Additionally, the company must have the capability to swiftly revert changes in the event of errors. The web application is currently deployed on a fleet of Amazon EC2 instances behind an Application Load Balancer. The application's source code is hosted on GitHub, and an AWS CodeBuild project has been set up for building the application. The company plans to utilize AWS CodePipeline to initiate builds from GitHub commits using the existing CodeBuild project. What CI/CD configuration should be implemented to meet these requirements?
A
Configure CodePipeline with a deploy stage using AWS CodeDeploy for in-place deployment. Monitor the newly deployed code, and if issues arise, push another code update.
B
Configure CodePipeline with a deploy stage using AWS CodeDeploy for blue/green deployments. Monitor the newly deployed code, and if issues arise, trigger a manual rollback using CodeDeploy.
C
Configure CodePipeline with a deploy stage using AWS CloudFormation to create a pipeline for test and production stacks. Monitor the newly deployed code, and if issues arise, push another code update.
D
Configure the CodePipeline with a deploy stage using AWS OpsWorks and in-place deployments. Monitor the newly deployed code, and if issues arise, push another code update.
No comments yet.