AWS Certified Solutions Architect - Professional

AWS Certified Solutions Architect - Professional

Get started today

Ultimate access to all questions.


A company is utilizing AWS CodePipeline for continuous integration and continuous deployment (CI/CD) of their application to an Amazon EC2 Auto Scaling group. All AWS resources are defined within AWS CloudFormation templates. The application artifacts are stored in an Amazon S3 bucket and are deployed to the Auto Scaling group using instance user data scripts. As the application's complexity has increased, recent modifications to the CloudFormation templates have resulted in unplanned downtime. What strategy should a solutions architect employ to enhance the CI/CD pipeline and minimize the risk of downtime due to changes in the CloudFormation templates?




Explanation:

The correct answer is B. Implementing automated testing using AWS CodeBuild in a test environment ensures that changes to the application can be validated before they are deployed. Utilizing CloudFormation change sets allows for the evaluation of modifications to AWS resources before they affect the live environment. Using AWS CodeDeploy with blue/green deployment patterns provides a robust solution by allowing you to release the new version alongside the existing one, and then switch traffic only if the new version is deemed stable. This approach reduces the risk of downtime and provides a mechanism to revert changes if issues are detected.