Amazon Route 53

A managed, authoritative DNS — plus a domain registrar and a health-check engine. Its real job on the exam isn't "name → IP"; it's deciding which IP to answer with: closest region, healthy endpoint, weighted split, by geography. The name is a nod to the DNS port, 53.

Một DNS có thẩm quyền, quản lý sẵn — kèm đăng ký domain và một bộ máy health-check. Việc thật của nó trong đề không phải "tên → IP"; mà là quyết định trả về IP nào: region gần nhất, endpoint khỏe, chia theo trọng số, theo địa lý. Tên "53" là nhắc tới cổng DNS 53.

Two exam pillars stand out: the Alias record (the AWS-native answer to "point the root domain at an ELB/CloudFront") and the routing policies (simple, weighted, latency, failover, geolocation, geoproximity, multi-value, IP-based) — usually wired to health checks for automatic DNS failover. Then Route 53 Resolver handles hybrid DNS with on-premises.

Hai trụ cột trong đề nổi bật: bản ghi Alias (đáp án AWS-native cho "trỏ root domain vào ELB/CloudFront") và routing policy (simple, weighted, latency, failover, geolocation, geoproximity, multi-value, IP-based) — thường gắn với health check để tự failover DNS. Rồi Route 53 Resolver lo hybrid DNS với on-premises.

Records — the four you must recogniseBản ghi — bốn loại phải nhận ra

A hosted zone is a bag of records. Each record has a name, a type, a value, and (usually) a TTL. Only four types show up on this exam. Một hosted zone là một túi các record. Mỗi record có tên, loại, giá trị, và (thường) một TTL. Chỉ bốn loại xuất hiện trong đề.

A Maps a hostname → IPv4. e.g. example.com → 54.22.33.44.Ánh xạ hostname → IPv4. Ví dụ example.com → 54.22.33.44.
AAAA Maps a hostname → IPv6.Ánh xạ hostname → IPv6.
CNAME Maps a hostname → another hostname (must have its own A/AAAA). Not at the zone apex.Ánh xạ hostname → hostname khác (đích phải có A/AAAA riêng). Không ở zone apex.
NS Name servers for the hosted zone — they control how traffic is routed for the domain.Name server của hosted zone — chúng điều khiển cách định tuyến traffic cho domain.
An A-record lookup. A client asks Route 53 "example.com?" and Route 53 answers with the IPv4 address 54.22.33.44. The client then connects directly to an EC2 instance in the AWS cloud whose public IP is 54.22.33.44. Client Amazon Route 53 authoritative DNS example.com? A 54.22.33.44 AWS Cloud EC2 instance public IP 54.22.33.44 connect to the IP it got back

DNS only tells the client where to go; the client then talks to the resource directly. Route 53's cleverness is entirely in which value it returns.

DNS chỉ nói cho client biết đi đâu; sau đó client tự nói chuyện thẳng với tài nguyên. Cái khôn của Route 53 nằm hết ở chỗ trả về giá trị nào.

Alias vs CNAME — the apex trapAlias vs CNAME — bẫy ở apex

AWS resources give you an ugly hostname (lb1-1234.us-east-2.elb.amazonaws.com) and you want mydomain.com to point at it. A CNAME can do it for a subdomain but not the root. An Alias is the Route 53-only record that works at the root, is free, and tracks the target automatically. Tài nguyên AWS cho bạn một hostname xấu (lb1-1234.us-east-2.elb.amazonaws.com) và bạn muốn mydomain.com trỏ vào đó. CNAME làm được cho subdomain nhưng không cho root. Alias là record riêng của Route 53, dùng được ở root, miễn phí, và bám theo target tự động.

CNAME Alias
Points toTrỏ tới any hostnamebất kỳ hostname an AWS resourcetài nguyên AWS
Root / apex (mydomain.com)Root / apex (mydomain.com) ✗ non-root only (something.mydomain.com)✗ chỉ non-root (something.mydomain.com) ✓ root and non-root✓ cả root lẫn non-root
CostChi phí charged as a querytính như một query free of chargemiễn phí
TTLTTL you set itbạn tự đặt set automatically by Route 53Route 53 tự đặt
Health checkHealth check —— nativenative
Record typeLoại record CNAMECNAME an A / AAAA flagged "Alias"một A / AAAA gắn cờ "Alias"
Alias record targets — and the one exceptionĐích của Alias — và ngoại lệ duy nhất You can Alias to: ELB, CloudFront, API Gateway, Elastic Beanstalk environments, S3 website endpoints, VPC interface endpoints, Global Accelerator, and another Route 53 record in the same hosted zone. The trap: you cannot set an Alias to an EC2 DNS name — for a bare EC2 instance, use a plain A record to its IP. Alias trỏ được tới: ELB, CloudFront, API Gateway, môi trường Elastic Beanstalk, endpoint S3 website, VPC interface endpoint, Global Accelerator, và một record Route 53 khác trong cùng hosted zone. Bẫy: không Alias được tới tên DNS của EC2 — với một EC2 trần, dùng A record thường trỏ vào IP.
Why CNAME can't sit at the apex — the real reasonVì sao CNAME không nằm được ở apex — lý do thật It's a DNS-standard rule, not an AWS limit. The zone apex (the bare root name, example.com, with no subdomain prefix) must carry the zone's mandatory SOA and NS records — they're what define the zone's existence. But a CNAME forbids any other record of a different type at the same name (RFC 1034 / 2181). CNAME + mandatory SOA/NS = a contradiction, so the standard bans it. On a subdomain like www.example.com there's no forced SOA/NS, so CNAME is fine there. Đây là luật của chuẩn DNS, không phải giới hạn của AWS. Zone apex (tên root trần, example.com, không có tiền tố subdomain) bắt buộc phải mang record SOA và NS của zone — chúng định nghĩa sự tồn tại của zone. Nhưng CNAME cấm mọi record loại khác ở cùng một tên (RFC 1034 / 2181). CNAME + SOA/NS bắt buộc = mâu thuẫn, nên chuẩn cấm. Ở subdomain như www.example.com không có SOA/NS bắt buộc, nên CNAME thoải mái.
Why a CNAME is illegal at the zone apex. On the left, the zone apex example.com is required to hold SOA and NS records. Adding a CNAME there conflicts, because a CNAME forbids any other record at the same name, so it is rejected. On the right, a subdomain www.example.com has no required SOA or NS, so a CNAME to another hostname is allowed. Below, the Alias workaround: at the apex, Route 53 stores an A slash AAAA flagged Alias, resolves the target to real IPs on the server side, and returns A slash AAAA to the client, coexisting with SOA and NS. zone apex · example.com SOA ✓ NS ✓ CNAME ✗ CNAME cấm record khác cùng tên → xung đột subdomain · www.example.com CNAME → lb-123.elb.amazonaws.com ✓ không có SOA/NS bắt buộc → hợp lệ Alias workaround @ apex: A/AAAA (flag: Alias) resolve returns real IPs · coexists with SOA/NS

Alias sidesteps the whole problem: it's an A/AAAA record (not a CNAME), so it lives happily beside SOA/NS at the apex while Route 53 resolves the target to IPs server-side.

Alias né trọn vấn đề: nó là record A/AAAA (không phải CNAME), nên sống hòa bình cạnh SOA/NS ở apex, còn Route 53 resolve target ra IP ở phía server.

Same trick, other providers: Alias ≈ CNAME flatteningCùng mẹo, nhà cung cấp khác: Alias ≈ CNAME flattening Every managed DNS provider has this workaround, because the apex rule is universal. They all do the same thing — accept a CNAME-like target at the apex but return A/AAAA to clients (an actual CNAME never travels on the wire at the apex, so it stays standard-compliant). It only works because the provider is the authoritative name server for the zone. Nhà cung cấp DNS quản lý nào cũng có cách lách này, vì luật apex là phổ quát. Tất cả làm cùng một việc — nhận target kiểu-CNAME ở apex nhưng trả về A/AAAA cho client (một CNAME thật không bao giờ đi trên dây ở apex, nên vẫn đúng chuẩn). Chỉ chạy được vì nhà cung cấp là name server có thẩm quyền cho zone.
ProviderNhà cung cấp Name for itTên gọi Under the hoodBản chất
Route 53 AliasAlias A/AAAA flagged Alias; resolves the AWS resource server-sideA/AAAA gắn cờ Alias; resolve tài nguyên AWS phía server
Cloudflare CNAME FlatteningCNAME Flattening you type a CNAME at the root; it flattens to A/AAAA on the serverbạn gõ CNAME ở root; server "làm phẳng" thành A/AAAA
DNSimple ALIASALIAS same idea — resolve target, return A/AAAAcùng ý tưởng — resolve target, trả về A/AAAA
DNS Made Easy · NS1 ANAMEANAME same idea — resolve target, return A/AAAAcùng ý tưởng — resolve target, trả về A/AAAA
TTL is mandatory — except for AliasTTL bắt buộc — trừ Alias Clients cache a record for its TTL. High TTL (e.g. 24 h) = less load/cost on Route 53 but stale records linger; low TTL (e.g. 60 s) = more queries ($$) but changes propagate fast. You must set a TTL on every record except Alias, where Route 53 manages it for you. Client cache một record trong khoảng TTL. TTL cao (vd 24 giờ) = ít tải/chi phí trên Route 53 nhưng record cũ tồn lâu; TTL thấp (vd 60 giây) = nhiều query ($$) nhưng thay đổi lan nhanh. Phải đặt TTL cho mọi record trừ Alias, nơi Route 53 tự quản.

Routing policies — the exam's centre of gravityRouting policy — trọng tâm của đề

"Routing policy" here means how Route 53 picks the answer to a query — it does not route traffic itself. Match the scenario keyword to the policy. Most can attach health checks; Simple can't. "Routing policy" ở đây nghĩa là Route 53 chọn câu trả lời cho query như thế nào — nó không tự định tuyến traffic. Khớp từ khóa của tình huống với policy. Đa số gắn được health check; Simple thì không.

PolicyPolicy Picks the answer by…Chọn câu trả lời theo… Health check?Health check?
SimpleSimple one resource (or multiple values, client picks one at random)một tài nguyên (hoặc nhiều giá trị, client chọn ngẫu nhiên) ✗ no✗ không
WeightedWeighted % split across resources (70/20/10) — canary, blue-green, region balancingchia % giữa các tài nguyên (70/20/10) — canary, blue-green, cân region ✓ yes✓ có
LatencyLatency lowest latency between user and AWS Region (not geography!)latency thấp nhất giữa user và Region AWS (không phải địa lý!) ✓ yes✓ có
FailoverFailover active-passive: primary while healthy, else secondaryactive-passive: primary khi khỏe, hỏng thì secondary ✓ mandatory✓ bắt buộc
GeolocationGeolocation user location (continent / country / US state) — add a Defaultvị trí user (châu lục / quốc gia / bang Mỹ) — thêm Default ✓ yes✓ có
GeoproximityGeoproximity location of users and resources, shiftable by bias — needs Traffic Flowvị trí user và tài nguyên, dịch được bằng bias — cần Traffic Flow ✓ yes✓ có
Multi-ValueMulti-Value returns up to 8 healthy records — not a substitute for an ELBtrả về tối đa 8 record khỏe — không thay được ELB ✓ yes✓ có
IP-basedIP-based client's IP / CIDR → a chosen endpoint (e.g. route an ISP's users)IP / CIDR của client → endpoint đã chọn (vd định tuyến user của một ISP) ✓ yes✓ có
Failover routing, active-passive. A client sends DNS requests to Route 53. Route 53 runs a mandatory health check on the primary EC2 instance. While the primary is healthy, Route 53 answers with the primary. If the health check fails, Route 53 fails over and answers with the secondary EC2 instance, which is the disaster-recovery standby. Client Amazon Route 53 failover policy DNS requests EC2 — Primary healthy → used EC2 — Secondary DR standby health check (mandatory) failover if primary unhealthy

Failover is the one policy where a health check is required — the whole point is to stop answering with the primary once it fails.

Failover là policy duy nhất mà health check bắt buộc — cả mục đích là ngừng trả về primary khi nó hỏng.

Geoproximity bias. Two AWS regions, us-west-1 on the left and us-east-1 on the right, with users spread across the middle. With bias 0 on both, a vertical line down the centre splits users evenly between the two regions. When us-east-1's bias is raised to 50, its region of influence expands westward across the line, so more of the central users are now routed to us-east-1. bias resizes a region's zone of influence — it doesn't move the region bias 0 / 0 — even split us-west-1 us-east-1 us-east-1 bias 50 — pulls the line west us-west-1 us-east-1 (bigger) expand +1…+99 · shrink −1…−99 · requires Route 53 Traffic Flow resources = AWS Region, or non-AWS by latitude/longitude

Geoproximity ≠ Geolocation. Geolocation routes purely by where the user is; geoproximity also weighs where the resources are and lets you tilt the split with a bias. That bias knob is the exam tell — and it only works through Traffic Flow.

Geoproximity ≠ Geolocation. Geolocation định tuyến thuần theo user ở đâu; geoproximity còn cân nhắc tài nguyên ở đâu và cho bạn nghiêng tỉ lệ bằng bias. Cái núm bias đó là dấu hiệu trong đề — và chỉ chạy qua Traffic Flow.

Latency vs Geolocation vs Geoproximity — don't mix them upLatency vs Geolocation vs Geoproximity — đừng lẫn Latency = fastest network path to a Region (a German user might land in the US if it's quicker). Geolocation = a hard rule by user location (localization, content restriction, licensing). Geoproximity = distance-based with a tunable bias to shift load between regions. Latency = đường mạng nhanh nhất tới một Region (user Đức có thể vào Mỹ nếu nhanh hơn). Geolocation = luật cứng theo vị trí user (bản địa hóa, chặn nội dung, bản quyền). Geoproximity = theo khoảng cách với bias chỉnh được để dịch tải giữa các region.
Multi-Value is not a load balancerMulti-Value không phải load balancer Multi-Value returns up to 8 healthy records and the client picks one — client-side spreading with health awareness. It has no traffic shaping, no connection draining, no single entry point. When the question wants real load balancing, the answer is an ELB, not Multi-Value. Multi-Value trả về tối đa 8 record khỏe và client tự chọn — phân tán phía client có biết health. Nó không có định hình traffic, không draining, không điểm vào duy nhất. Khi đề muốn cân bằng tải thật, đáp án là ELB, không phải Multi-Value.

Hosted zones — public vs privateHosted zone — public vs private

A hosted zone is a container of records for a domain and its subdomains. Public zones answer names on the internet; private zones answer names inside your VPCs (e.g. db.example.internal) and are invisible to the outside world. Hosted zone là container các record cho một domain và subdomain của nó. Zone public trả lời tên trên internet; zone private trả lời tên trong VPC của bạn (vd db.example.internal) và vô hình với bên ngoài.

Public versus private hosted zones. On the left, a public hosted zone: an internet client asks example.com and gets a public IP, resolving to public resources like an S3 bucket, CloudFront, or a public-IP EC2 instance and Application Load Balancer inside a VPC. On the right, a private hosted zone bound to a VPC: an EC2 instance inside the VPC asks db.example.internal and the private hosted zone answers with a private IP like 10.0.0.35, reaching an RDS instance — resolvable only from within the VPC. Public hosted zone Private hosted zone (per VPC) internet client public zone example.com? 54.22.33.44 S3 · CloudFront · public-IP EC2 · ALB VPC EC2 instance private zone example.internal db? RDS instance 10.0.0.35 private IP only private DNS requires VPC settings enableDnsHostnames + enableDnsSupport DNSSEC works only with Public Hosted Zones

Same records concept, two audiences. Public = the internet resolves it; private = only the associated VPC(s) resolve it. A private zone that "doesn't resolve" is almost always the two VPC DNS flags being off.

Cùng khái niệm record, hai đối tượng. Public = internet phân giải được; private = chỉ VPC được gắn phân giải được. Private zone "không phân giải" gần như luôn là do hai cờ DNS của VPC bị tắt.

Private DNS prerequisiteĐiều kiện cho private DNS The VPC must have enableDnsHostnames and enableDnsSupport = true, or the private hosted zone won't resolve.VPC phải bật enableDnsHostnames và enableDnsSupport = true, nếu không private zone sẽ không phân giải.
DNSSEC Signs DNS data to verify integrity/origin, defeating MITM. Route 53 does DNSSEC for domain registration and signing — public zones only.Ký dữ liệu DNS để xác thực toàn vẹn/nguồn, chống MITM. Route 53 làm DNSSEC cho đăng ký domain và signing — chỉ public zone.
3rd-party registrarRegistrar bên thứ 3 Buy the domain elsewhere, use Route 53 as the DNS provider: point the registrar's NS records at your Route 53 zone.Mua domain nơi khác, dùng Route 53 làm nhà cung cấp DNS: trỏ NS record ở registrar về zone Route 53.

Health checks — the engine behind failoverHealth check — bộ máy phía sau failover

Health checks are what let DNS fail over automatically. Three kinds: endpoint checks (HTTP/HTTPS/TCP to a public target), calculated checks (combine other checks), and CloudWatch Alarm checks (the escape hatch for anything private). They're integrated with CloudWatch metrics. Health check là thứ để DNS tự failover. Ba loại: check endpoint (HTTP/HTTPS/TCP tới target public), check calculated (gộp các check khác), và check CloudWatch Alarm (cửa thoát cho mọi thứ private). Chúng tích hợp với metric CloudWatch.

Monitor an endpointGiám sát endpoint ~15 global checkers hit the endpoint. Passes on 2xx/3xx. Can also pass/fail on text in the first 5120 bytes. Open your firewall to the Route 53 checker IP ranges.~15 checker toàn cầu gọi endpoint. Pass khi 2xx/3xx. Có thể pass/fail theo text trong 5120 byte đầu. Mở firewall cho dải IP checker của Route 53.
Calculated (parent)Calculated (cha) Combine child checks with OR / AND / NOT, up to 256 children, and set how many must pass. Great for maintenance without tripping everything.Gộp check con bằng OR / AND / NOT, tối đa 256 con, đặt số lượng phải pass. Hợp để bảo trì mà không làm sập hết.
CloudWatch AlarmCloudWatch Alarm Checkers live outside the VPC and can't reach private/on-prem targets. Instead publish a metric → alarm → point a health check at the alarm.Checker nằm ngoài VPC và không tới được target private/on-prem. Thay vào đó đẩy metric → alarm → trỏ health check vào alarm.
Private endpoints? Use a CloudWatch Alarm health checkEndpoint private? Dùng health check qua CloudWatch Alarm The signature private-hosted-zone question: Route 53's health checkers are public and can't probe a private resource. The pattern is metric → CloudWatch Alarm → health check on the alarm. Same trick covers on-premises resources. Câu hỏi private-hosted-zone kinh điển: checker của Route 53 là public nên không dò được tài nguyên private. Mẫu là metric → CloudWatch Alarm → health check trỏ vào alarm. Cùng chiêu này áp cho tài nguyên on-premises.
Multi-region RDS failover architecture driven by Route 53 health checks. RDS Main in us-east-1 asynchronously replicates to an RDS read replica in us-west-2. A health check monitors the main database, either via an application /health-db route (option 1) or a CloudWatch alarm (option 2). The CloudWatch alarm is linked to the health check; when it fires it triggers a CloudWatch Event or SNS topic, which invokes a Lambda function. The Lambda promotes the read replica to primary and updates the DNS record in Route 53 to point at the newly promoted database. RDS Main us-east-1 RDS Read Replica us-west-2 async replication Health check /health-db OR CW alarm CW Alarm ↔ health check CW Event / SNS on alarm Lambda trigger Route 53 · update DNS promote read replica

The cross-region DB failover shape: a health check (endpoint or CloudWatch Alarm) → alarm → event/SNS → Lambda that promotes the read replica and rewrites the Route 53 record. Route 53 is the piece that redirects clients to the new primary.

Dáng failover DB xuyên region: health check (endpoint hoặc CloudWatch Alarm) → alarm → event/SNS → Lambda để promote read replica và ghi lại record Route 53. Route 53 là mảnh chuyển hướng client sang primary mới.

Route 53 Resolver — hybrid DNS with on-premRoute 53 Resolver — hybrid DNS với on-prem

Inside a VPC, the Route 53 Resolver (the .2 address) already answers for EC2 local names, private hosted zones, and public names. Hybrid DNS is making that resolver and your on-premises DNS resolve each other's names, over Direct Connect or VPN. Two endpoints do it. Trong một VPC, Route 53 Resolver (địa chỉ .2) đã trả lời cho tên local của EC2, private hosted zone, và tên public. Hybrid DNS là làm cho resolver đó và DNS on-premises phân giải tên của nhau, qua Direct Connect hoặc VPN. Hai endpoint làm việc này.

Route 53 Resolver inbound and outbound endpoints for hybrid DNS. In the centre is a VPC with the Route 53 Resolver. On the top path, an inbound endpoint: on-premises DNS resolvers forward queries for AWS names like app.aws.private across a VPN or Direct Connect connection into the inbound endpoint, which resolves them against the private hosted zone. On the bottom path, an outbound endpoint: the Route 53 Resolver uses forwarding rules (Resolver Rules) — for the domain onprem.private, forward to target IP 172.16.0.10 — to send queries for on-premises names out through the outbound endpoint to the on-premises DNS resolvers. VPC (a Region) Route 53 Resolver (x.x.x.2) private hosted zone Inbound EP Outbound EP On-Premises DC DNS resolvers onprem.private VPN / DX app.aws.private? web.onprem.private? Resolver Rule (forwarding) onprem.private → 172.16.0.10 most specific rule wins · share via AWS RAM endpoints live in ≥2 AZs · ~10,000 queries/sec per IP

Direction is everything. Inbound = on-prem asks AWS (green, into the VPC). Outbound + Resolver Rules = AWS asks on-prem (orange, out of the VPC), forwarding a matched domain to a target IP.

Hướng là tất cả. Inbound = on-prem hỏi AWS (xanh lá, đi vào VPC). Outbound + Resolver Rules = AWS hỏi on-prem (cam, đi ra khỏi VPC), chuyển tiếp domain khớp tới một target IP.

Rule typeLoại rule Does whatLàm gì
Conditional forwarding (Forwarding Rules)Conditional forwarding Forward queries for a domain and all its subdomains to specified target IPs (your on-prem resolvers).Chuyển query cho một domain và mọi subdomain tới các target IP (resolver on-prem của bạn).
System RulesSystem Rules Selectively override a forwarding rule (e.g. "don't forward acme.example.com").Chọn lọc ghi đè một forwarding rule (vd "đừng chuyển acme.example.com").
Auto-defined System RulesAuto-defined System Rules Built-in resolution for AWS internal domains & private hosted zones (compute.amazonaws.com, ec2.internal).Phân giải sẵn cho domain nội bộ AWS & private hosted zone (compute.amazonaws.com, ec2.internal).

If several rules match, Route 53 Resolver takes the most specific. Resolver Rules can be shared across accounts with AWS RAM — manage them centrally in one account and reuse from many VPCs. Nếu nhiều rule khớp, Route 53 Resolver lấy cái cụ thể nhất. Resolver Rule có thể chia sẻ xuyên account bằng AWS RAM — quản lý tập trung một account rồi dùng lại từ nhiều VPC.

Things that catch you outNhững chỗ dễ sập bẫy

  • CNAME can't sit at the apex. To point mydomain.com (root) at an ELB/CloudFront/S3, you must use an Alias. CNAME is only for www.mydomain.com and other subdomains. CNAME không đặt ở apex. Để trỏ mydomain.com (root) vào ELB/CloudFront/S3, phải dùng Alias. CNAME chỉ cho www.mydomain.com và subdomain khác.
  • No Alias to an EC2 DNS name. Alias targets are managed AWS resources (ELB, CloudFront, API GW, S3 website, …). For a bare EC2 instance, use a plain A record to its IP. Không Alias tới tên DNS của EC2. Đích Alias là tài nguyên AWS quản lý (ELB, CloudFront, API GW, S3 website, …). Với EC2 trần, dùng A record trỏ IP.
  • Latency ≠ geography. Latency-based routing sends you to the Region with the lowest RTT, which is not always the nearest country. If the requirement is "users in country X must hit endpoint Y", that's Geolocation. Latency ≠ địa lý. Latency-based đưa bạn tới Region có RTT thấp nhất, không phải luôn là nước gần nhất. Nếu yêu cầu là "user ở nước X phải vào endpoint Y", đó là Geolocation.
  • Geoproximity needs Traffic Flow. The bias knob only exists in Route 53 Traffic Flow. If a question mentions bias/shifting load between regions, it implies Traffic Flow + geoproximity. Geoproximity cần Traffic Flow. Núm bias chỉ có trong Traffic Flow của Route 53. Nếu đề nhắc bias/dịch tải giữa region, tức là Traffic Flow + geoproximity.
  • Health checkers are public. They can't reach a private or on-prem endpoint — route through a CloudWatch Alarm health check instead. Also: open your security group/NACL to the checker IP ranges, or every check fails. Checker là public. Chúng không tới được endpoint private hay on-prem — thay bằng health check qua CloudWatch Alarm. Và: mở security group/NACL cho dải IP checker, nếu không mọi check đều fail.
  • Simple routing has no health check. If you list multiple values under Simple, a dead one can still be returned. Need health-aware multiplexing? Use Multi-Value. Simple routing không có health check. Nếu liệt kê nhiều giá trị dưới Simple, một cái chết vẫn có thể được trả về. Cần multiplex có biết health? Dùng Multi-Value.
  • Private zone won't resolve? Almost always the VPC is missing enableDnsHostnames / enableDnsSupport. And DNSSEC only works on public zones. Private zone không phân giải? Gần như luôn do VPC thiếu enableDnsHostnames / enableDnsSupport. Và DNSSEC chỉ chạy trên public zone.

Exam reflexesPhản xạ khi thi

The question says…Đề nói… AnswerĐáp án
"Point the root domain at an ELB / CloudFront / S3 website""Trỏ root domain vào ELB / CloudFront / S3 website" Alias record (not CNAME)Alias record (không phải CNAME)
"Send X% of traffic to a new version / blue-green / canary""Gửi X% traffic sang bản mới / blue-green / canary" Weighted routingRouting Weighted
"Lowest-latency region for each user""Region latency thấp nhất cho mỗi user" Latency-based routingRouting Latency-based
"Automatic active-passive DR failover via DNS""Tự failover DR active-passive qua DNS" Failover routing + health checkRouting Failover + health check
"Serve different content by user's country/continent""Phục vụ nội dung khác theo nước/châu lục của user" Geolocation (+ a Default record)Geolocation (+ record Default)
"Shift more load to a region with a bias""Dịch thêm tải sang một region bằng bias" Geoproximity via Traffic FlowGeoproximity qua Traffic Flow
"Health-check a private / on-prem endpoint""Health-check endpoint private / on-prem" Health check on a CloudWatch AlarmHealth check trỏ vào CloudWatch Alarm
"On-prem must resolve AWS private names""On-prem phải phân giải tên AWS private" Resolver Inbound endpointResolver Inbound endpoint
"AWS must resolve on-prem names""AWS phải phân giải tên on-prem" Resolver Outbound endpoint + Resolver RulesResolver Outbound endpoint + Resolver Rules
"Return several healthy IPs, no ELB""Trả về vài IP khỏe, không ELB" Multi-Value (up to 8)Multi-Value (tối đa 8)