Cloud / Amazon Route 53 Interview questions
Last updated
1. What is Amazon Route 53?
Amazon Route 53 is AWS's managed Domain Name System (DNS) web service, named after TCP/UDP port 53, the port DNS runs on.
It translates human-readable names like example.com into the IP addresses that browsers and applications actually use to connect, serving answers from a global network of authoritative name servers rather than one location.
Route 53 bundles three jobs into a single service: domain registration, DNS routing through several routing policies, and health checking of endpoints so unhealthy resources can be pulled out of DNS answers automatically.
Because it integrates tightly with EC2, S3, CloudFront, and Elastic Load Balancing, it's the default DNS layer for most AWS-hosted applications.
Take quiz
The 53rd AWS Region that launched
TCP/UDP port 53, the port DNS uses
A random internal AWS project code
Identity management, billing, and support tickets
Domain registration, DNS routing, and health checking
Load balancing, compute, and object storage
2. What are the main features of Amazon Route 53?
Route 53's capabilities fall into four areas: domain management, authoritative DNS, traffic routing, and availability monitoring.
- Domain registration - buy, transfer, and auto-renew domain names directly through AWS.
- Authoritative DNS hosted zones - answer queries for your domains from a globally distributed name server network.
- Routing policies - simple, weighted, latency-based, failover, geolocation, geoproximity, and multivalue answer, each suited to a different problem.
- Health checks - active endpoint monitoring that can automatically remove unhealthy resources from DNS answers.
- Route 53 Resolver - recursive DNS resolution plus hybrid forwarding between VPCs and on-premises networks.
- DNSSEC and Application Recovery Controller - zone signing for authenticity, and API-driven multi-region failover.
Together these let one service handle everything from purchasing a domain to routing millions of queries per second with sub-minute failover.
Take quiz
Domain registration
Health checks
DNSSEC
Selling premium domain names
Signing DNS zones for integrity
Hybrid DNS resolution between VPCs and on-premises networks
3. What is a hosted zone in Route 53?
A hosted zone is a container that holds all the DNS records for a specific domain or subdomain, such as example.com.
When you create a hosted zone, Route 53 automatically assigns it four authoritative name servers drawn from four different top-level domains, so a single network failure can't take your DNS offline.
Every record you add - A, CNAME, MX, and so on - lives inside a hosted zone, and the zone's name server (NS) records are what you register with your domain's registrar so the internet knows Route 53 is authoritative for that domain.
Route 53 supports two kinds: public hosted zones, which answer queries from the internet, and private hosted zones, which only answer queries from VPCs you associate with them.
Take quiz
A container holding all DNS records for a domain or subdomain
A billing container for AWS invoices
A single IP address reserved for a domain
No name servers until a record is added
One name server for redundancy
Four authoritative name servers across different TLDs
4. What are the types of hosted zones in Route 53?
Route 53 supports two types of hosted zones, and picking the right one depends on who needs to resolve the domain.
| Public Hosted Zone | Private Hosted Zone |
| Answers DNS queries from anywhere on the internet. | Answers DNS queries only from VPCs you explicitly associate. |
| Used for public-facing websites and APIs. | Used for internal service discovery inside a private network. |
| Domain name doesn't need to be owned by the account creating records, but must be delegated via NS records. | Domain name can be anything, even a fake TLD like .internal, since it never resolves publicly. |
You can even create a public and a private hosted zone with the identical domain name - a pattern called split-view (or split-horizon) DNS - so internal clients get different answers than external ones for the same name.
Take quiz
Only one specific VPC
Only AWS Lambda functions
Anywhere on the internet
Zone apex flattening
Split-view (split-horizon) DNS
Multivalue routing
5. What is a record set in Route 53?
A record set (Route 53's term for a DNS resource record, or group of records sharing a name and type) defines how the service responds when a specific name is queried.
At minimum it needs a name, a record type such as A or CNAME, a routing policy, a TTL, and one or more values or targets.
When a routing policy other than Simple is used, several record sets can share the same name and type - for example, three weighted A records all answering for api.example.com - and Route 53's answer engine picks which one(s) to return based on the policy and current health check status.
Record sets are the actual working unit inside a hosted zone; the hosted zone is just the folder they live in.
Take quiz
A dedicated EC2 instance
A routing policy and TTL
A record type such as A or CNAME
The hosted zone is private
Using a routing policy other than Simple
DNSSEC is disabled
6. What are the types of DNS records supported by Route 53?
Route 53 supports the standard DNS record types plus its own Alias extension.
| Record Type | Purpose |
| A / AAAA | Maps a name to an IPv4 / IPv6 address. |
| CNAME | Maps a name to another name (not allowed at the zone apex). |
| Alias | Route 53-only extension mapping a name to an AWS resource, usable at the apex. |
| MX | Points a domain to mail servers, with priority values. |
| TXT / SPF | Arbitrary text, commonly used for domain verification and email authentication. |
| NS / SOA | Delegation and zone-authority metadata, created automatically per zone. |
| SRV / CAA / PTR / NAPTR / DS | Service discovery, certificate authority restriction, reverse lookup, telephony/URI mapping, and DNSSEC delegation signer records. |
Most application teams live almost entirely in A/AAAA, Alias, CNAME, MX, and TXT; the rest show up for specialized needs like DNSSEC or SIP.
Take quiz
Alias
CNAME
SRV
Restrict which certificate authorities may issue certs for a domain
Store the zone's serial number
Map a name to mail servers
7. What is the purpose of an Alias record in Route 53?
An Alias record lets a Route 53 record point directly at an AWS resource - like a CloudFront distribution, an Application Load Balancer, an S3 static website endpoint, or another record in the same hosted zone - instead of pointing at a hard-coded IP address.
Unlike a CNAME, an Alias can be created at the zone apex (the naked domain, e.g. example.com), because Route 53 resolves it internally and returns an A or AAAA record to the client rather than exposing a CNAME chain.
Alias queries to supported AWS targets are free of charge, and Route 53 automatically tracks the target's IP changes, so you never need to update the record when, say, a load balancer's underlying IPs rotate.
{ "Type": "A", "Name": "example.com", "AliasTarget": { "HostedZoneId": "Z35SXDOTRQ7X7K", "DNSName": "my-alb-1234567890.us-east-1.elb.amazonaws.com", "EvaluateTargetHealth": true } }
Take quiz
Apex records are always CNAMEs in Route 53
DNS forbids apex records entirely
Route 53 resolves it internally and returns an A/AAAA answer
Billed at double the standard rate
Only available in one AWS Region
Free of charge
8. What is TTL in a Route 53 record?
TTL (Time to Live) is the number of seconds a DNS resolver is allowed to cache a record's answer before it must ask Route 53 again.
A low TTL, like 60 seconds, means changes propagate to clients quickly but Route 53 fields more queries; a high TTL, like 86400 seconds (24 hours), reduces query volume and cost but means a bad record takes longer to fix everywhere.
A common practice before a planned migration is to lower the TTL well in advance, make the change once caches expire, then raise the TTL back up afterward.
Alias records are the one exception - Route 53 manages their effective TTL automatically based on the target resource, so you don't set one yourself.
Take quiz
Faster propagation but more queries hitting Route 53
Slower propagation of DNS changes
No change in caching behavior
Alias
TXT
MX
9. What are Route 53 routing policies?
A routing policy is the rule Route 53 uses to decide which value to return when several records share a name - it's what turns a plain DNS zone into a traffic-management tool.
| Policy | What it solves |
| Simple | One resource, one answer (or a random pick among several values). |
| Weighted | Split traffic by proportion, e.g. for canary releases. |
| Latency-based | Send users to the AWS Region with the lowest measured latency. |
| Failover | Active-passive routing driven by health checks. |
| Geolocation | Route by the geographic location of the querying user. |
| Geoproximity | Route by location of resources, adjustable with a bias. |
| Multivalue answer | Return up to 8 healthy values for client-side load spreading. |
These policies can also be combined hierarchically using Route 53 Traffic Flow, letting one visual policy nest several of the above together.
Take quiz
How much a domain costs to register
Which value(s) Route 53 returns when multiple records share a name
Whether DNSSEC is enabled
Simple
Failover
Weighted
10. Define Simple routing policy in Route 53?
Simple routing is the default policy: one record set answers for a name, typically pointing at a single resource with no health check logic involved.
If you list several values under one Simple record - for instance, four IP addresses in a single A record - Route 53 returns all of them in a random order, and it's up to the client which one it tries first; Route 53 itself doesn't check whether any of them are healthy.
It's the right choice for a single-server website, a static S3 bucket, or any name where you don't yet need traffic splitting, regional routing, or automated failover.
Take quiz
Returns only the first value listed
Checks health and returns only the healthy ones
Returns all values in random order with no health filtering
You're pointing one name at one resource with no traffic logic needed
You need to split traffic 90/10 for a canary release
You need active-passive multi-region failover
11. What is Weighted routing policy in Route 53?
Weighted routing lets you assign a relative weight, from 0 to 255, to each record sharing a name, and Route 53 returns each one in proportion to its share of the total weight.
If record A has weight 90 and record B has weight 10, roughly 90% of queries get A's answer and 10% get B's - useful for canary releases, blue/green cutovers, or gradually shifting traffic during a database migration.
Setting a record's weight to 0 stops new traffic from going to it without deleting the record, which is handy for temporarily draining a target.
// Two weighted records for api.example.com { "Name": "api.example.com", "Type": "A", "SetIdentifier": "v1", "Weight": 90, "TTL": 60, "ResourceRecords": [{"Value": "10.0.1.10"}] } { "Name": "api.example.com", "Type": "A", "SetIdentifier": "v2", "Weight": 10, "TTL": 60, "ResourceRecords": [{"Value": "10.0.2.10"}] }
Take quiz
50% of traffic goes to each
100% goes to whichever has the lower weight
90% of traffic goes to the first, 10% to the second
Doubles that record's traffic share
Deletes the record permanently
Stops new traffic without deleting the record
12. What is Latency-based routing in Route 53?
Latency-based routing sends each user to the AWS Region that historically gives the lowest network latency for their resolver's location, using Route 53's own latency measurements between AWS Regions and internet networks.
To use it, you create one latency record per Region pointing at that Region's endpoint, and Route 53 answers each query using the best-performing Region for that particular resolver - not necessarily the geographically nearest one, since network paths don't always follow geography.
It's commonly paired with health checks, so if the lowest-latency Region's resource becomes unhealthy, Route 53 skips it and returns the next-best-performing healthy Region instead.
Take quiz
Alphabetical order of Region names
Political/geographic borders only
Measured network latency, which may not match geographic distance
Health checks are ignored under latency routing
Latency routing stops working once a health check is attached
An unhealthy low-latency Region is skipped for the next-best healthy one
13. What is Failover routing policy in Route 53?
Failover routing implements a classic active-passive setup: one record is marked Primary and another Secondary, and Route 53 normally answers with the primary.
A health check attached to the primary record is what triggers the switch - once it reports unhealthy, Route 53 starts answering with the secondary instead, and switches back automatically once the primary recovers and stays healthy.
It's the standard pattern for disaster recovery: an active production Region as primary and a warm or pilot-light standby Region as secondary, with no manual DNS change needed during an incident.
Take quiz
The TTL simply expiring
The primary record's health check reporting unhealthy
A manually scheduled maintenance window
Splitting traffic evenly across five servers
Active-passive disaster recovery between two resources
A/B testing two UI designs
14. What is Geolocation routing policy in Route 53?
Geolocation routing answers a query based on where the requester is physically located - by continent, country, or in the US, by state - rather than on network performance.
Typical uses include serving localized content or pricing, restricting content to comply with licensing agreements, or blocking regions for regulatory reasons.
You can define a default record to catch any location you haven't explicitly mapped, which is important, because without one, users from an unmapped location get no answer at all (NXDOMAIN) rather than falling back to something reasonable.
Take quiz
The user's measured network latency
The AWS Region with lowest cost
The geographic location (continent/country/state) of the requester
Get no answer at all (NXDOMAIN)
Always resolve to the US record
Automatically fall back to the nearest Region
15. What is Geoproximity routing policy in Route 53?
Geoproximity routing routes traffic based on the geographic location of both your resources and your users, and - unlike geolocation - it lets you shift the boundary between regions using a bias value.
Increasing a resource's bias (0 to 99) expands the geographic area routed to it; decreasing it (0 to -99) shrinks that area, which makes it useful for gradually moving load away from a Region that's approaching capacity, without touching health checks or weights.
Geoproximity routing is only configurable through Route 53 Traffic Flow, not through simple record sets, because it needs the visual policy engine to calculate the resulting proximity boundaries.
Take quiz
It ignores resource location entirely
It can only be used with a single Region
It supports a bias value to expand or shrink a Region's coverage area
Route 53 Traffic Flow
Plain record sets in the console
The Route 53 Resolver console only
16. What is Multivalue answer routing policy?
Multivalue answer routing lets you attach a health check to each of several records sharing a name, and Route 53 returns up to eight healthy values in the response, chosen randomly each time.
It gives you DNS-level, client-side load spreading with basic failover - the client just tries whichever address it receives - but it's not a substitute for a real load balancer, since Route 53 doesn't do connection-level balancing or session stickiness.
It's a good fit when you want simple redundancy across a handful of endpoints without paying for or managing an Elastic Load Balancer.
Take quiz
Eight
Two
Unlimited
A CNAME record
A real load balancer doing connection-level balancing
A single Simple routing record
17. What is a health check in Route 53?
A Route 53 health check is an automated, recurring probe that determines whether an endpoint, another health check, or a CloudWatch alarm is in a healthy state.
Checks run from a fleet of global checker locations at an interval you set (standard is every 30 seconds, or every 10 seconds for an extra fee), and an endpoint is marked unhealthy once enough checkers agree it's failing.
Health status feeds directly into DNS answers for Failover, Weighted, Multivalue, and latency-based records - Route 53 filters out unhealthy targets before deciding what to return - and it can also publish CloudWatch metrics and trigger alarms independent of DNS.
Take quiz
Set the price of a domain
Encrypt DNS responses
Filter unhealthy targets out of DNS answers
Once per day
Every 30 seconds
Every 5 minutes
18. What are the types of health checks in Route 53?
Route 53 offers three categories of health check, each answering a different question about "is this healthy?"
| Type | What it checks |
| Endpoint health check | Probes an IP or domain over HTTP, HTTPS, or TCP, optionally matching a string in the response. |
| Calculated health check | Combines the status of up to 256 child health checks with AND/OR/NOT logic and a minimum healthy count. |
| CloudWatch alarm health check | Mirrors the state of a CloudWatch alarm, useful for checking things Route 53 can't reach directly, like an internal queue depth. |
Calculated health checks are especially handy for "at least 2 of 3 AZs must be healthy" style logic across a fleet, without wiring that logic into the application itself.
Take quiz
Only works with CloudWatch alarms
Combines multiple child health checks with logical rules
Probes a single endpoint over HTTP only
You need to check something Route 53 can't reach directly
You want to disable all health checking
You only ever have one endpoint to monitor
19. List the benefits of registering a domain through Route 53?
- Single AWS bill - domain charges appear alongside your other AWS usage instead of a separate vendor invoice.
- Automatic hosted zone creation - Route 53 creates a matching public hosted zone the moment registration completes.
- IAM and CloudTrail integration - domain and DNS changes are controlled by IAM policy and logged like any other AWS API call.
- Free WHOIS privacy protection - contact details are masked by default for most TLDs, at no extra cost.
- Auto-renewal - domains renew automatically unless you turn it off, reducing the risk of accidental expiration.
- Wide TLD selection - hundreds of top-level domains are supported through a single console and API.
The trade-off is that Route 53's registrar features (like bulk WHOIS management or advanced transfer tooling) are simpler than some dedicated registrars, so large domain portfolios sometimes stay with a specialist registrar even while using Route 53 for DNS.
Take quiz
A matching public hosted zone is created automatically
Manual hosted zone setup is required afterward
WHOIS privacy is a paid add-on for every TLD
Untraceable and unlogged
Controlled by IAM and logged in CloudTrail
Only changeable by AWS Support
20. What is Route 53 Resolver?
Route 53 Resolver is the recursive DNS resolver that's automatically available inside every VPC, reachable at the VPC's base network address plus two (for example, 10.0.0.2 for a 10.0.0.0/16 VPC).
By itself it handles standard lookups and private hosted zone resolution for resources in the VPC, but it can be extended with inbound and outbound endpoints to build hybrid DNS between AWS and on-premises networks, and with DNS Firewall to block queries to known-malicious domains.
It's a separate concept from public hosted zones - Resolver is about how resources inside a VPC ask DNS questions, while hosted zones are about how Route 53 answers questions about a domain.
Take quiz
Only after manually enabling it per VPC
Only in the us-east-1 Region
Automatically in every VPC, at the base address plus two
Register new top-level domains
Enable DNSSEC signing
Build hybrid DNS between AWS and on-premises networks
21. What is a private hosted zone in Route 53?
A private hosted zone holds DNS records that only resolve inside the VPCs you explicitly associate with it - queries from the public internet never see it.
Because it's invisible externally, the domain name doesn't even need to be a real, registered domain; teams often use a made-up internal suffix like .internal or .corp for service discovery between microservices.
A private hosted zone must be associated with at least one VPC in the same account it was created in before it can be associated with VPCs in other accounts, and all associated VPCs must use Route 53 Resolver (the default) for DNS resolution.
Take quiz
Only for AWS Support staff
Anywhere on the public internet
Only within VPCs explicitly associated with it
Must match the AWS account ID
Can be a made-up internal suffix since it's never resolved publicly
Must be a real, publicly registered domain
22. How do you associate a VPC with a private hosted zone?
The first VPC association happens automatically when you create the private hosted zone - you're required to specify one VPC and Region at creation time.
To add more VPCs in the same account, use the console or the AssociateVPCWithHostedZone API, supplying the hosted zone ID and the target VPC's ID and Region.
aws route53 associate-vpc-with-hosted-zone \ --hosted-zone-id Z1PA6795UKMFR9 \ --vpc VPCRegion=us-east-1,VPCId=vpc-0a1b2c3d4e5f6g7h8
Associating a VPC in a different AWS account is a two-step handshake: the zone's owner authorizes the target account and VPC first, then the target account calls the same API to complete the association.
Take quiz
Only after DNSSEC is enabled
Only via a support ticket
Automatically at zone creation time
The zone owner to authorize the account/VPC first, then the target account to associate
Making the hosted zone public first
No extra steps beyond a normal association
23. What is DNS query logging in Route 53?
Query logging captures the DNS queries that Route 53 receives for a public hosted zone and streams them to a CloudWatch Logs log group, giving visibility into which names are being queried, from where, and how often.
It's separate from Resolver query logging, which instead captures DNS queries made by resources inside a VPC (covering private hosted zones, public internet lookups from within the VPC, and Resolver rule forwarding) and can deliver to CloudWatch Logs, S3, or Kinesis Data Firehose.
Both are commonly used for security investigations, spotting misconfigured clients, and auditing which internal services actually talk to which domains.
Take quiz
CloudWatch Logs
An email inbox
Nowhere - it can't be logged
S3 and Kinesis Data Firehose
Only a physical printer log
Only Route 53 domain registration records
24. Describe the SOA record in a Route 53 hosted zone?
The Start of Authority (SOA) record is created automatically the moment you create a hosted zone, and every zone has exactly one.
It carries zone-level metadata rather than routing information: the primary name server, an administrator contact (formatted as an email address with the @ replaced by a dot), a serial number that increments on changes, and refresh, retry, expire, and minimum TTL values that secondary/caching resolvers use to decide how long to trust a negative (NXDOMAIN) answer.
You rarely edit it by hand in Route 53 - the main field admins sometimes tune is the minimum TTL, which controls how long resolvers cache the fact that a name doesn't exist.
Take quiz
None unless manually added
Exactly one, created automatically
One per record set in the zone
The domain's registration expiration date
How long a positive A record answer is cached
How long resolvers cache a negative (NXDOMAIN) answer
25. What is Route 53 Traffic Flow?
Traffic Flow is a visual policy editor and versioning system that lets you combine several routing policies into one nested decision tree, instead of manually wiring up multiple record sets by hand.
For example, a single traffic policy could first split by geoproximity between two Regions, then within each Region apply weighted routing across a canary and stable deployment, then fall back to a failover secondary if the primary's health check fails - all as one reusable, versioned policy.
A saved policy can be applied as a policy record to one or more hosted zones, and because policies are versioned, you can roll back to a previous version if a change causes problems.
Take quiz
A replacement for health checks
A tool for registering new domains in bulk
A visual editor for nesting multiple routing policies into one reusable policy
Only apply a policy to exactly one hosted zone ever
Never modify a policy once created
Roll back to a previous version if a change causes issues
26. What are Route 53 Profiles?
Route 53 Profiles let you define a standard DNS configuration once and apply it consistently across many VPCs, even across AWS accounts, instead of configuring each VPC individually.
A single Profile can bundle private hosted zone associations, Resolver forwarding rules, DNS Firewall rule groups, interface VPC endpoints, and Resolver query logging configuration; updating the Profile propagates the change to every associated VPC automatically.
Profiles can be shared with other accounts using AWS Resource Access Manager (RAM), and as of March 2026 they also support granular IAM permissions, so administrators can restrict which users may associate, disassociate, or update specific resource types within a Profile.
Take quiz
Store billing preferences for domain registration
Replace the need for hosted zones entirely
Apply a standard DNS configuration across many VPCs and accounts at once
AWS Resource Access Manager (RAM)
Manual email invitations
A public S3 bucket policy only
27. What is the difference between a public hosted zone and a private hosted zone?
The two share the same record types and mostly the same API, but they differ in who can resolve them and what they're used for.
| Public Hosted Zone | Private Hosted Zone |
| Visible to any DNS resolver on the internet. | Visible only to VPCs explicitly associated with it. |
| Domain must be delegated to Route 53's NS records at a registrar. | No public delegation needed; the domain name can even be fictitious. |
| Typical use: public websites, APIs, mail routing. | Typical use: internal microservice discovery, private endpoints. |
| Query logging goes to CloudWatch Logs only. | Query logging goes through Resolver query logging, with S3/Kinesis options. |
A single account can hold both a public and a private hosted zone for the identical name, which is the split-view DNS pattern - internal clients see private records, external clients see the public ones, and Route 53 keeps the answers completely separate.
Take quiz
Kept secret from the registrar
Associated with a VPC
Delegated to at a domain registrar so the internet can find them
Splitting traffic 50/50 with weighted routing
Using the same domain name in both a public and private hosted zone with different answers
Splitting one hosted zone into two smaller zones
28. What is the difference between a CNAME record and an Alias record?
Both point one name at another name, but they resolve differently and have different restrictions.
| CNAME | Alias |
| Standard DNS record type, works with any DNS provider. | Route 53-only extension, not a real record type on the wire. |
| Cannot be used at the zone apex (coexists poorly with required NS/SOA records). | Can be used at the zone apex. |
| Resolver must follow an extra hop to the target name. | Route 53 resolves the target server-side and returns an A/AAAA answer directly. |
| You set and manage the TTL yourself. | Route 53 manages the effective TTL for you. |
| Billed as a standard DNS query. | Free when pointed at supported AWS resources. |
The practical rule of thumb: use Alias whenever the target is an AWS resource Route 53 can recognize, and reserve CNAME for pointing at names outside AWS or outside your hosted zone's alias-eligible targets.
Take quiz
CNAME only
Neither
Alias only
Is resolved server-side by Route 53, returning A/AAAA directly
Cannot point at CloudFront or an ALB
Requires the client to follow an extra DNS hop
29. Why would you choose latency-based routing over weighted routing?
Choose latency-based routing when the goal is performance: you have the same application deployed in multiple Regions and want each user automatically sent to whichever deployment responds fastest for their network path.
Choose weighted routing instead when the goal is proportion, not performance - you want to control exactly what percentage of traffic hits a specific target regardless of latency, such as sending 5% of production traffic to a canary build or gradually shifting load during a database cutover.
The two aren't mutually exclusive: a common pattern nests weighted records for a canary release inside each Region, with latency-based routing choosing the Region first, via Route 53 Traffic Flow.
Take quiz
Controlling an exact traffic percentage regardless of speed
Restricting access by country
Sending each user to whichever Region responds fastest
Automatically measuring network latency per user
Precisely controlling what percentage of traffic hits each target
Blocking traffic from a specific country
30. How does Route 53 health check failover work?
Failover relies on a fleet of Route 53 health checkers spread across roughly 15-18 global locations, each independently probing the primary endpoint on the interval you configured.
An endpoint only flips to unhealthy once enough checkers agree it's failing - by default, at least 18% of checker locations must report failure, which prevents one flaky network path from triggering a false failover.
Once the health status changes, the DNS answer engine starts serving the secondary record instead of the primary at the next query; existing cached answers at resolvers only expire once their TTL runs out, so a low TTL on the primary record shortens real-world failover time.
sequenceDiagram
participant Checkers as Health Checkers
participant R53 as Route 53
participant Client
Checkers->>Primary: probe every N seconds
Primary-->>Checkers: timeout / error
Checkers->>R53: report unhealthy (>=18% agree)
R53->>R53: mark primary unhealthy
Client->>R53: DNS query
R53-->>Client: return Secondary record
Take quiz
A single checker reports one failed probe
Enough checkers, by default at least 18%, agree it's failing
The TTL expires, regardless of probe results
The number of hosted zones in the account
The domain's registration renewal date
The primary record's TTL, since cached answers persist until it expires
31. When should you use weighted routing instead of simple routing?
Reach for weighted routing the moment you need more than one answer behind a name and want control over the split - simple routing has no concept of proportion.
Typical triggers are canary releases (send 5% of traffic to a new version before a full rollout), blue/green cutovers (shift traffic from 100/0 to 0/100 over time), A/B testing two implementations, or validating a database migration with a small slice of live traffic before moving everyone.
If you only ever need one resource behind the name, or several resources that are all equally acceptable with no traffic-split requirement, simple routing (or multivalue, if you also want basic health-based filtering) is simpler to reason about and maintain.
Take quiz
A controlled percentage split between two or more resources
No control over traffic proportions between resources
Geographic restriction of content
Weighted routing
Simple routing
SOA record editing
32. What happens when a health check fails for a record using failover routing?
Once the attached health check reports the primary as unhealthy, Route 53 stops including the primary in its DNS answers and starts returning the secondary record instead - no manual DNS change or human intervention is required.
If the secondary also has a health check attached and it too is unhealthy, and there's no additional fallback record, clients get a failed lookup (effectively no usable answer) rather than a silent fallback to the primary, so most designs give the secondary either no health check or a check on a genuinely independent resource.
Route 53 also switches back to the primary automatically as soon as its health check reports healthy again, which is why teams often add a short delay or manual "pin" step in their runbooks before trusting an automatic switch-back during an active incident.
Take quiz
Deletes the primary record permanently
Automatically starts returning the secondary record
Requires a human to manually update the record
Route 53 always falls back to the primary anyway
The domain registration is suspended
Clients get a failed lookup rather than a silent fallback
33. Why is DNSSEC important for a Route 53 hosted domain?
DNSSEC adds cryptographic signatures to DNS responses so a resolver can verify that an answer really came from the zone's authoritative source and wasn't tampered with in transit - protecting against cache poisoning and DNS spoofing attacks.
Enabling it means Route 53 signs your zone's records with a Zone Signing Key, and you publish a Key Signing Key's fingerprint as a DS record with your registrar, forming a chain of trust up to the DNS root.
The trade-off is operational: signed responses are larger (occasionally triggering DNS-over-TCP fallback), and key rotation must be done carefully - if the DS record at the registrar and the keys in Route 53 ever fall out of sync, the entire domain can become unresolvable for validating resolvers.
Take quiz
Cache poisoning and DNS response spoofing
Slow DNS propagation
High Route 53 query costs
Have no real-world effect
Make the domain unresolvable for validating resolvers
Automatically fix itself within seconds
34. How do you migrate DNS records from another provider to Route 53?
Start by creating the hosted zone in Route 53, then bring in existing records either by pasting a BIND-format zone file using the console's Import Zone File feature, or by scripting ChangeResourceRecordSets calls from an exported record list.
Before touching anything at the registrar, lower the TTL on the records at the old provider well in advance (ideally a day or more), so caches expire quickly once you cut over.
Verify every record and TTL inside the new Route 53 hosted zone against the old provider, keep the old provider's zone active and untouched during the cutover window, and only then update the domain's NS records at the registrar to point at Route 53's four assigned name servers.
Keep monitoring both providers for a few days; once traffic and query logs confirm resolvers have switched over, decommission the old zone.
Take quiz
Lower TTLs at the old provider in advance so caches expire quickly
Immediately delete records at the old provider
Skip verifying records in the new hosted zone
Create the hosted zone
Update the domain's NS records at the registrar to Route 53's name servers
Enable DNSSEC
35. Why doesn't Route 53 allow a CNAME record at the zone apex?
This isn't a Route 53 quirk - it's a DNS protocol rule (RFC 1034/1035): if a name has a CNAME record, it can't have any other record type at that same name, but the zone apex (e.g. example.com) is required to hold NS and SOA records.
A CNAME at the apex would conflict directly with those mandatory records, so standard DNS forbids it, regardless of which provider you use.
Route 53's Alias record exists specifically to work around this: it isn't advertised on the wire as a CNAME at all, so it can legally coexist with the apex's NS and SOA records while still pointing at another name or AWS resource.
Take quiz
The DNS protocol itself (RFC rules on CNAME coexistence)
A billing restriction
A Route 53-specific limitation
It disables the SOA record
It's not advertised on the wire as a CNAME at all
It only works on subdomains, never claiming to be apex-safe
36. How does Route 53 Resolver forward queries between a VPC and an on-premises network?
Two purpose-built endpoint types handle the two directions of hybrid DNS traffic.
An outbound endpoint, paired with a forwarding rule for a specific domain, sends matching queries from inside the VPC out to your on-premises DNS servers over VPN or AWS Direct Connect.
An inbound endpoint does the reverse: it gives on-premises systems a set of IP addresses inside the VPC they can point their own DNS servers at, letting them resolve private hosted zones and other VPC-based names.
sequenceDiagram
participant OnPrem as On-Prem DNS
participant Inbound as Resolver Inbound EP
participant Outbound as Resolver Outbound EP
participant VPC as VPC Resolver
OnPrem->>Inbound: query for privatezone.internal
Inbound->>VPC: resolve via private hosted zone
VPC-->>OnPrem: answer
VPC->>Outbound: query for corp.example.com (forwarding rule match)
Outbound->>OnPrem: forward query
OnPrem-->>VPC: answer
Take quiz
Let on-premises systems query the VPC
Send matching VPC queries out to on-premises DNS servers
Register domain names
AWS Support access to your DNS logs
On-premises systems VPC-side IPs to send DNS queries to
The VPC a way to reach the public internet
37. Why should you use Route 53 Application Recovery Controller?
Standard DNS failover depends on health checks discovering a failure and TTLs expiring before clients see the new answer - both introduce delay and some uncertainty during a real incident.
Application Recovery Controller (ARC) instead gives you readiness checks that continuously verify your standby Region actually has enough capacity and matching configuration to take over, and routing controls - simple on/off switches, exposed over a highly available API, that you or an automated system can flip directly to redirect traffic deterministically.
ARC's safety rules also prevent operator mistakes, like accidentally turning off every Region's routing control at once, which is the kind of error that plain health-check-driven failover has no built-in protection against.
It's the right tool when a business genuinely needs faster, more certain, and better-tested failover than health checks alone can guarantee - critical payment or safety systems, for example - rather than for every workload by default.
Take quiz
That a standby Region has sufficient capacity and matching configuration
That a domain's WHOIS privacy is enabled
That DNSSEC keys have rotated
Speed up domain registration
Prevent operator mistakes like disabling every Region's routing control at once
Automatically lower DNS query costs
38. What is the difference between weighted routing and multivalue answer routing?
They can look similar since both let several records answer for one name, but they solve different problems.
| Weighted | Multivalue Answer |
| Purpose: control the proportion of traffic per resource. | Purpose: simple redundancy with client-side failover. |
| Health checks are optional. | Health checks are commonly attached to filter unhealthy targets. |
| Returns one chosen value per query, based on weight. | Returns up to eight healthy values per query. |
| Good for canaries, A/B tests, gradual cutovers. | Good for a cheap alternative to a load balancer across a few endpoints. |
In short: reach for weighted when you need to control a percentage; reach for multivalue when you just want several interchangeable, health-checked answers spread across queries.
Take quiz
Controlling traffic proportion across resources
Restricting content by country
Returning up to eight values per query
Domain transfer authorization codes
DNSSEC key rotation
Health checks to filter out unhealthy targets
39. How do you troubleshoot DNS propagation delays after updating Route 53 records?
First check the TTL that was in effect before your change - if it was high, resolvers that already cached the old answer will keep serving it until that TTL expires, regardless of what Route 53 now says.
Query the authoritative name servers directly with a tool like dig @ns-123.awsdns-45.com example.com to confirm Route 53 itself already has the new answer; if that's correct but public resolvers still show the old value, the delay is caching, not a Route 53 problem.
Also check that the domain's NS delegation at the registrar still exactly matches the hosted zone's four name servers - a stale or partial delegation can make some resolvers query a completely different, outdated zone.
Finally, remember that CDNs, corporate proxies, browsers, and OS-level DNS caches all add their own layers on top of resolver caching, so testing from an incognito window or a different network can rule those out individually.
Take quiz
A bug in Route 53's control plane
The domain being suspended
Resolver-side caching from the previous TTL
Immediately delete and recreate the hosted zone
Query the authoritative name servers directly
Disable DNSSEC
40. When would you choose geolocation routing over geoproximity routing?
Choose geolocation when the decision has to be about where the user legally or categorically is - serving different content by country for licensing reasons, complying with data-residency rules, or blocking a specific region entirely. It maps fixed, named locations to fixed answers.
Choose geoproximity when the goal is instead about shifting the balance of traffic between resource locations for performance or capacity reasons, using the bias value to expand or shrink coverage gradually - something geolocation's fixed country/state mapping can't do.
A simple test: if your requirement sounds like "users in France must always see the French version," that's geolocation; if it sounds like "gradually send more European traffic to our new Frankfurt Region," that's geoproximity.
Take quiz
A fixed, compliance-driven mapping like 'users in France always see the French version'
Splitting traffic 90/10 for a canary release
Gradually shifting traffic share between two Regions
Enable DNSSEC validation
Fix a permanent country-to-content mapping
Gradually expand or shrink a resource's traffic coverage area
41. What happens during a domain transfer into Route 53?
The domain must first be unlocked at its current registrar and, for most TLDs, an authorization (EPP/auth) code obtained from that registrar.
You initiate the transfer in the Route 53 console with that code, and the current registrant approves it via an email confirmation; ICANN-governed gTLDs require this manual approval step for security.
Existing DNS records don't automatically travel with the domain - if you want continuity, you create and populate a matching Route 53 hosted zone (or import a zone file) before or during the transfer window, so the domain isn't left without answers once it cuts over.
The transfer itself typically completes within about five to seven days, and ICANN rules place a 60-day transfer lock on a domain immediately after a transfer or new registration, during which it can't be transferred again.
Take quiz
Deleted at the old registrar first
Unlocked, with an authorization/EPP code obtained
Already hosted on Route 53 DNS
Are deleted permanently by ICANN
Must be recreated or imported into a Route 53 hosted zone separately
Move automatically with the domain
42. Why doesn't Route 53 charge for Alias queries to certain AWS resources?
Alias queries resolved to supported AWS targets - like an Application/Network/Classic Load Balancer, a CloudFront distribution, an S3 static website endpoint, an API Gateway, a VPC endpoint, or another record in the same hosted zone - are free specifically to encourage the AWS-native routing pattern Alias records enable.
Since Route 53 already has to track those targets' health and IP changes internally to serve correct answers, waiving the per-query charge removes any cost incentive to work around Alias in favor of a manually managed CNAME.
Standard DNS queries - including CNAMEs, and Alias records pointing at targets Route 53 can't recognize as AWS-managed - are still billed at the normal per-million-queries rate.
Take quiz
Queries resolved to supported AWS targets like ALBs, CloudFront, and S3 website endpoints
Every DNS query in every hosted zone
Only queries made from within the same AWS account
Reduce AWS's own infrastructure costs only
Comply with a legal requirement
Remove any cost incentive to avoid the AWS-native Alias pattern
43. How is Route 53 integrated with Amazon CloudWatch for monitoring?
Every health check automatically publishes a HealthCheckStatus metric to CloudWatch, so you can build dashboards and set standard CloudWatch alarms on endpoint health without any extra plumbing.
The integration also runs in the other direction: a CloudWatch alarm health check lets a Route 53 health check mirror the state of any existing alarm, which means you can drive DNS failover off metrics Route 53 itself has no direct visibility into, such as an application-level error rate or a queue depth.
Pairing a CloudWatch alarm with an SNS topic lets you get notified the moment a failover happens, independent of whatever DNS-level automation is already occurring.
Take quiz
A HealthCheckStatus metric to CloudWatch
A DNSSEC signing key
A new hosted zone
Replace the need for a hosted zone
Register a new domain automatically
Drive DNS failover off metrics Route 53 can't reach directly
44. What is the difference between a Resolver inbound endpoint and an outbound endpoint?
Both are Route 53 Resolver components for hybrid DNS, but they carry traffic in opposite directions.
| Inbound Endpoint | Outbound Endpoint |
| Lets on-premises or external systems send DNS queries into the VPC. | Lets resources inside the VPC send DNS queries out to external DNS servers. |
| Exposes a set of IP addresses inside the VPC to point external resolvers at. | Works together with a forwarding rule that specifies which domains to forward and where. |
| Used so on-prem systems can resolve private hosted zones. | Used so VPC resources can resolve on-prem-only domain names. |
A full hybrid setup typically uses both together: an outbound endpoint so cloud resources can reach corporate DNS, and an inbound endpoint so corporate systems can reach the VPC's private DNS.
Take quiz
Only between two Route 53 hosted zones
From outside the VPC in, toward VPC-based DNS
From inside the VPC out to on-premises DNS
A DNSSEC signing key
A forwarding rule specifying which domains to send where
A public hosted zone
45. How do you set up cross-account access to a private hosted zone?
The hosted zone's owning account starts by calling CreateVPCAssociationAuthorization, specifying the hosted zone ID and the target account's VPC ID and Region - this grants permission without yet creating the association.
aws route53 create-vpc-association-authorization \ --hosted-zone-id Z1PA6795UKMFR9 \ --vpc VPCRegion=us-west-2,VPCId=vpc-0abc123def456789
The target account then completes the link from its own side by calling AssociateVPCWithHostedZone with the same hosted zone and VPC IDs.
Once the association is active, the owning account can optionally call DeleteVPCAssociationAuthorization to close the door on the grant; note that only the owning account can add, edit, or delete records in the zone - associated accounts only get DNS resolution, not write access.
Take quiz
Making the hosted zone public temporarily
The target account associating the VPC directly with no prior step
The owning account calling CreateVPCAssociationAuthorization
Freely add or delete records in the zone
Resolve records in the zone but not edit them
Transfer the domain to itself
46. Explain the execution flow of a DNS query using Route 53 latency-based routing?
A client's stub resolver first asks its configured recursive resolver (an ISP resolver, a public one like 8.8.8.8, or a VPC's Route 53 Resolver) for app.example.com.
If that answer isn't already cached, the recursive resolver walks the DNS hierarchy: it asks a root server for the .com TLD servers, asks a .com TLD server for example.com's authoritative name servers, and finally sends the actual query to one of Route 53's authoritative servers for that hosted zone.
Route 53 sees that app.example.com has several latency records, one per Region, and identifies the recursive resolver's approximate network location from its source IP - not the end user's location directly, since the resolver is who's actually asking.
It consults its internally maintained latency measurements between AWS Regions and networks worldwide, filters out any Region whose attached health check is currently unhealthy, and returns the record for the lowest-latency healthy Region; that answer is then cached by the recursive resolver for the record's TTL and handed back to the client.
sequenceDiagram
participant Client
participant Resolver as Recursive Resolver
participant Root as Root/TLD Servers
participant R53 as Route 53 Authoritative NS
Client->>Resolver: query app.example.com
Resolver->>Root: find NS for example.com
Root-->>Resolver: Route 53 name servers
Resolver->>R53: query app.example.com
R53->>R53: pick lowest-latency healthy Region
R53-->>Resolver: Region X record (TTL cached)
Resolver-->>Client: answer
Take quiz
The recursive resolver's approximate network location
The end client's IP address directly
The domain's registration country
Always queries the root servers again itself
Filters out Regions whose health check is currently unhealthy
Ignores health check status entirely
47. Explain the internal working of Route 53 health checks and failover routing?
Behind every health check sits a fleet of geographically distributed checker nodes, each independently probing the target on the configured interval (30 or 10 seconds) using the protocol you chose - HTTP, HTTPS, or TCP - and optionally matching a string in the response body.
Each checker reports its individual pass/fail result back to a central aggregation system; the health check's overall status only flips once the fraction of checkers reporting failure crosses the configured threshold, which defaults to about 18% of checkers, guarding against one checker's local network issue causing a false failover.
That aggregated status is written to Route 53's internal health status store, typically within about 30 seconds of the threshold being crossed, and simultaneously published as a CloudWatch metric.
The DNS answer engine consults this status store at query time, not at probe time - so the moment a record's health check status flips, the very next incoming query for that name gets the updated answer, without needing to wait for anything except the resolver's own TTL-based cache to expire.
flowchart TD
A["Global checker nodes probe endpoint"] --> B{Failure threshold crossed?}
B -- No --> A
B -- Yes --> C["Aggregate status set to Unhealthy"]
C --> D["CloudWatch metric updated"]
C --> E["DNS answer engine consults status at query time"]
E --> F["Next query returns Secondary/backup record"]
Take quiz
A simple majority vote of two checkers
Whichever checker reports first
A configurable failure-percentage threshold, defaulting to about 18%
Only after the hosted zone is recreated
Only once per day on a fixed schedule
At query time, so the next incoming query reflects it
48. How can you optimize DNS resolution latency using Route 53?
Prefer Alias records over CNAMEs wherever the target supports it - Alias removes an entire extra DNS lookup hop since Route 53 resolves the target server-side and answers with A/AAAA directly.
Use latency-based or geoproximity routing (rather than a single static endpoint) so users are automatically sent to whichever healthy Region actually responds fastest for their network path, instead of a fixed, potentially distant, default.
Tune TTLs deliberately: very low TTLs maximize how current an answer is but force more repeated lookups, so pick a TTL that matches how often the underlying answer realistically changes rather than defaulting to a single value everywhere.
Keep health check intervals fast enough (10-second checks, where the added cost is justified) that failover happens quickly, since a slow-to-detect failure adds directly to the latency users experience during an incident, and combine this with CloudFront in front of latency-sensitive HTTP workloads, since CloudFront's own anycast edge network often shaves more real latency off a request than DNS routing alone ever can.
Take quiz
They always use a larger TTL
They remove an extra DNS lookup hop
They bypass DNSSEC entirely
Detecting failures sooner, reducing time spent routing to a dead endpoint
Reducing the domain's registration cost
Automatically lowering TTLs
49. Explain the lifecycle of a domain registration and renewal in Route 53?
The lifecycle starts with an availability check and purchase - registration periods run from one to ten years depending on the TLD - after which Route 53 automatically applies WHOIS privacy protection (for most TLDs) and a registrar lock to prevent unauthorized transfers.
A matching public hosted zone is created automatically, and auto-renew is enabled by default so the domain doesn't lapse silently; you'll get renewal reminder emails beginning roughly 45-60 days before expiration.
If a domain isn't renewed, most TLDs enter a grace period after expiration - commonly around 30-45 days for .com-style TLDs - where you can still renew it yourself before it moves into a longer, more expensive redemption phase, and finally into pending-delete before it's released back to the public.
flowchart LR
A["Search & Purchase"] --> B["Privacy protection + registrar lock applied"]
B --> C["Hosted zone auto-created"]
C --> D["Active, auto-renew enabled"]
D -->|Renewed in time| D
D -->|Missed renewal| E["Grace period"]
E -->|Renewed| D
E -->|Not renewed| F["Redemption period, higher fee"]
F -->|Not redeemed| G["Pending delete, then released publicly"]
Take quiz
A permanent, non-renewable registration
Automatic DNSSEC signing with no configuration
WHOIS privacy protection and a registrar lock
A permanent suspension with no recovery option
A grace period, then redemption, then pending delete
Immediate public release with no grace period
50. How do you design a multi-region active-active failover architecture using Route 53 Application Recovery Controller?
Start by defining a recovery group that represents the application, containing one cell per Region, and configure readiness checks inside each cell to continuously confirm that Region has the capacity, configuration, and dependent resources needed to actually serve production traffic - not just that its servers are technically running.
Create a routing control per Region, exposed through ARC's highly available data plane, and wire each one into a Route 53 health check of type "Recovery Control" attached to that Region's DNS record - so flipping the routing control, rather than waiting for an organic health check failure, is what actually changes which Region(s) receive traffic.
Layer weighted or failover routing on top of those records depending on whether the goal is active-active load sharing or active-passive standby, and define safety rules that block invalid states, such as disabling every Region's routing control simultaneously or turning on a Region that failed its readiness check.
Finally, practice the actual failover regularly, either through scheduled game days or ARC's own zonal-shift capability for smaller, faster, AZ-level shifts that don't require a full regional cutover, so the control plane and your runbooks stay validated rather than untested until a real incident forces the first real use.
flowchart TD
RG["Recovery Group"] --> C1["Cell: Region A"]
RG --> C2["Cell: Region B"]
C1 --> RC1["Routing Control A"]
C2 --> RC2["Routing Control B"]
RC1 --> HC1["Route 53 Recovery-Control Health Check A"]
RC2 --> HC2["Route 53 Recovery-Control Health Check B"]
HC1 --> DNS["Weighted/Failover DNS Records"]
HC2 --> DNS
SR["Safety Rules"] -.blocks invalid combos.-> RC1
SR -.blocks invalid combos.-> RC2