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 363 discussion

A company’s CISO has asked a solutions architect to re-engineer the company's current CI/CD practices to make sure patch deployments to its application can happen as quickly as possible with minimal downtime if vulnerabilities are discovered. The company must also be able to quickly roll back a change in case of errors.

The web application is deployed in a fleet of Amazon EC2 instances behind an Application Load Balancer. The company is currently using GitHub to host the application source code, and has configured an AWS CodeBuild project to build the application. The company also intends to use AWS CodePipeline to trigger builds from GitHub commits using the existing CodeBuild project.

What CI/CD configuration meets all of the requirements?

  • A. Configure CodePipeline with a deploy stage using AWS CodeDeploy configured for in-place deployment. Monitor the newly deployed code, and, if there are any issues, push another code update
  • B. Configure CodePipeline with a deploy stage using AWS CodeDeploy configured for blue/green deployments. Monitor the newly deployed code, and, if there are any issues, 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 there are any issues, 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 there are any issues, push another code update.
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
heatblur
Highly Voted 1 year, 5 months ago
Selected Answer: B
B is the best choice. Using a B/G approach aligns with the requirements for quick patch deployments and minimal downtime. In the event of an issue, the company can quickly revert to the previous version, meeting the need for a fast rollback process. This method offers a balance of speed, reliability, and safety for critical updates.
upvoted 8 times
...
AzureDP900
Most Recent 5 months, 2 weeks ago
B is right Blue/green deployments allow for multiple instances of the application to be deployed simultaneously, one in production and one in a standby state (the "blue" instance). This approach provides several benefits, including: Minimal downtime: If an issue arises with the production instance, users can quickly switch to the standby instance without disrupting the application. Easy rollbacks: If issues cannot be resolved, blue/green deployments allow for a quick rollback to the previous version of the application.
upvoted 1 times
...
Daniel76
8 months, 1 week ago
Manual code rollback in CodeDeploy: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployments-rollback-and-redeploy.html#:~:text=a%20deployment%20group.-,Manual%20rollbacks,gotten%20into%20an%20unknown%20state.
upvoted 1 times
...
career360guru
1 year, 3 months ago
Selected Answer: B
Option B
upvoted 1 times
...
GaryQian
1 year, 4 months ago
Selected Answer: B
AWS like green/blue deployment for new code & roll back scenario
upvoted 2 times
...
J0n102
1 year, 5 months ago
Selected Answer: B
Answer: B
upvoted 1 times
...
PouyaK
1 year, 5 months ago
Answer B
upvoted 2 times
...
shaaam80
1 year, 5 months ago
Selected Answer: B
Answer B
upvoted 2 times
...
devalenzuela86
1 year, 5 months ago
Selected Answer: B
B for sure
upvoted 3 times
...
cypkir
1 year, 5 months ago
Selected Answer: B
Answer: B
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago