AWS Route53, ELB, Cloudwatch, Decouple Workflows Flashcards
Whats an example of a top level domain name and a second level domain name ?
Top Level (.com)
Second Level (.co.nz)
What are A and AAAA records?
These are DNS records that live on the Nameserver and map domain names to IP address.
A is ipv4
AAAA is ipv6
What is a DNS SOA?
A start of authority record is a type of resource record that contains administrative information about a zone. Every registered domain name has an associated SOA record.
1. name of the zone
2. Zone Class
3. Primary Master Name server
4. Email address of the administrator.
5. Refresh and TTL times
What is a DNS zone?
A DNS zone is a mechanism for partitioning the domain namespace. DNS zones are delegated to a legal entity (person/organization) that acts as an administrator and can specify things like the authoritative name servers for the domain names in that zone.
What is a DNS CNAME record?
A CNAME is a canonical name it can be used to resolve one domain name to another domain name. specific.thetest.com => thetest.com
Whats the difference between Alias records and CNAME?
Alias records are strictly a AWS record. The work like a CNAME records and allow you to map one domain name to another but (usually aws resources). CNAMES cant have ‘naked ‘ domain name ‘thetest.com’ they must map to ‘something.thetest.com’ Alias records can have naked domain names.
What are DNS NS records?
Name server records are used by top-level domain servers to direct traffic to the correct content DNS servers (name servers) that contain the information and records for a given domain name
What service can you use to register a domain name?
Route 53
What service can you use to create health checks on individual endpoints?
Route 53
If you want to setup a routing policy that gives you back a random endpoint which route 53 policy would you use ?
Simple policy
If you want to route to a specific endpoint based on the quickest response times which routing policy would you use?
Latency based routing
If you want to route to a endpoint based on location which policy would you use?
Geolocation Routing
If you want to automatically switch endpoint when one fails a health check which policy would you use?
Failover policy
If you would like to bias the routing of traffic between multiple endpoint which policy would you use?
Weighted Routing
What is route 53 traffic flow?
Traffic Flow is a way to make complex customized traffic routing policies in AWS
What is a Multivalue Routing policy in Route 53?
It is a policy that allows you to randomly return an endpoint from a set of endpoints but only if it passes a health check
What is an ELB?
A Elastic Load Balance is a service that intelligently distributes application traffic across targets possibly across multiple AZs
What are the three types of ELBs?
Application Loadbalancer (standard)
Network Loadbalancer(Performance)
Classic Loadbalancer(legacy / Dev)
What are health checks?
They are a mechanism that allows you to determine if a resource is in service or OutOfService and you can use them to determine if you can route traffic to that resource
What osi layer does a application load balancer function at?
Application layer. Layer 7
What is a Listener on an Application ELB?
A listener checks for connection requests from clients, using the protocol and port you configure. ex HTTP:80
What are Rules on an Application ELB?
Rules determine how the load balancer routes requests, Each rule consists of a priority, one or more actions and one or more conditions.
What are Target groups on an Application ELB?
The target group routes requests to one or more registered targets, such as EC2 instances, using the protocol and port number you specify
What is path-based routing and how do you enable it?
Path-based routing is when requests are routed based on the url paths and you enable it by enabling path patterns
What are the limitations of the Application ELB?
Application load balancers can only be used with HTTP and HTTPS
What are you required to do before you can use HTTPS with ELB?
You must deploy at least one SSL/TLS server certificate on you load balancer
What OSI layer does network ELB work on?
Layer 4 (Transport layer)
What is the difference between a Listener on an Application ELB and a Network ELB?
Listeners on Network ELB’s don’t have Rules( Intelligent based routing )
What is the best use case for Network ELB?
Network Load Balancers are best suited for balancing TCP traffic where extreme performance is required. TCP, TLS, UDP, TCP_UDP or applications where application load balancers arent supported
What is a x-forwarded-for header?
It provides the external IP address of your user even through a ELB
What is a GateWay 504?
It means the load balancer is running but the application hasn’t replied within the idle time period
What is ELB sticky sessions?
Enables users to be routed to the same EC2 instance (ie. you are storing information locally to that instance) it must be disabled if you chose to move that EC2 instance
What is ELB deregistration delay?
It allows load balancers to keep existing connections open if the EC2 instances are deregistered or become unhealthy. If it is disabled it will automatically close connections if the EC2 instance becomes unhealthy or deregistered
What is CloudWatch?
CloudWatch is a monitoring and observability platform that was designed to give us insight into our AWS architecture.
What is CloudWatch’s policy for default alarms?
There are no default alarms