AWS Certified Solutions Architect – Professional — Question 249
A company is manually deploying its application to production and wants to move to a more mature deployment pattern. The company has asked a solutions architect to design a solution that leverages its current Chef tools and knowledge. The application must be deployed to a staging environment for testing and verification before being deployed to production. Any new deployment must be rolled back in 5 minutes if errors are discovered after a deployment.
Which AWS service and deployment pattern should the solutions architect use to meet these requirements?
Answer options
- A. Use AWS Elastic Beanstalk and deploy the application using a rolling update deployment strategy.
- B. Use AWS CodePipeline and deploy the application using a rolling update deployment strategy.
- C. Use AWS CodeBuild and deploy the application using a canary deployment strategy.
- D. Use AWS OpsWorks and deploy the application using a blue/green deployment strategy.
Correct answer: D
Explanation
The correct answer is D because AWS OpsWorks integrates well with Chef, allowing for easy management of application deployments with a blue/green strategy, which supports quick rollbacks. Options A and B focus on rolling updates, which do not provide the immediate rollback capability required. Option C, while valid for deployments, does not align with the need for a staging environment and quick rollback after errors.