DNS, Caching, & Performance Optimization Flashcards

(47 cards)

1
Q

What are IP addresses?

A

Addresses computers use to communicate

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

What is a subdomain?

A

Subdivision of domain name for organizing set of related resources or services

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

What is A record type?

A

Maps domain name to IP address
- Ex: dctlabs.com to 52.23.21.43

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

What is CNAME record type?

A

Maps domain name to another domain name
- Ex: mail.dctlabs.com to mailserver1.net

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

What is MX record type?

A

Return mail servers for domain name

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

What is TXT record type?

A

Associates text w/ domain name (used for verification, authorization, etc . . .)

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

What is SRV record type?

A

Maps domain name to specific service or protocol (ex: Kerberos server)

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

What is NS record type?

A

Specifies authoritative DNS servers for particular domain

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

What is SOA (Start of Authority) record type?

A

Stores important information about domain

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

What are Route 53 Routing Policies?

A
  • Simple
  • Failover
  • Geolocation
  • Geoproximity
  • Latency
  • Multivalue Answer
  • Weighted
  • IP Based
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Simple Routing Policy?

Route 53 Routing Policuy

A

Simple DNS response providing IP address associated w/ name

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

What is Failover Routing Policy?

Route 53 Routing Policy

A

If primary is down (based on health checks), routes to secondary destination

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

What is Geolocation Routing Policy?

Route 53 Routing Policy

A

Uses geographic location client is in (ex: Europe) to route to closest region

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

What is Geoproximity Routing Policy?

Route 53 Routing Policy

A

Routes to closest region w/in geographic area

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

What is Latency Routing Policy?

Route 53 Routing Policy

A

Directs based on lowest latency route to resources

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

What is Multivalue Answer Routing Policy?

Route 53 Routing Policy

A

Returns several IP addresses & functions as basic load balancer

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

What is Weighted Routing Policy?

Route 53 Routing Policy

A

Uses relative weights assigned to resources

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

What is IP Based Routing Policy?

Route 53 Routing Policy

A

Route based on originating IP address of traffic

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

True or False

Content is pushed from origin and cached in Amazon CloudFront

A

True

Amazon CloudFront

20
Q

True of False

Edge locations are distributed around world

A

True

Amazon CloudFront

21
Q

What does CloudFront Distribution do?

A
  • Speed up distribution of static & dynamic content.
    Ex: .html, .css, .php, & graphics files
  • Distribute media files using HTTP or HTTPS
  • Add, Update, or Delete objects, & submit data to web forms
  • Use live streaming to stream an event in real time
22
Q

How many Regional Edges Caches are there?

23
Q

How many Edge Locations are there?

24
Q

How long is an object cached for (TTL)?

25
What happens to file when **TTL expires**? ## Footnote TTL: Time to Live
File is **REMOVED**
26
What is best for **Dynamic Content**?
**Decreasing TTL**
27
What is better for **Performance** of **Dynamic Content**?
**Increasing TTL**
28
What are characteristics of **CloudFront Caching**?
- You can define max **TTL (Time to Live)** & default **TTL** - TTL is defined at **behavior** level - This can be used to define different TTLs for different file types (ex: png vs jpg) - After expiration, **CloudFront** checks origin for any new requests (check file is latest version) - Headers can be used to control cache: **Cache-Control max-age=(seconds)** - specify how long before CloudFront gets object again from origin server
29
What does **Path Pattern** determine?
Where to send request
30
What are Caching Based Rules on Request Headers?
- You can configure **CloudFront** to forward **Headers** in **viewer request** to origin - **CloudFront** can then cache multiple versions of an object based on values in one or more request headers - Controlled in behavior to do one of following: - Forward all headers to your origin (objects **not cached**) - Forward whitelist of headers that you can specify - Forward only default headers (doesn't cache objects based on values in request headers)
31
What is **Default Origin** is used for?
For any requests that don't match path pattern
32
What are characteristics of **CloudFront Signed URLs**?
- Provide more control over access to content - Can specify beginning & expiration date & time, IP Addresses
33
What are characteristics of **CloudFront Signed Cookies**?
- Similiar to Signed URLs - Use when don't want to change URLs - Can also be used when you want to provide access to **multiple restricted files** ## Footnote Signed URLs are for individual files
34
What is **CloudFront Origin Access Control (OAC)**?
- Like OAI but supports additional use cases - AWS recommend using OAC instead of an OAI - Requires an S3 bucket policy that allows CloudFront service principal
35
What is a **CloudFront Origin Access Identity (OAI)**?
AWS feature that links **CloudFront** to private **S3 bucket**
36
Which region can a **CloudFront certificate** be issued?
**us-east-1**
37
What can certificates be?
- ACM - 3rd-Part CA
38
What can you use to change a default CloudFront domain name?
CNAMES
39
Can S3's certificate be changed?
**NO**
40
What type of certificates can **origin certificates** be?
**Public**
41
**Multiple** certificates share what?
Same **IP** with SNI
42
What does SNI (Server Name Indication) work with?
Browsers/clients released **after 2010** else need **dedicated IP**
43
What is **Lambda@Edge**?
CloudFront feature where you can run code closer to users of application. - Improves performance & reduces latency.
44
What are **Lambda@Edge** features?
- Run **Node.js** & **Python** Lambda functions to customize content **CloudFront** delivers - Executes functions closer to viewer - Can be run at following points: - **viewer request**: After CloudFront receives request from viewer - **origin request**: Before CloudFront forwards request to origin - **origin response**: After CloudFront receives response from origin - **viewer response**: Before CloudFront forwards response to viewer
45
What is **AWS Global Accelerator**?
Service where you create accelerators to improve performance of applications for **local** & **global** users.
46
What does user traffic use to ingress?
Closest **Edge Location**
47
Where does traffic traverse?
**AWS Global Network**