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

A company developed a Java application and deployed it to an Apache Tomcat server that runs on Amazon EC2 instances. The company's Engineering team has implemented AWS CloudFormation and Chef Automate to automate the provisioning of and updates to the infrastructure and configuration of the application in the development, test, and production environments. These implementations have led to significantly improves reliability in releasing changes. The Engineering team reports there are frequent service disruptions due to unexpected errors when updating the application of the Apache Tomcat server.
Which solution will increase the reliability of all releases?

  • A. Implement a blue/green deployment methodology.
  • B. Implement the canary release methodology.
  • C. Configure Amazon CloudFront to serve all requests from the cache while deploying the updates.
  • D. Implement the all at once deployment methodology.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Trap_D0_r
Highly Voted 3 years, 8 months ago
B Stunning how few people can read. Opsworks isn't even mentioned anywhere in the question. This question has nothing to do with Opsworks. It's cloudformation + Chef Automate (which indicates a Chef Serve, NOT a full Opsworks stack). Chef isn't an aws tools and doesn't require Opsworks to work, and it supports Blue/Green, Phoenix, and Canary deployments (https://blog.chef.io/watch-chef-aws-your-path-to-devops). The answer is B.
upvoted 26 times
sashsz
3 years, 3 months ago
Stunning how you are judging the other people and you yourself didn't provide any reason behind your answer.
upvoted 5 times
...
...
Nemer
Highly Voted 3 years, 9 months ago
A. Blue/green deployment with Opsworks for Chef Automate, using separate stacks for each environment.
upvoted 12 times
Gmail78
3 years, 9 months ago
https://docs.aws.amazon.com/opsworks/latest/userguide/best-deploy.html
upvoted 2 times
...
Alexey79
3 years, 4 months ago
https://aws.amazon.com/opsworks/chefautomate/
upvoted 1 times
...
...
3a632a3
Most Recent 1 year, 5 months ago
Selected Answer: A
A is the answer Canary and Blue/Green are very similar deployment styles. I've been doing DevOps since before it was a term. You can learn about canary in this link where they even use blue/green to show the environments: https://martinfowler.com/bliki/CanaryRelease.html?ref=wellarchitected The difference here is with canary you need to be able to control traffic, BUT there isn't a method listed in the infrastructure to do this such as an ALB or route53. Since you can't shape traffic the next best thing is blue/green.
upvoted 1 times
...
Jesuisleon
2 years, 1 month ago
Selected Answer: A
A. The problem is from Apache tomcat server, it's from your environment, so you can't use canary method to detect. canary method is usually for testing your changes or features by putting one new application into your environment with your old applications, if new application works as normal, then you gradually replace all your old applications with new application.
upvoted 1 times
...
nexus2020
2 years, 11 months ago
Selected Answer: A
Blue/green will ensure the upgrade is tested before launch. - better reliability = A is right Canary will track the change, but without doing anything else will not make it more reliable. = b is not the better answer.
upvoted 3 times
...
Anhdd
3 years, 1 month ago
Selected Answer: B
B good
upvoted 1 times
Anhdd
3 years, 1 month ago
It's say that with the blue/green deployment, the cons is: "Cost is a drawback to blue-green deployments. Replicating a production environment can be complex and expensive, especially when working with microservices. Quality assurance and user acceptance testing may not identify all of the anomalies or regressions either, and so shifting all user traffic at once can present risks. An outage or issue could also have a wide-scale business impact before a rollback is triggered, and depending on the implementation, in-flight user transactions may be lost when the shift in traffic is made."
upvoted 1 times
...
Anhdd
3 years, 1 month ago
Althought that the question not require to low cost, I will always prefer the solution that take lower cost. Plus that, with the blue/green an outage or issue could also have a wide-scale business impact before a rollback is triggered, and depending on the implementation, in-flight user transactions may be lost when the shift in traffic is made. So C run out -> B for me
upvoted 1 times
...
...
user0001
3 years, 1 month ago
it is A in this case, it would be B if the question is about cost
upvoted 2 times
...
futen0326
3 years, 4 months ago
Selected Answer: A
Don't let the top comment fool you.. the answer is A. OpsWorks has 3 modes: Puppet Enterprise, Chef Automate, and OpsWorks.. For the exam you will default for OpsWorks if you see those keywords.
upvoted 3 times
...
AMKazi
3 years, 5 months ago
A is the answer. B: is not suitable in this scenario as they are facing issues with upgrading Apache TOMCAT server. You cannot do Canary deployments for server infrastructure. Canary is best suited for toggle features/releases that can we toggled on /off. Since this is TOMCAT, you cannot opt in or opt out.
upvoted 6 times
...
GeniusMikeLiu
3 years, 5 months ago
after read so many comment, I still confused. what the main diffenrent between Blue/green and canary deloyment?
upvoted 1 times
...
cannottellname
3 years, 5 months ago
A is reliable. nothing is mentioned about costs.
upvoted 2 times
...
GeniusMikeLiu
3 years, 6 months ago
Selected Answer: A
quesion is care about 'reliable', so A is best then B. Blue/Green deployment can roll back to old version if something goes wrong.
upvoted 3 times
...
cldy
3 years, 6 months ago
B is correct.
upvoted 1 times
...
Juks
3 years, 7 months ago
Blue/Green deployment is more reliable as it will never cause an outage. Using Canary you are still causing outage for a set of users.
upvoted 5 times
Anhdd
3 years, 1 month ago
Blue/green deployment: An outage or issue could also have a wide-scale business impact before a rollback is triggered, and depending on the implementation, in-flight user transactions may be lost when the shift in traffic is made
upvoted 1 times
...
...
tkanmani76
3 years, 7 months ago
A - The answer is Blue/Green. The question requires a "Reliable" soluton - With Canary you would still be routing to a small subset of user base who would be impacted if there is an issue with upgrade. With Blue/Green you would test in one environment and once it works fine you could swing over - that way there will be no customer impact or production issue.
upvoted 7 times
...
sappers
3 years, 7 months ago
Its B Canary - yep stunning that so many head-in-cloud Architects dont understand DevOps - Think if YOU were responsible for "service outages occur(ing) OFTEN as a result of unanticipated issues" e.g. a known intermittently flawed App - would you really do Blue/Green (no mention in Q of testing) ? then just swap over ? Good luck w that :@)
upvoted 2 times
...
sappers
3 years, 7 months ago
Its B Canary - yep stunning that so many head-in-cloud Architects dont understand DevOps - Think if YOU were responsible for "service outages occur(ing) OFTEN as a result of unanticipated issues" e.g. a known intermittently flawed App - would you really do Blue/Green (no mention in Q of testing) ? then just swap over ? Good lcuck w that :@)
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 ...