AWS Certified Solutions Architect – Professional (SAP-C02) — Question 198

A company is running an application in the AWS Cloud. The core business logic is running on a set of Amazon EC2 instances in an Auto Scaling group. An Application Load Balancer (ALB) distributes traffic to the EC2 instances. Amazon Route 53 record api.example.com is pointing to the ALB.

The company's development team makes major updates to the business logic. The company has a rule that when changes are deployed, only 10% of customers can receive the new logic during a testing window. A customer must use the same version of the business logic during the testing window.

How should the company deploy the updates to meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B, as it allows for the deployment of the new logic to a separate target group while using weighted target groups in the ALB, enabling the company to control the traffic distribution effectively. Option A would require managing multiple ALBs, which complicates the setup. Option C does not provide the required traffic control during the testing window, and option D does not address the stickiness requirement effectively, potentially leading to inconsistent experiences for users.