Route 53 and Networking Flashcards

1
Q

You want to route all traffic from Europe to EU-WEST1, What routing policy would you use and what location would you specify for your users?

A

Geolocation and set location to “Europe’. R53 allows you to identify countries or continents

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

What is a multi-value answer routing policy and how do you set one up

A

An MVA policy will return a list of healthy endpoints to the client (Browser). You create multiple record sets containing an endpoint with associated health checks. When the record set is queried only healthy endpoints are returned and the browser picks one at random.

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

Is the domain registrar the same as a DNS?

A

No

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

What are the steps to use a 3rd party domain with R53

A
  1. You need to create a hosted zone in R53 using your domain.
  2. Update your 3rd party name server records to point to the AWS name servers provided when you create the hosted zone.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You have an R53 record-set pointing to an instances IP as the endpoint. You need to change this to an ELB. What record type do you currently have and what is it changed to?

A

You currently have an A (or AAAA for IPv6) and you will need to change to an Alias

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

There are 4 common record types in R53. What are they and what do they do?

A

A: URL to IPv4
AAAA: URL to IPv6
CNAME: URL to URL
ALIAS: URL to AWS Resource

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

How do health checks relate to DNS Queries

A

Only healthy resources will be returned as a response to a DNS query. This enables failover routing. Health checks are mandatory for fail over R53 Policy

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

can health checks be integrated with Cloudwatch?

A

Yes

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

Why would you use a weighted routing policy?

A

To control the percentage of requests going to a specific endpoint. Helpful for:

  • A/B Deployments
  • Splitting traffic between regions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the default health check interval in R53 and roughly how many health checkers will check and endpoint?

A

One every 30 second interval per health check with approximately 15 health checks per end point.

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

By default how many health checks need to fail for an instance to be unhealthy? How many for it to become healthy?

A

3 for both

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

When would you use a latency routing policy?

A

When latency for users is a priority. Under this policy traffic is redirected to the server that has the least latency as evaluated in terms of the user to the designated region.

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

In a latency routing policy will traffic be directed to the closest region?

A

Not especially. The lowest latency will be used which may not be the closest region to the user

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

Does R53 support healthchecks?

A

Yes - Health checks can be configured to simulate common user requests

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

What are the 6 routing policies for R53

A

Simple, Multivalue, Geo-location, latency, failover, weighted.

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

How are alias records resolved externally

A

As A or AAAA records

17
Q

In R53 where can private domain names be resolved

A

Private Domain names can only be resolved by instances within your VPC

18
Q

Does a simple routing policy allow for health checks?

A

No. You cannot attach a health check to a simple routing policy.

19
Q

When would you use a simple routing policy?

A

When you only need to redirect to a single resource

20
Q

If multiple values are returned from a simple routing policy, what action does the client take?

A

It picks a random value from the list

21
Q

Can a CNAME record point to a root domain - i.e. planittesting.com

A

No. A CNAME record can only point to subdomains - i.e. test.planittesting.com

22
Q

Why would you use a geolocation policy?

A

When you need to route traffic for specific users to specific regions based on their geographic location. You should always have a default policy if a region cannot be identified

23
Q

What is the purpose of a default policy in R53 geolocation and is it mandatory?

A

The default policy is used if a match cannot be found based on the users location. It is not mandatory.

24
Q

If you have a failover record-set in R53 called ‘failover’ which contains the IP for the primary and the secondary for the domain example.com - what is the URL for the primary and the secondary?

A

failover.example.com for both. R53 will switch from primary and secondary in the record-set automatically.

25
Q

If you need a heath check to check just the connectivity of a port - which sort of health check would you use?

A

TCP health check

26
Q

If you have an https health check does this verify the SSL certificate associated with the connection?

A

No

27
Q

You have a weighted routing policy setup. 50% of traffic goes to EU-WEST-1, 50% goes to US-EAST-1. You change the policy to 70/30 respectively and go to the browser but the old policy seems to still be in effect - whats the simplest reason?

A

Its likely that the TTL has not expired and your browser is still executing from cache

28
Q

Which layer does an application ELB work on?

A

Layer 7 - HTTP. Allows balancing on the URL. Allows balancing to multiple apps on the same instance.

29
Q

What protocols can be used in an R53 health check?

A

HTTP, HTTPS, TCP

30
Q

What are the 3 failover policies in R53?

A

Active/Active: R54 returns primary resource. In case of failure R53 returns backup resource. Must be a failover policy

Active/Passive: Multiple active resources. In case of failure return a healthy resource - any policy but failover

Combination of Both: Multiple routing policies built as a reee

31
Q

What the maximum number of endpoints returned in an MVA query?

A

8

32
Q

When would you use an MVA routing policy? Is this a replacement for an ELB?

A

When you want R53 to route traffic to multiple endpoints. It is not an ELB replacement