A company is migrating a legacy web application from a single server to multiple Amazon EC2 instances behind an Application Load Balancer (ALB). After the migration, users report that they are frequently losing their sessions and are being prompted to log in again.
Which action should be taken to resolve the issue reported by users?
- Confirm that the ALB is not in a Multi-AZ configuration.
- Configure an Amazon CloudFront distribution with the ALB as the origin.
- Deploy a Network Load Balancer in front of the ALB.
- Enable sticky sessions for the target group of EC2 instances.