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

A company is running an application in the AWS Cloud. The core business logic is running on a set of Amazon EC2 instances in an Auto Scaling group. An Application Load Balancer (ALB) distributes traffic to the EC2 instances. Amazon Route 53 record api.example.com is pointing to the ALB.

The company's development team makes major updates to the business logic. The company has a rule that when changes are deployed, only 10% of customers can receive the new logic during a testing window. A customer must use the same version of the business logic during the testing window.

How should the company deploy the updates to meet these requirements?

  • A. Create a second ALB, and deploy the new logic to a set of EC2 instances in a new Auto Scaling group. Configure the ALB to distribute traffic to the EC2 instances. Update the Route 53 record to use weighted routing, and point the record to both of the ALBs.
  • B. Create a second target group that is referenced by the ALDeploy the new logic to EC2 instances in this new target group. Update the ALB listener rule to use weighted target groups. Configure ALB target group stickiness.
  • C. Create a new launch configuration for the Auto Scaling group. Specify the launch configuration to use the AutoScalingRollingUpdate policy, and set the MaxBatchSize option to 10. Replace the launch configuration on the Auto Scaling group. Deploy the changes.
  • D. Create a second Auto Scaling group that is referenced by the ALB. Deploy the new logic on a set of EC2 instances in this new Auto Scaling group. Change the ALB routing algorithm to least outstanding requests (LOR). Configure ALB session stickiness.
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
career360guru
5 months ago
Selected Answer: B
B is better option considering the fact that a customer should get same business logic during testing window. This means we need session stickiness that only option B can provide.
upvoted 4 times
...
Pupu86
5 months ago
Selected Answer: B
This is canary deployment not blue/green
upvoted 3 times
...
joleneinthebackyard
5 months, 3 weeks ago
Selected Answer: B
I was struggled between A and B because I overlooked this line "A customer must use the same version of the business logic during the testing window." So we need session stickiness in place, then B is the obvious choice.
upvoted 1 times
...
aviathor
8 months, 1 week ago
The problem I have with B is that is does not mention stickiness. The problem I have with A is that the stickiness will work only as long as the DNS entry does not time out...
upvoted 1 times
aviathor
8 months, 1 week ago
Oops. It does mention stickiness...
upvoted 1 times
...
...
ggrodskiy
9 months ago
Correct B.
upvoted 1 times
...
NikkyDicky
9 months, 3 weeks ago
Selected Answer: B
B better
upvoted 1 times
...
SkyZeroZx
10 months ago
Selected Answer: B
B ) Classic usage of Blue/Green deployment A is good option but not have a stickness with Route 53 more apropiate is ALB with stickness
upvoted 2 times
...
Maria2023
10 months ago
Selected Answer: B
https://docs.aws.amazon.com/prescriptive-guidance/latest/load-balancer-stickiness/target-group-stickiness.html
upvoted 1 times
...
rbm2023
10 months, 4 weeks ago
Selected Answer: B
Agree with B blue green deployment, using target group
upvoted 4 times
rbm2023
10 months, 4 weeks ago
https://aws.amazon.com/blogs/aws/new-application-load-balancer-simplifies-deployment-with-weighted-target-groups/
upvoted 3 times
...
...
F_Eldin
11 months ago
Selected Answer: B
https://aws.amazon.com/blogs/aws/new-application-load-balancer-simplifies-deployment-with-weighted-target-groups/
upvoted 4 times
...
Roontha
11 months ago
Answer : B https://medium.com/capital-one-tech/deploying-with-confidence-strategies-for-canary-deployments-on-aws-7cab3798823e
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