Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

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

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 344 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 run 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 run 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 (?) , you can switch to a simple comment.
Switch to a voting comment New
shaaam80
Highly Voted 12 months ago
Selected Answer: B
Use Code Build to run unit/automated testing. Code Deploy for blue/green deployments
upvoted 10 times
...
AzureDP900
Most Recent 1 week, 1 day ago
B is correct The current CI/CD pipeline has caused unplanned downtime due to recent resource changes in CloudFormation templates. To minimize this risk, implementing automated testing using AWS CodeBuild will help ensure that changes are thoroughly tested in a non-production environment before being deployed to production. Using CloudFormation change sets allows for evaluating the impact of changes before deployment, reducing the likelihood of unexpected issues during deployment. Adopting a blue/green deployment pattern with AWS CodeDeploy ensures minimal downtime and provides an option to revert changes if needed. By replacing user data scripts with automated deployments using AWS CodeDeploy, operators no longer have to manually log in to instances for testing, further reducing the likelihood of human error during the deployment process.
upvoted 1 times
...
vibzr2023
10 months, 3 weeks ago
Answer: B Key word " blue/green deployment" and not D.. coz manual testing.
upvoted 2 times
...
career360guru
10 months, 3 weeks ago
Selected Answer: B
Option B
upvoted 1 times
...
yuliaqwerty
11 months, 1 week ago
Agree B is the best here
upvoted 1 times
...
awsdaisuki
1 year ago
Selected Answer: B
BBBBBdaswsfasdfasdfasdfasdf
upvoted 3 times
...
devalenzuela86
1 year ago
Selected Answer: B
B for sure
upvoted 4 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 ...