Route 53 ALB Listener Rule for Dev Instance Access
Short answer
A Create an A Record for the development website that has the value set to the ALB. Create a listener rule on the ALB that forwards requests for the development website to the target group that contains the development instance.
Question
Key Takeaways
The core concept is leveraging ALB listener rules to direct traffic based on domain names, avoiding manual DNS updates when underlying instances change.
This question addresses how to route specific traffic to a development environment using an Application Load Balancer and Route 53. It establishes that listener rules on the ALB provide the necessary isolation and automation.
Common mistake: Option B is incorrect because it relies on a static public IP address, which fails the requirement for automatic routing upon instance replacement.
Expert Analysis
Why the Answer Is Correct
Option A correctly uses an Application Load Balancer (ALB) as the entry point via a Route 53 A record. By creating a listener rule that matches the development hostname, the ALB can forward traffic to a dedicated target group containing only the development instance. This architecture ensures that if the development instance is replaced, the new instance is registered in the target group, and the ALB automatically routes traffic to it without any DNS changes.
Why the Other Options Are Wrong
Option B creates a single A record pointing directly to the EC2 instance's public IP. This violates the requirement for automatic routing because public IPs are dynamic; replacing the instance requires manually updating the DNS record. Option C suggests redirecting to a public IP, which is inefficient and still suffers from the same static IP issue as B. Option D places all instances in one target group, meaning the listener rule cannot isolate development traffic from production traffic, leading to engineers potentially accessing production data.
Community Comment Notes
Community consensus strongly favors Option A. Users note that Option A is cleaner and simpler than Option C, which involves unnecessary redirection. Commenters highlight that pointing directly to an IP (Option B) breaks the 'automatic' requirement, while Option D lacks the necessary traffic isolation between dev and prod environments.
Exam Strategy
Always look for managed services like ALBs or CloudFront when you need to decouple DNS from underlying infrastructure changes. If the requirement mentions 'automatic' handling of instance replacements, avoid options that reference static IP addresses.
Frequently Asked Questions
Why not use a CNAME record instead of A record?
Can I use Network Load Balancer here?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 7 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 7
-
Mikado211 👍 7Both A and C look correct but with the C you pass through the ALB to be redirected to a public IP (so go outside) to come back again through this public IP which is not ideal. The answer A is much cleaner and simplier with a dedicated target group and a listener rule pointing it.
-
gdf54634 👍 6 Answered AShould be A as it points to the target group for easy replacement etc
-
Scheldon 👍 3 Answered AAnswerA, With ALB which will point to appopriate dev group we will be able easy to create HA for dev servers.
-
Cpso 👍 2 Answered AA.But not totally correct. ALB IP can be change. should use CNAME record.
-
LeonSauveterre 👍 1 Answered AB - If the development instance is replaced, the public IP address changes, requiring manual DNS updates in Route 53. C - The ALB listener rule cannot directly redirect traffic based on the instance's public IP address without using a target group. D - Without traffic isolation, you could easily route requests for the development website to production instances. Dangerous and just plain wrong.
Show 2 more comments
-
JA2018 👍 1 Answered ABy setting the A Record to point to the ALB, you ensure that even if the development instance is replaced, the DNS record will still direct traffic to the correct target group which contains the new development instance, maintaining accessibility for engineers.
-
asdfcdsxdfc 👍 2 Answered AI think its A
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →