ApplicationLayerI Flashcards

1
Q

What is the purpose of the Application Layer?

A

It provides network services directly to user applications, such as email, file transfer, and web browsing.

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

Explain the client-server model.

A

A client requests services from a server, which provides responses. Clients initiate communication, servers wait for incoming requests.

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

What is a peer-to-peer system?

A

A system where nodes act as both clients and servers, sharing resources directly without centralized control.

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

How does HTTP operate at the application layer?

A

HTTP is a stateless protocol used for web communication. It uses TCP for reliable delivery, with non-persistent or persistent connections.

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

Difference between persistent and non-persistent HTTP.

A

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

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

Explain the role of a socket in network communication.

A

A socket is an endpoint for sending or receiving data across a network. It combines an IP address and port number.

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

What does DNS provide in networking?

A

DNS (Domain Name System) translates human-readable domain names into IP addresses used for network routing.

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

What happens when a URL is entered into a browser?

A

Browser queries DNS for IP, establishes TCP connection to server, sends HTTP request, and receives HTTP response to display content.

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

Describe SMTP protocol.

A

Simple Mail Transfer Protocol (SMTP) is used to send emails between mail servers. It uses TCP for reliable transmission.

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

What are POP3 and IMAP used for?

A

They are email retrieval protocols. POP3 downloads and deletes messages from server, IMAP allows managing emails directly on the server.

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