Module 12: AI Flashcards

(24 cards)

1
Q

What is the drawback to using the traditional approach of having a single, publicly accessible web server?

A

It creates performance bottlenecks, high latency for distant users, and a single point of failure.

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

What is a CDN?

A

A distributed network of servers that deliver content from locations closer to end users.

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

What are the six major challenges that Internet applications face?

A
  • Peering point congestion
  • Inefficient Routing Protocols
  • Unreliable Networks
  • Inefficient communication protocols
  • Scalability
  • Application limitations and slow rate of change adoption
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the major shifts that have impacted the evolution of the Internet ecosystem?

A
  • Large scale
  • Topological flattening
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Compare the ‘enter deep’ and ‘bring home’ approach to CDN server placement.

A

Bring Home embeds servers inside ISPs; Enter deep places large clusters at few major PoPs.

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

What is the role of DNS in the way CDN operates?

A

DNS maps users to nearby or optimal CDN servers.

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

What are the two main steps in CDN server selection?

A

Select a cluster and then select a server within that cluster.

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

What is the simplest approach to selecting a cluster? What are the limitations?

A

Geographic proximity
May not be best end-to-end performance
- protocol inefficiency
- congestion

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

What metrics could be considered when using measurements to select a cluster?

A
  • minimum RTT
    - delay
    - available bandwidth
    - combination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How are the metrics for cluster selection obtained?

A
  • Measurements
    - ping probing
    - passive (i.e. existing session performance)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain the distributed system that uses a 2-layered system. What are the challenges?

A
  • Layers
    - Coarse-grained global layer
    - Fine-grained per-client decision layer
    • Requires intentional sub-optimal clustering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the strategies for server selection? What are the limitations?

A
  • Random
  • Load balancing
  • Content Mapping
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is consistent hashing? How does it work?

A

A hashing scheme that maps servers and objects onto a ring to minimize remapping when servers join/leave.

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

Why would a centralized design with a single DNS server not work?

A

It wouldn’t scale, would be a single point of failure, and would introduce high latency globally.

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

What are the main steps that a host takes to use DNS?

A

Query resolver, contact authoritative servers, receive response, and cache results.

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

What are the services offered by DNS apart from hostname resolution?

A
  • Mail server/Host aliasing
  • Load distribution
17
Q

What is the structure of the DNS hierarchy? Why hierarchical?

A

Root → TLD → authoritative servers; hierarchy scales globally and distributes load.

18
Q

What is the difference between iterative and recursive DNS queries?

A

Iterative returns referrals; recursive performs full lookup on behalf of the client.

19
Q

What is DNS caching?

A

Storing DNS responses temporarily to reduce lookup latency and server load.

20
Q

What is a DNS resource record?

A

A structured DNS database entry containing information about a domain.

21
Q

What are the most common types of resource records?

A

A, CNAME, MX, NS

22
Q

Describe the DNS message format.

A
  • 12 bytes meta (including ID)
  • Name, type fields for a query
  • RRs in response to query
  • Records for authoritative servers
  • Additional info
23
Q

What is IP Anycast?

A

route client to closest server (via BGP)

24
Q

What is HTTP Redirection?

A

A technique where a server instructs a client to request content from a different URL or server.
1. Client sends GET request
2. Server responds with cod 3xx and new server name