What is the main purpose of a hosted zone in AWS Route 53?
Think about what DNS does for a domain name.
A hosted zone in AWS Route 53 is a container that holds DNS records for a domain. These records tell the internet where to send traffic for that domain.
You want to create DNS records that are only accessible within your private AWS network (VPC). Which type of hosted zone should you create?
Consider where the DNS records should be visible.
A private hosted zone is used to create DNS records that are only visible inside one or more specified VPCs, keeping them private within your AWS network.
What happens to the DNS resolution of a domain if you delete its hosted zone in AWS Route 53?
Think about what DNS needs to resolve a domain.
Deleting a hosted zone removes all DNS records for that domain, so DNS resolution fails because there is no information to direct traffic.
Which AWS feature should you use to restrict which users can create or modify records in a private hosted zone?
Think about controlling user permissions.
IAM policies allow you to control which users or roles can create, update, or delete DNS records in hosted zones, including private ones.
In AWS Route 53, what is a key difference between alias records and standard CNAME records within a hosted zone?
Consider cost and integration with AWS services.
Alias records can point directly to AWS resources like load balancers or S3 buckets and do not incur additional DNS query charges. CNAME records point to domain names and may incur charges.