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

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 714 discussion

A company runs a highly available web application on Amazon EC2 instances behind an Application Load Balancer. The company uses Amazon CloudWatch metrics.

As the traffic to the web application increases, some EC2 instances become overloaded with many outstanding requests. The CloudWatch metrics show that the number of requests processed and the time to receive the responses from some EC2 instances are both higher compared to other EC2 instances. The company does not want new requests to be forwarded to the EC2 instances that are already overloaded.

Which solution will meet these requirements?

  • A. Use the round robin routing algorithm based on the RequestCountPerTarget and ActiveConnectionCount CloudWatch metrics.
  • B. Use the least outstanding requests algorithm based on the RequestCountPerTarget and ActiveConnectionCount CloudWatch metrics.
  • C. Use the round robin routing algorithm based on the RequestCount and TargetResponseTime CloudWatch metrics.
  • D. Use the least outstanding requests algorithm based on the RequestCount and TargetResponseTime CloudWatch metrics.
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
h0ng97_spare_002
Highly Voted 8 months ago
Selected Answer: B
Option B is correct because can use "RequestCountPerTarget" to identify the amount of requests for each EC2 instance. Then use "least outstanding requests algorithm" to route to targets with the lowest number of in progress requests. Option D is wrong because "RequestCount" cannot identify the amount of requests for each EC2 instance. "RequestCount" is for the whole ALB.
upvoted 10 times
Tatai2015
5 months, 2 weeks ago
https://aws.amazon.com/about-aws/whats-new/2019/11/application-load-balancer-now-supports-least-outstanding-requests-algorithm-for-load-balancing-requests/
upvoted 2 times
...
...
Andy_09
Highly Voted 9 months, 2 weeks ago
Option B would be the correct choice
upvoted 7 times
...
Scheldon
Most Recent 4 months, 3 weeks ago
Selected Answer: B
AnswerB
upvoted 1 times
...
TruthWS
8 months ago
Option B
upvoted 2 times
...
dkw2342
8 months ago
IMO the correct answer is option D: This is from an earlier version of the AWS documentation on ALB target groups - for some reason they removed this information in the current revision: "Consider using least outstanding requests when the requests for your application vary in complexity or your targets vary in processing capability. Round robin is a good choice when the requests and targets are similar, or if you need to distribute requests equally among targets. You can compare the effect of round robin versus least outstanding requests using the following CloudWatch metrics: RequestCount, TargetConnectionErrorCount, and TargetResponseTime." https://web.archive.org/web/20200426172626/https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#modify-routing-algorithm
upvoted 1 times
h0ng97_spare_002
8 months ago
The link is just saying that you can view "RequestCount, TargetConnectionErrorCount, and TargetResponseTime" to understand the difference in effect between round robin vs least outstanding requests. It is not the direct answer to this question.
upvoted 2 times
...
...
xBUGx
8 months ago
Selected Answer: D
I think TargetResponseTime is the best indicator for telling is a server is overloaded or not
upvoted 1 times
...
alawada
8 months ago
Selected Answer: B
distribute the number of requests among instances
upvoted 1 times
...
Kezuko
8 months ago
Selected Answer: B
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html To understand the types
upvoted 3 times
...
haci
8 months, 2 weeks ago
Selected Answer: B
The question is not asking for better performance in response time. It is just simply asking to distribute the number of requests among instances. So B seems more logical.
upvoted 2 times
...
osmk
9 months ago
Selected Answer: D
The least outstanding requests routing algorithm routes requests to the targets with the lowest number of in progress requests > https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
upvoted 3 times
...
osmk
9 months, 1 week ago
D>>> The least outstanding requests routing algorithm routes requests to the targets with the lowest number of in progress requests > https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
upvoted 1 times
...
Moon239
9 months, 2 weeks ago
Why not D?
upvoted 2 times
jaswantn
9 months, 2 weeks ago
With Least outstanding requests algorithm, new request will send it to the "target" with least number of outstanding requests. Targets processing long-standing requests or having lower processing capabilities are not burdened with more requests. That's why option B is correct and not option D.
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 ...