Route 53 Flashcards

1
Q

What is Route 53?

A

A highly available, scalable, fully managed DNS

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

What does a Route 53 record do and what are the 5 things it contains?

A

It defines how traffic should be routed for a domain and contains
1. Domain/subdomain name
2. Record type (A, AAAA, CNAME, NS)
3. Value (IP address)
4. Routing policy
5. TTL

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

What does an A record map?

A

Hostname to IPv4

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

What does an AAAA record map?

A

Hostname to IPv6

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

What does a CNAME record map?

A

Hostname to another hostname

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

What does a NS record map?

A

Name servers for a hosted zone

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

What are the two types of hosted zones?

A
  1. Public - Can be resolved on the internet
  2. Private - Can only be resolved within one or more VPCs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does a record TTL do?

A

Defines a period of time for a client to cache a DNS record before it expires

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

When would you use an Alias over a CNAME?

A

Alias’s work for root domains and non root domains whereas CNAME records only work for non root domains. They are also free of charge and have a native health check

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

Can you set a TTL for A and AAAA records?

A

No, Alias record TTL’s are set automatically by Route 53

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

Is it possible to set an Alias record for an EC2 DNS name?

A

No

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

List the 8 different routing policy types Route 53 supports.

A
  1. Simple
  2. Weighted
  3. Failover
  4. Latency
  5. Geolocation
  6. Multi-value answer
  7. Geoproximity
  8. IP-based
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When should you use a simple route policy?

A

Typically used to route traffic to a single resource (although multiple values can be return and one will be chosen at random by the client). Cannot be associated with a health check

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

When should you use a weighted route policy?

A

When you need to control the % of requests that go to each specific resource. Note, the % does not need to add to 100%. Traffic (%) = [weight of record]/[sum of all record weights]. Note, if all records have a weight of 0, traffic will be distributed evenly.

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

When should you use a latency route policy?

A

Directs based on latency between users and AWS regions. Records are associated with a region and the one with the lowest latency for the user will be used.

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

What are the 3 things a health check can be based on?

A
  1. Monitoring a specific endpoint
  2. Monitoring other health checks
  3. Monitoring CloudWatch alarms
17
Q

When should you use failover route policy?

A

When you want to require a health check to be made to ensure the downstream system is healthy before returning a DNS record

18
Q

When should you use a geolocation route policy?

A

When you want to route based on the user location. Be sure to create a default record incase there is no location match

19
Q

When should you use a geoproximity route policy?

A

When you require the ability to shift more traffic to resources based on a configurable bias value

20
Q

When should you use IP-based route policy?

A

When you know the CIDRs for your clients ahead of time

21
Q

When should you use multi-value route policy?

A

When you want to route to multiple different resources and return multiple DNS entries. Related to health checks.

22
Q
A