A new website will run on Amazon EC2 instances behind an Application Load Balancer.Amazon Route 53 will be used to manage DNS records.What type of record should be set in Route 53 to point the website’s apex domain name (for example, `company.com`) to the Application Load Balancer?
CNAME
SOA
TXT
ALIAS
Explanations:
A CNAME record cannot be used for apex domain names (e.g., company.com) because it would conflict with other necessary DNS records such as NS and SOA.
SOA (Start of Authority) records define authoritative information about a domain, but are not used to point a domain to an Application Load Balancer.
TXT records are used to store text data, commonly for verification or policy purposes, and cannot point a domain to an Application Load Balancer.
An ALIAS record in Route 53 is specifically designed to point apex domain names to AWS resources like an Application Load Balancer without causing issues with other DNS records.