Section 8: DNS, caching & performance Flashcards

1
Q

What is Amazon Route53

A

Route 53 is DNS server

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

What is AWS CloudFront

A

CloudFront is a CDN (Content Delivery Network) which caches data in different locations around the work, closest to where the user is. This improves performance by reducing latency (delay). The idea being to deliver static assets like images/videos/files closer to the user.

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

What is AWS Global Accelerator?

A

AWS Global Accelerator is a service that uses edge locations to look for the optimal pathway from your users to your applications. This means it will help reduce latency when possible by serving from the nearest location.

AWS Global Accelerator vs CloudFront - https://tutorialsdojo.com/aws-global-accelerator-vs-amazon-cloudfront/

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

What does a DNS do?

A

The Domain Name Server (DNS) resolves the domain name (e.g. mycompany.com) to the IP address on the web server.

E.g. mywebsite.com (domain name) = 64.190.63.111 (IP address)

https://www.nslookup.io/website-to-ip-lookup/

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

Route 53 routing policies

A

Route 53 routing policies include things such:
* geolocation (location you’re in)
* weighted (assign weight to resources to determine which to route to)
* IP based (use the IP address to determine route decisions)
* And a few other too…

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

What is a Route 53 hosted zone?

A

Route 53 hosted zone is a file that contains DNS records. This file represents a collection of records that can be managed together, belonging to a single parent domain name. All resource record sets within a hosted zone must have the hosted zone’s domain name as a suffix

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

What does Route 53 Resover provide?

A

Amazon Route 53 Resolver provides a robust toolset for DNS query resolution across AWS, the internet, and on-premises networks with secure control over your Amazon Virtual Private Cloud (VPC) DNS

https://aws.amazon.com/route53/resolver/

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

What is Lambda@Edge

A

Lambda@Edge runs Node.js and Python Lambda functions that executes closer to the user

User request is known as Viewer request
Server response is known as Origin response

https://aws.amazon.com/lambda/edge/

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

Route 53 offerings

A

Route 53 offer the following:
* Domain name registry
* DNS resolution
* Health checking of resources

Route 53 is also located alongside all edge locations

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

Route 53 hosted zones - public vs private

A

Route 53 hosted zones

  • public hosted zone = determines how traffic is routed on the internet
  • private hosted zone for VPC = determines how traffic is routes within VPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CNAME vs Alias

A

Alias records can be used to map a hostname (top level) to any AWS resource that has a publicly resolvable DNS name, whereas CNAME records can only map to a domain or subdomain. Alias records can be updated automatically if the IP address of the AWS resource changes, whereas CNAME records would need to be updated manually

https://blog.gowthamparamasivam.com/cname-vs-aws-route-53-alias

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

An Architect is designing a web application that has points of presence in several regions around the world. The Architect would like to provide automatic routing to the nearest region, with failover possible to other regions. Customers should receive 2 IP addresses for whitelisting. How can this be achieved?

A

AWS Global Accelerator

AWS Global Accelerator provides static IP addresses that act as a fixed entry point to application endpoints in a single or multiple AWS Regions. It uses 2 static anycast IP addresses.

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

Which are valid origins for CloudFront

A

valid CloudFront origins include:
* S3 buckets
* EC2 instance
* Elastic Load Balancer

Note: Lambda functions are NOT valid origins for CloudFront

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

Cheat sheets for this section

A

Cheat sheets:
* https://digitalcloud.training/amazon-route-53/
* https://digitalcloud.training/amazon-cloudfront/
* https://digitalcloud.training/aws-global-accelerator/

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