You must set up Route 53 records so that example.com and www.example.com resolve to an Application Load Balancer. Which pair of actions should you take to accomplish this? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create an alias record for example.com that targets the ALB’s DNS name (CNAME)., Create an alias record for www.example.com that points to the example.com record in Route 53..
Why this is the answer
To resolve example.com to an Application Load Balancer (ALB), you must use an alias record. An A record for a root domain (example.com) cannot point directly to an ALB's IP address because ALBs are dynamic and their IP addresses can change. Alias records allow you to map your domain to AWS resources like ALBs, providing a stable target via their DNS name. Therefore, creating an alias record for example.com that targets the ALB's DNS name is correct. For www.example.com, you can create another alias record that points to the example.com record. This simplifies management, as both subdomains effectively resolve to the same underlying resource without needing to update multiple records if the ALB changes. Creating A records pointing to an ALB's IP is incorrect due to the dynamic nature of ALB IPs. Creating a CNAME for the root domain (example.com) is generally not recommended as it conflicts with other records for the root domain.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed