Section 9: Route 53 Flashcards
True/False
Domain Name System translates human friendly hostnames into machine IP addresses
True
What’s the amazon domain registrar?
Amazon Route 53
Subsection: What is a DNS?
Tell me about all the parts of this URL
http://api.www.example.com.
(Things like which part represent the fully qualified domain name, which part represents the top level domain, etc.)
Ignore the underlines, they’re not supposed to be there.
* URL: http://api.www.example.com.
* protocol: http
* Fully Qualified Domain Name (FQDN): api.www.example.com.
* sub domain: .www.example.com.
* second level domain (SLD): .example.com.
* Top Level Domain (TLD): .com.
* Root: . <- that’s the period after the com
Subsection: What is a DNS?
Is Amazon Route 53 highly available, scalable, Authoritative DNS, Domain Registrar, with the ability to check the health of your resources and the only AWS service which provides 100% availability SLA?
Yes
Subsection: Route 53 Overview
What’s an Authoritative DNS?
It means the customer (me) can update the DNS records (as opposed to who? I’m not sure).
Subsection Route 53 Overview
About Route 53 records:
What are the names of the following
* A) there are many types of these, but you must know A, AAAA, CNAME, NS
* B) ex: 12.34.56.78
* C) how Route 53 responds to queries
* D) amount of time the record cached at DNS resolvers
* E) ex: example.com
- A) Record Type
- B) Value
- C) Value
- D) TTL
- E) Domain/subdomain name
Subsection Route 53 Overview
About Route 53, identify the following description with the appropriate record type:
- A) maps a hostname to IPv4 (ex: 1.2.3.4)
- B) maps a hostname to IPv6 (ex: 1.2.3.4.5.6)
- C) maps a hostname to another hostname.
- D) name servers for the hosted zone that control how traffic is routed for a domain.
Subsection: Route 53 Overview
Which of the following, if any, are false about CNAMEs and what is/are the true version(s)?
- A) Can’t create a CNAME record for the top node of a DNS namespace (zone apex). For example, you can’t create one of these for www.example.com, but you can do it for example.com.
- B) target is a domain name which must have an A or an NS record.
- A) is false, here’s the true version: Can’t create a CNAME record for the top node of a DNS namespace (zone apex). For example, you can’t create one of these for example.com, but you can do it for www.example.com.
*B) is false. Here’s the true version: target is a domain name which must have an A or an AAAA record.
Subsection: Route 53 Overview
Route 53 - Hosted Zones
true/false. you can have private or public hosted zones (public domain names) (ones that route traffic on the internet or ones that route traffic within a private network (VPC)) (private domain names). These are not free. at time of course section creation, cost was 50 cents a month.
True
Subsection: Route 53
Say you have a registered domain, example.com and you go to your hosted zones and you want to make a new subdomain, test.example.com. What’s the button you click to create the subdomain?
Create record!
Subsection: Route 53
Route 53 Records TTL:
True/False;
Route 53 Records TTL concerns the amount of time Route 53 tells you to cache the IP address associated with the domain name you (a client) requested. A longer TTL (ex: 24 hours) means fewer requests querying the DNS and less traffic on Route 53 (and each request or the overall traffic will cost you $). But it also means that if you change something, it will take longer for all your clients to get the new info. Opposite is true for shorter TTL. So shorter TTL is better if you expect you want to change your records often and don’t mind the cost, then you’d want a short TTL (ex, 60 seconds).
True
Subsection: Route 53 - TTL
CNAME:
point a hostname to any other hostname
ALIAS: point a hostname to a specific AWS resources
this question isn’t done, but i’m not sure i like it anway
Subsection: Route 53 CNAME vs Alias
Why is an A type Alias record better than CNAME for getting to your AWS resource?
rubythroatedhummingbird.gulfcoastcloud.com and northerncardinal.gulfcoastprairie.com now also gets you to this location. I purchased the domain name gulfcoastcloud.com was purchased through Amazon Route 53. The subdomain “hummingbird” was created as an a type A record attached to the aforementioned application load balancer by using the Alias option in the create record form. The subdomain ”northerncardinal” was created using a type CNAME record attached to the DNS name of the same application load balancer. Honestly, I’m not quite sure what the difference between the two approaches is. The A method used the same DNS name as the CNAME method, only there was a different way to get there and “dualstack” was appended in front of the string. A quick search would make it seem that dualstack means that your domain can use IPv4 and IPv6 records, except that since the A method is the A method, I expected it to only use IPv4.
it seems like the alias record is free to query, but CNAME is not. That would make A-alias better than CNAME.
Subsection: Route 53 CNAME vs Alias
you have a domain, example.com and an ALB that is hooked up to sites (identical) on two ec2 instances. You want to connect example.com to the ALB so people can see your site using the URL “example.com”. Can you use an A type record? What about a CNAME type record?
You can use an A type record with an alias that you set up by selecting endpoint “route to application or classic load balancer”, region whatever-your-region-is, and selcting the appropriate load balancer. No, you cannot do this with CNAME. I suspect you can do it with IPv6 but possibly not with any other of the 4 main record types.
Subsection: Route 53 CNAME vs Alias
What are the four main record types?
A, AAAA, CNAME, NS
Subsection - Route 53 - Creating our first records (this is a guess)
True/False: Route 53 routing policies refer to routing DNS queries, not traffic
True
Subsection: Routing Policy - Simple
True/False: the following comprises the list of Route 53 Routing policies: Simple, weighted, failover, threshold based, geolocation, multi value answer, geoproximity (using route 53 traffic flow feature)
False. Correct answer is:
Simple, weighted, failover, latency based, geolocation, multi value answer, geoproximity (using route 53 traffic flow feature)
Subsection: Routing Policy - Simple
True / False: The following describes the Latency-based Routing Policy
* Used to route traffic to a single resource
* can specify multipel values in the same record
* if multiple values are returned, a random one is chosen by the client
* when alias is enabled, can only specify one AWS resource per target
* can’t be associated with a health check
False. It describes Simple Routing Policy
Subsection: Routing Policy - Simple
Can i use two values (IP addresses) in one type A non-alias-using record?
Yes, just put one on the first line and press enter and put the other on the second line.
Subsection: Routing Policy - Simple
True/False does the following describe Simple Routing Policies?
* Control the % of the requests that go to each specific resource by assigning each record a relative ____
* traffic % per ec2 instance equals ____ for a specific record divided by the sum of all the ____ for all records. this is a lot simpler than it sounds. it’s just like if you have 3 instances with ____ of 70, 20 and then 10 then the first instance gets 70% of traffic, the second gets 20% and the third gets 10%.
* dns records must have the same name and type
* can be associated with health checks
* use bases: load balancing between regions, testing app versions (slow rolling?)
* assign a ____ of 0 to stop sending traffic to a record/the instance it points to
* if all records have a ____ of 0, all records gets traffic equally (not sure he didn’t mean instances?)
False, it described Weighted Routing Policies
Subsection: Routing Policy - Weighted
When creating one weighted routing policy record, can each sub-record have a different TTL? Can you put a different value in each subrecord?
No, they must have the same TTL. Yes.
Subsection: Routing Policy - Weighted
True/False does the following describe Weighted routing policies?
* Redirect the resouce that has the least ____ close to us
* super helpful when ____ for users is a priority
* ____ is based on traffic between users and AWS regions
* germany users may be directed to the US (if that’s the lowest ____)
* can be associated with health checks (has failover capability)
False. It described Latency-based routing policies
Subsection: Routing Policy - Latency
True/False is the following True about Route 53 Health Checks?
* http health checks are only for public resources
* health checks lead to automated dns failover: monitor an endpoint; other health checks; cloud watch alarms like throttles on dynamo db, alarms on rds, custom metrics
* health checks are integrated with CloudWatch metrics
True
Subsection: Route 53 Health Checks
True/False
About Route 53 health checks
* only pass when the endpoint responds with 2xx or 3xx status codes
* can be set up to pass/fail based on text in the first 5120 bytes of the response
* you must configure your router/firewall to allow incoming requests from Route 53 Health Checks
* about 15 global health checkers will check the endpoint health: healthy/unhealthy threshold - 3 (default); interval: 30 second (can set to 10 sec, higher cost); supports HTTP, HTTPS and TCP; if more than 18% of the heath checkers report hte endpoint is healthy, route 53 considers it health - otherwise it’s unhealthy; ability to choose which locations you want Route 53 to use
True
Subsection: Route 53 Health Checks