exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 587 discussion

A company is using AWS CodePipeline for the CI/CD of an application to an Amazon EC2 Auto Scaling group. All AWS resources are defined in AWS
CloudFormation templates. The application artifacts are stored in an Amazon S3 bucket and deployed to the Auto Scaling group using instance user data scripts.
As the application has become more complex, recent resource changes in the CloudFormation templates have caused unplanned downtime.
How should a solutions architect improve the CI/CD pipeline to reduce the likelihood that changes in the templates will cause downtime?

  • A. Adapt the deployment scripts to detect and report CloudFormation error conditions when performing deployments. Write test plans for a testing team to execute in a non-production environment before approving the change for production.
  • B. Implement automated testing using AWS CodeBuild in a test environment. Use CloudFormation change sets to evaluate changes before deployment. Use AWS CodeDeploy to leverage blue/green deployment patterns to allow evaluations and the ability to revert changes, if needed.
  • C. Use plugins for the integrated development environment (IDE) to check the templates for errors, and use the AWS CLI to validate that the templates are correct. Adapt the deployment code to check for error conditions and generate notifications on errors. Deploy to a test environment and execute a manual test plan before approving the change for production.
  • D. Use AWS CodeDeploy and a blue/green deployment pattern with CloudFormation to replace the user data deployment scripts. Have the operators log in to running instances and go through a manual test plan to verify the application is running as expected.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Nemer
Highly Voted 3 years, 8 months ago
B. Why do manual testing in option D when it can be automated with CodeBuild? CF Change sets to preview changes, and CodeDeploy b/g deployment with ASG. https://aws.amazon.com/blogs/devops/performing-bluegreen-deployments-with-aws-codedeploy-and-auto-scaling-groups/
upvoted 21 times
...
evargasbrz
Most Recent 2 years, 5 months ago
Selected Answer: B
I'll go with B
upvoted 1 times
...
hilft
2 years, 10 months ago
of course, it's B.
upvoted 1 times
...
xyzman
3 years ago
Selected Answer: B
it is B
upvoted 2 times
...
cldy
3 years, 5 months ago
B. Implement automated testing using AWS CodeBuild in a test environment. Use CloudFormation change sets to evaluate changes before deployment. Use AWS CodeDeploy to leverage blue/green deployment patterns to allow evaluations and the ability to revert changes, if needed.
upvoted 3 times
...
AzureDP900
3 years, 6 months ago
B is right , this is straight forward question
upvoted 2 times
...
acloudguru
3 years, 6 months ago
Selected Answer: B
codebuild can provide automatic test
upvoted 3 times
...
nodogoshi
3 years, 7 months ago
B. automated testing always best
upvoted 1 times
...
jobe42
3 years, 7 months ago
B: fully automated, with ChangeSets, all other answers have way to much room for human errors.
upvoted 2 times
...
WhyIronMan
3 years, 7 months ago
I'll go with B
upvoted 1 times
...
blackgamer
3 years, 7 months ago
It is B.
upvoted 1 times
...
Waiweng
3 years, 7 months ago
it's B
upvoted 3 times
...
Kian1
3 years, 7 months ago
going with B
upvoted 1 times
...
Ebi
3 years, 8 months ago
I will go with B
upvoted 3 times
...
kopper2019
3 years, 8 months ago
Answer is B
upvoted 2 times
...
Bulti
3 years, 8 months ago
B is correct.
upvoted 2 times
...
T14102020
3 years, 8 months ago
Correct is B. automated testing using AWS CodeBuild
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...