
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is building a new furniture inventory application. The company has deployed the application on a fleet of Amazon 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
Explanation:
When traffic seems to favor one EC2 instance behind an Application Load Balancer (ALB), this is typically caused by session affinity (sticky sessions) being enabled. Here's why:
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