Ultimate access to all questions.
A company operates an application on the AWS Cloud, where the core business logic is executed on a set of EC2 instances within an Auto Scaling group. Traffic to these instances is managed by an Application Load Balancer (ALB), and the Route 53 DNS record 'api.example.com' directs traffic to this ALB. The development team is introducing significant updates to the business logic. To adhere to company policy, during deployment, only 10% of customers should initially experience the new logic in a controlled testing phase, with each customer consistently receiving the same version of the logic throughout this period. What is the most appropriate method for deploying these updates to satisfy these conditions?
Explanation:
The correct answer is B. This option involves creating a second target group that is referred to by the existing ALB and deploying the updated logic to EC2 instances within this new target group. The ALB listener rule is updated to use weighted target groups, and ALB target group stickiness is configured to ensure session consistency. This satisfies the requirement that a customer must consistently experience the same version of the business logic during the testing window, addressing both the distribution and consistency requirements specified.