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

A company is building a new furniture inventory application. The company has deployed the application on a fleet ofAmazon EC2 instances across multiple Availability Zones. The EC2 instances run behind an Application Load Balancer (ALB) in their VPC.

A solutions architect has observed that incoming traffic seems to favor one EC2 instance, resulting in latency for some requests.

What should the solutions architect do to resolve this issue?

  • A. Disable session affinity (sticky sessions) on the ALB
  • B. Replace the ALB with a Network Load Balancer
  • C. Increase the number of EC2 instances in each Availability Zone
  • D. Adjust the frequency of the health checks on the ALB's target group
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
KennethNg923
4 months ago
Selected Answer: A
"favor one EC2 instance" it is because you enable the sticky session feature, so you have to disable it
upvoted 1 times
...
1Alpha1
8 months, 1 week ago
Selected Answer: A
Answer: *A* Enabling stickiness may bring imbalance to the load over the backend EC2 instances since sticky sessions help the same client to always redirect to the same instance behind a load balancer.
upvoted 2 times
...
awsgeek75
9 months ago
Selected Answer: B
The question is too vague. Doesn't say much about the application or EC2 instance setup. So: If you assume that application uses session management then A is correct. If you think application is crashing then D is correct for health checks If you don't assume anything about the application then B is also correct SMH, I'll go with B... happy to discuss
upvoted 2 times
awsgeek75
9 months ago
I'm not entirely happy with any choice but since others have chosen A, I'm just throwing B for discussion.
upvoted 1 times
...
...
MikeSWA
9 months, 3 weeks ago
what about c? it actually helps distribute traffic equally across instances in all enabled AZs.
upvoted 2 times
mr123dd
9 months ago
nope, if the sticky season is on, no matter how many instances you have in AZ or region, it will only send traffic to you favor session
upvoted 1 times
...
...
evelynsun
10 months ago
it's A!! Session affinity is a feature of the Application Load Balancer that keeps client requests on the same EC2 instance for the duration of the session. This can cause latency issues if one EC2 instance is overloaded while others are not, as the overloaded instance will handle all subsequent requests until it is taken offline. To resolve this issue, the solutions architect should disable session affinity on the ALB. This can be done by setting the "Session affinity" parameter to "Off" in the ALB's configuration. Disabling session affinity will cause the ALB to distribute requests across all EC2 instances in the target group, rather than keeping them on a single instance. This will help to balance the load and reduce latency for all requests.
upvoted 3 times
awsgeek75
9 months ago
I agree with A but it assumes that ALB has session affinity enabled and app doesn't require it. What if the EC2 instances are running an application that requires session affinity? I think the question is missing some important context
upvoted 1 times
...
...
TariqKipkemei
10 months, 2 weeks ago
Selected Answer: A
Disable session affinity (sticky sessions) on the ALB
upvoted 1 times
...
NickGordon
11 months, 1 week ago
Selected Answer: A
A https://repost.aws/knowledge-center/elb-fix-unequal-traffic-routing
upvoted 2 times
awsgeek75
9 months ago
The same article says to check health of instances. This makes D as a good candidate too. "Available healthy instances aren’t evenly distributed across Availability Zones."
upvoted 3 times
...
...
potomac
11 months, 1 week ago
Selected Answer: A
A makes more sense than others
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 ...