ApplicationLayerII Flashcards

1
Q

What is the difference between non-persistent and persistent HTTP?

A

Non-persistent HTTP opens a new TCP connection for each object request. Persistent HTTP reuses a single TCP connection for multiple requests.

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

What is DNS caching?

A

DNS caching stores previous DNS query results locally to speed up future lookups and reduce the load on DNS servers.

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

Describe the structure of the DNS hierarchy.

A

DNS hierarchy: Root servers -> Top-level domain (TLD) servers -> Authoritative name servers -> Local DNS servers.

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

What services are provided by DNS?

A

DNS provides hostname-to-IP translation, host aliasing, and load distribution across replicated servers.

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

List the four types of DNS servers.

A

Root DNS servers, Top-level domain (TLD) servers, Authoritative DNS servers, Local DNS servers.

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

What is the function of SMTP?

A

SMTP (Simple Mail Transfer Protocol) is used to send emails between mail servers over a reliable TCP connection.

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

What does POP3 do?

A

POP3 (Post Office Protocol 3) downloads emails from the server to the client and usually deletes them from the server.

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

How does IMAP differ from POP3?

A

IMAP keeps emails on the server and allows management of mailboxes and folders directly on the server.

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

What is the role of a socket in communication?

A

A socket provides a communication endpoint that combines an IP address and a port number for sending/receiving data.

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

How is a TCP connection established between client and server?

A

The client creates a socket and connects it to the server’s socket (IP address + port number), initiating a connection request.

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