QuestionQ12

Networking and Content Delivery

A retail company operates a web application. The application uses an Application Load Balancer (ALB) to distribute traffic among multiple Amazon EC2 instances across two Availability Zones. The application receives high traffic during flash sales. The company must ensure that requests are distributed evenly across all healthy instances. In addition, the company needs session persistence for shopping cart functionality.

Which configuration satisfies these requirements with the LEAST administrative effort?

Explanation

Round robin routing on an ALB target group distributes requests evenly among healthy targets. Enabling target-group stickiness binds a client session to the initially selected target, preserving shopping-cart session continuity. Cross-zone load balancing enables load balancer nodes to distribute requests across registered healthy targets in all enabled Availability Zones. AWS does not support weighted-random routing together with sticky sessions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!