Q56 — AWS DVA-C02 Ch.1

Question 56 of 100 | ← Chapter 1

A company operates an image storage web application on AWS. The application runs on Amazon EC2 instances in an Auto Scaling group, which serves as the target group for an Application Load Balancer (ALB). The company uses an Amazon S3 bucket to store images for sale. The company wants to develop a feature to test system requests, routing them to a separate target group hosting a new beta version of the application. Which solution meets this requirement with minimal effort?

Correct Answer: A. Create a new Auto Scaling group and target group for the beta version. Update the ALB routing rules with a condition to look for a cookie named 'version' with value 'beta'. Update the test system code to send this cookie to test the beta version.

Explanation

This solution enables routing requests to a separate target group hosting the new beta application version without requiring a new ALB or additional services like Amazon Route 53 or Amazon CloudFront. Compared to Option A, Option D adds unnecessary complexity and effort; Option A only requires updating the ALB routing rules with a condition checking for a 'version=beta' cookie and updating test system code to include that cookie when testing the beta version.