Soru

Zorluk: KolayAmazon Route 53 DNS Configuration and Routing Policies

A company has migrated its marketing website to Amazon S3 and configured the bucket for static website hosting. The SysOps administrator must configure Amazon Route 53 so that users can access the website using the apex domain (cooldomain.net). Which DNS record configuration must the administrator create in Route 53 to meet this requirement?

  1. An A record configured as an Alias record pointing to the S3 bucket website endpointCevap
  2. B
    A CNAME record pointing to the S3 bucket website endpoint
  3. C
    A CNAME record configured with an active-passive failover routing policy pointing to the S3 bucket
  4. D
    An A record pointing directly to the public IP address of the Internet Gateway associated with the S3 bucket

Cevap

An A record configured as an Alias record pointing to the S3 bucket website endpoint
The correct answer is the configuration that uses an A record configured as an Alias record pointing to the S3 bucket website endpoint. Route 53 Alias records are a Route 53-specific extension that allows mapping the zone apex (the root domain) directly to supported AWS resources, such as S3 buckets, Application Load Balancers, or CloudFront distributions. This satisfies the requirement without violating the DNS protocol restriction that prohibits CNAME records at the zone apex.

Adım Adım Çözüm

1
Identify that the request is to route traffic from a zone apex (root domain, e.g., cooldomain.net) to an AWS resource (an Amazon S3 bucket configured for static hosting).
The target domain is the zone apex, which has strict DNS limitations regarding CNAME records.
DNS standards prohibit CNAME records at the root domain because the root domain must also contain NS and SOA records, and a CNAME cannot coexist with other records for the same name.
2
Determine the correct Route 53 record type to bypass this zone apex limitation for AWS resources.
Select an Alias record (specifically an A record type configured as an Alias).
Route 53 Alias records are query-time translations that allow mapping the zone apex directly to AWS resources (like S3 buckets) while conforming to DNS RFC specifications.
3
Point the Alias record to the specific S3 bucket website endpoint.
The DNS record resolves queries for the apex domain directly to the S3 bucket's IP addresses at runtime.
This enables seamless routing of the apex domain to the static website hosted on S3.

Anahtar Kavram

Amazon Route 53 Alias records bypass DNS RFC zone apex limitations for AWS resources.
Bu soruyu puanla