
Answer-first summary for fast verification
Answer: Set the routing algorithm of the target group to least outstanding requests.
The Application Load Balancer supports sticky sessions (session affinity) with the Round Robin and Least Outstanding Requests routing algorithms. It does not support session affinity when using the Weighted Random routing algorithm, causing the unexpected random application errors.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #6
A company is migrating a legacy application to AWS. The company manually installs and configures the legacy application on Amazon EC2 instances across multiple Availability Zones. The company sets up an Application Load Balancer (ALB) for the application. The company sets the target group routing algorithm to weighted random. The application requires session affinity. After the company deploys the application, users report random application errors that were not present in the legacy version of the application. The target group health checks do not show any failures. The company must resolve the application errors.
Which solution will meet this requirement?
A
Set the routing algorithm of the target group to least outstanding requests.
B
Turn on anomaly mitigation for the target group.
C
Turn off the cross-zone load balancing attribute of the target group.
D
Increase the deregistration delay attribute of the target group.
No comments yet.