Ch. 2 - Application Layer Flashcards

1
Q

HTTP

A

HyperText Transfer Protocol - the protocol used for transmitting web pages over the Internet

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

TLS

A

Transport Layer Security provides encrypted TCP connections, data integrity, and end-point authentication.

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

Stateless HTTP

A

Server maintains no information about past client requests.

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

Web client

A

Browser that requests, receives (using HTTP protocol), and “displays” Web objects

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

Web server

A

Sends objects (using HTTP protocol) in response to requests.

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

Web page objects

A

e.g. HTML files, JPEG images, Java applets, audio files, etc.

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

Why are protocols that maintain “state” complex?

A
  • Past history must be maintained
  • If server/client crashes, their views of “state” may be inconsistent and must be reconciled
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two types of HTTP connections?

A

Non-persistent HTTP:
- At most one object is sent over a TCP connection
- Downloading multiple objects requires multiple connections
Persistent HTTP:
- Multiple objects can be sent over a single TCP connection between client and server.

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

Socket

A

Process that connects an application with a network protocol.

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

P2P Architecture

A

No always-on server; arbitrary end-systems directly communicate; peers request service from other peers, provide service in return; peers are intermittently connected and change IP addresses

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

Client-Server Architecture

A

Client computers use a centrally administered, always-on server to share data, data storage space, and devices.

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

Process

A

A program that is running within an end system

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

FTP

A

File Transfer Protocol: uses a TCP-based network to pass files from host to host.

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

Web Cache

A

A file that stores copies of Web pages to make frequently accessed pages load faster. (a.k.a. Proxy Server)

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

Define CDN

A

Content Delivery Network: a network of servers that deliver web content to users from locations closest to them, improving performance and reliability.

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

CBR

A

Constant Bit Rate: video encoding rate fixed

17
Q

VBR

A

Variable Bit Rate: video encoding rate changes as amount of spatial, temporal coding changes

18
Q

DASH

A

Dynamic, Adaptive Streaming over HTTP

19
Q

DNS

A

Domain Name System - Maps domain names to IP addresses.

20
Q

Cookies

A

Small text files stored on a user’s computer by a web server.

21
Q

Application Layer Protocols (4)

A

HTTP, FTP, SMTP, POP3/IMAP

22
Q

TLD

A

Top Level Domain. The last section of the domain name (e.g. “.com” or “.org”)

23
Q

Root name server

A

13 servers around the world that contain all IP address mappings for all domain names in existence. It is essentially the master “phone book” of the internet to look everything up.

24
Q

DNS spoofing

A

the DNS server is given information about a name server that it thinks is legit when it isn’t

25
Q

HTTP Status Codes

A

1xx : informational / 2xx : success / 3xx : redirection / 4xx : client error / 5xx : server error

26
Q

Data integrity for applications

A

some apps (e.g., file transfer, web transactions) require 100% reliable data transfer, while other apps (e.g., audio) can tolerate some loss

27
Q

Timing for applications

A

some apps (e.g., Internet telephony, interactive games) require low delay to be “effective”

28
Q

POST method

A
  • web page often includes form input
  • user input sent from client to server in entity body of HTTP POST request message
29
Q

GET method

A
  • Used to retrieve data from a server.
  • include user data in URL field of HTTP GET request message (following a ‘?’):
    www.site.com/search?monkeys&banana
30
Q

HEAD method

A

requests headers (only) that would be returned if specified URL were requested with an HTTP GET method.

31
Q

PUT method

A
  • uploads new file (object) to server
  • completely replaces file that exists at specified URL with content in entity body of POST HTTP request message
32
Q

HTTP 1.0 vs 2

A

HTTP 1.0: One request per connection, slow page loads.
HTTP 2: Multiple requests per connection, faster page loads, header compression.

33
Q

Email components (3)

A

User agents, mail servers, SMTP

34
Q

DNS name resolution queries (2)

A

Iterative query: “I don’t know this name, but ask this server”
Recursive query: Client asks server, server queries other servers until it finds the answer, then returns it to the client.

35
Q

Headers

A
  • info added to data packets at each layer of the network protocol stack.
  • Contains metadata like source and destination addresses, port numbers, and protocol information.
36
Q

SMTP

A

Simple Mail Transfer Protocol - The main protocol used to send electronic mail from server to server on the Internet.

37
Q

TTL

A

Time to Live

38
Q

RTT

A

Round Trip Time: time for a small packet to travel from client to server and back.