AWS Certified Solutions Architect – Associate (SAA-C03) — Question 780

A solutions architect runs a web application on multiple Amazon EC2 instances that are in individual target groups behind an Application Load Balancer (ALB). Users can reach the application through a public website.

The solutions architect wants to allow engineers to use a development version of the website to access one specific development EC2 instance to test new features for the application. The solutions architect wants to use an Amazon Route 53 hosted zone to give the engineers access to the development instance. The solution must automatically route to the development instance even if the development instance is replaced.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Option A is correct because routing traffic through the ALB to a dedicated target group ensures high availability and abstraction; if the development instance is replaced, the Auto Scaling group or administrator can register the new instance to the same target group, and the ALB will automatically forward traffic to it. Options B and C are incorrect because hardcoding or redirecting to a specific public IP address will fail when the instance is replaced and receives a new IP. Option D is incorrect because putting all instances in a single target group would distribute development traffic across both production and development instances instead of isolating it to the development instance.