exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 784 discussion

Exam question from Amazon's AWS-SysOps
Question #: 784
Topic #: 1
[All AWS-SysOps Questions]

A web application runs on Amazon EC2 instances behind an ELB Application Load Balancer. The instances run in an EC2 Auto Scaling group across multiple
Availability Zones. Amazon Route 53 is used for DNS and points to the load balancer. A SysOps Administrator has launched a new Auto Scaling group with a new version of the application, and wants to gradually shift traffic to the new version.
How can this be accomplished?

  • A. Create an Auto Scaling target tracking scaling policy to gradually move traffic from the old version to the new one
  • B. Change the Application Load Balancer to a Network Load Balancer, then add both Auto Scaling groups as targets
  • C. Use an Amazon Route 53 weighted routing policy to gradually move traffic from the old version to the new one
  • D. Deploy Amazon Redshift to gradually move traffic from the old version to the new one using a set of predefined values
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://github.com/aws/containers-roadmap/issues/76

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
nicat
Highly Voted 2 years, 7 months ago
C. Use an Amazon Route 53 weighted routing policy to gradually move traffic from the old version to the new one
upvoted 19 times
lpiedra
2 years, 7 months ago
That would make sense if there where two ALB, one for each Autoscaling Group... but that is not clear in the question. On the other hand, if it were A, I wonder what would be the metric for autoscaling.
upvoted 6 times
...
...
gofavad926
Highly Voted 2 years, 7 months ago
A option. because Route53 point to ALB and the old scaling group is in the ALB, you can change your auto scaling group there and gradually when new instances are created use the new launch configuration
upvoted 10 times
...
albert_kuo
Most Recent 9 months, 2 weeks ago
Selected Answer: C
To gradually shift traffic to the new version of the web application running on EC2 instances behind an Application Load Balancer (ALB) and EC2 Auto Scaling group, you can use Amazon Route 53's weighted routing policy.
upvoted 1 times
...
gulu73
1 year, 3 months ago
Selected Answer: C
I vote C
upvoted 1 times
...
Cyril_the_Squirl
2 years, 6 months ago
Let's first eliminate Wrong answers: A. Create an Auto Scaling target tracking scaling policy ...WRONG...target tracking is a parameter in ASG that determines WHEN to scale in or out your ASG....Therefore complete irrelevant here. | B. Change the Application Load Balancer to a Network Load Balancer...WRONG..we're talking about ALB here..NLB this is WRONG... | D. Deploy Amazon Redshift ...WRONG ....Irrelevant and silly. | Without even reading it, C is the correct answer. C. Use an Amazon Route 53 weighted routing policy to gradually move traffic from the old version to the new one But another way to reason it. the ratio of load balancing is typically managed using Route 53 weighted routing. https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-weighted
upvoted 1 times
...
ZL23
2 years, 6 months ago
I think it might be A based on the links I referred to below. However, I don't really understand what does the "Auto Scaling target tracking scaling policy" mean here in the answer A and that was the reason I feel a bit not so sure if A is correct or not. Swap the Auto Scaling Group Behind Elastic Load Balancer https://docs.aws.amazon.com/whitepapers/latest/blue-green-deployments/swap-the-auto-scaling-group-behind-elastic-load-balancer.html New – Application Load Balancer Simplifies Deployment with Weighted Target Groups https://aws.amazon.com/blogs/aws/new-application-load-balancer-simplifies-deployment-with-weighted-target-groups/
upvoted 2 times
...
wahlbergusa
2 years, 6 months ago
Answer is here : https://aws.amazon.com/blogs/aws/new-application-load-balancer-simplifies-deployment-with-weighted-target-groups/ Route53 points out to an ELB (not to a specific target group) Answer is A.
upvoted 2 times
Huy
2 years, 6 months ago
The link you provide is correct but I don't see any point regarding A. Let's stick with C because it is normal way we can do. Although D didn't mention new ALB created.
upvoted 1 times
...
...
ahaffar
2 years, 6 months ago
C https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.html#routing-policy-weighted
upvoted 1 times
...
RicardoD
2 years, 6 months ago
C is the Answer R53 weighted policy can be used to gradually move traffic from the old to the new version.
upvoted 1 times
RicardoD
2 years, 6 months ago
A is the answer. I misunderstood the question and there is no new ALB
upvoted 2 times
...
...
binhdt2611
2 years, 6 months ago
The answer is A Check solution called "Swap the Auto Scaling Group Behind Elastic Load Balancer" This will help swap old auto scaling group to new version of auto scaling group behind an ELB https://docs.aws.amazon.com/whitepapers/latest/blue-green-deployments/swap-the-auto-scaling-group-behind-elastic-load-balancer.html
upvoted 2 times
...
Mohammadhussein
2 years, 6 months ago
Wouldn't "B" be a solution?, changing it to NLB and adding both ASG with routing would solve it!
upvoted 1 times
...
jackdryan
2 years, 6 months ago
I'll go with A
upvoted 2 times
...
Boubelin
2 years, 7 months ago
Just to eliminate B - there is option for ALB to weighted balance between more target groups. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#forward-actions But B is about change from ALB to NLB. So definitely not B.
upvoted 1 times
...
MFDOOM
2 years, 7 months ago
A. Create an Auto Scaling target tracking scaling policy to gradually move traffic from the old version to the new one
upvoted 1 times
...
rewiga
2 years, 7 months ago
"Amazon Route 53 is used for DNS and points to the load balancer"
upvoted 1 times
...
AWSum1
2 years, 7 months ago
C is correct Target Tracking will just ensure that the auto scaling level is consistent based on a metric. R53 will route traffic to the ALB (Important to note that they mentioned an ALB and not just ELB). From there it is assumed that some form of path based routing will occur. Again, I could be wrong, but this is my observation
upvoted 4 times
...
Abrar01
2 years, 7 months ago
A. Route 53 does not send direct traffic to auto scaling group
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago