Which type of record should be used to meet these requirements?
An AAAA record for the domain’s zone apex
An A record for the domain’s zone apex
A CNAME record for the domain’s zone apex
An alias record for the domain’s zone apex
Explanations:
An AAAA record is used to map a domain to an IPv6 address, but it is not applicable for the zone apex in this context, especially when pointing to a load balancer.
An A record can point a domain to an IPv4 address, but it cannot directly point to an Application Load Balancer. It is less flexible compared to an alias record.
A CNAME record cannot be used at the zone apex. DNS specifications prohibit CNAME records at the root domain level because they would conflict with other records.
An alias record can be used at the zone apex to point to an Application Load Balancer, allowing for seamless integration without needing an IP address.