Route 53 Flashcards

1
Q

What is a DNS Hosted Zone?

A

DB containing DNS records for a domain that’s been created/registered.

These can be Public (Internet) or Private (VPC).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is R53 Global, Region, or AZ resilient?

A

Globally Resilient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DNS Flow:

A
  1. Client queries “sports.com”
  2. DNS query gets sent to the NAME SERVERS (4) for that particular domain (these are Authoritative in nature for the sports.com domain)
  3. R53 Name Servers will then locate the “sports.com” ZONE FILE/DB to get to where the Hosted Zone is stored (Hosted Zone is just a DB containing DNS records)
  4. Once the data is accessed, it’s passed back through the R53 name servers all the way back to the DNS client
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a R53 Health Check?

A

Enabled R53 to determine the “health” of a particular target (IP address) for an associated domain.

If a domain has 1 x record with 3 x IP’s, then it can determine which IP (if any) is “unhealthy” and not return that to the client requester.

Without this, all 3 get returned and the client attempts to connect to one of them at random.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the interval(s) for R53 health checks?

A

30 sec (default)

10 sec ( for added cost)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Six R53 Routing Policies

A
  1. Simple
  2. Failover
  3. Weighted
  4. Latency-Based
  5. Geolocation
  6. Multi-Value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Simple R53 Routing Policy (this is default)

A

Hosted Zone = 1 record with 3 IP targets. All 3 are sent back to client and one is chosen at random.

This is the only one that doesn’t feature Health Checks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Failover R53 Routing Policy

A

TWO records with the same name i.e Primary and Secondary record for a domain in A/S fashion.

Primary = IP address
Secondary = S3 bucket

A Health Check is associated with the PRIMARY record, which is what is the default record when queried.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Weighted R53 Routing Policy

A

Multiple records with the same name in a Hosted Zone.

Each record gets a weighted value and is sent back to client based on that value.

Example: IP#1 gets returned 90% of the time, whereas IP#2 get’s returned 10% of the time

If a record has a bad health check, it does the process again and again and again until a record with a good health check is sent back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Latency-Based R53 Routing Policy

A

Multiple records with the same name in a Hosted Zone.

For each record, you specify a region that the record corresponds to (EX = US-East-1) - basically gives R53 awareness of where the infra. is stored.

When a query comes in, R53 knows which region it’s coming from and can cross-reference the latency between the client and available regions that the record is available and picks the one with the lowest latency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Geolocation R53 Routing Policy

A

Multiple records with the same name in a Hosted Zone - but you can also add a location field i.e a particular STATE, COUNTRY or CONTINENT.

Ex - request comes from Texas, so R53 tries to resolve the record using DNS within the United States; if not the state, it checks the country, then it checks/tries the continent.

ONLY returns RELEVANT records to customers from the same Geo-area, not the CLOSEST records.

Will try to resolve/return records to clients from within the same geographical area.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Multi-Value R53 Routing Policy.

How many values (IP addresses) can be in a record pool for options?

A

Multiple records with the same name in a Hosted Zone, where each value has its own Health Check. Any record marked unhealthy will be removed from the response to the query.

When queried - up to (8) healthy records are returned.

Mix of Simple and Failover routing.

  • Improves reliability compared to Simple
  • Alternative to Failover when you have multiple records but don’t want the complexity of overhead from weighted routing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the difference between a Public and Private DNS Hosted Zone?

A

** Private Hosted Zone = responding to queries for domains within a VPC(s)

** Public Hosted Zone = responding to queries for domains over the internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 3 types (where you can place) of R53 Health Checks?

A

Endpoint checks
CloudWatch Alarm checks
Checks of other checks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

REVIEW:

A

→ DNS “A” Records map a NAME to an IP address : sports.io&raquo_space; 1.3.3.7

→ DNS CNAME Records map a NAME to another NAME : www.sports.io&raquo_space; sports.io

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Can a CNAME Record be used to map to the Apex of a domain (Naked domain)?

A

NO.

CNAME can only be mapped to normal records

17
Q

What is the difference between CNAME and ALIAS DNS Records?

A

ALIAS records map a NAME to AWS resources, whereas CNAME records map a NAME to another NAME.

ALIAS can map to both an Apex domain or a Regular domain, whereas CNAME can’t map to an Apex domain.

18
Q

What is R53 Geo-Proximity Routing policy?

Does it work for non-AWS resources?

A

Aims to provide records as close to your customers as possible. Similar to Latency-Based routing, but instead of latency, this is focused on DISTANCE.

Yes - for non-AWS resources yo use geo-coordinates instead of AWS Region.

19
Q

How can you manipulate a Geo-Proximity Routing policy?

A

You can define a “Plus or Minus (+ or -) Bias:

§ Increases a region size and decreases a neighboring region

§ You can optionally choose to route MORE traffic or LESS traffic to a specific region based on a Bias

§ More surrounding countries will route to a specific region