Lecture 3. Application Layer. B1Chapters 15 Flashcards

(18 cards)

1
Q

Q: Which layers of the OSI model correspond to the TCP/IP application layer?

A

A: The application, presentation, and session layers of the OSI model.

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

Q: What is the main purpose of the application layer in networking?

A

A: It provides the interface between end-user applications and the underlying network to transmit messages.

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

Q: Name some of the most widely used application layer protocols.

A

A: HTTP, FTP, TFTP, IMAP, DNS.

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

Q: What are the main functions of the presentation layer?

A

A:
Formatting or presenting data
Data compression
Data encryption and decryption

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

Q: What does the session layer do?

A

A:
Creates and maintains dialogs (sessions) between applications
Handles setup, coordination, and termination of sessions
Keeps data properly synchronized and organized during communication

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

Q: What is HTTP and what type of protocol is it?

A

A: HTTP (HyperText Transfer Protocol) is a request/response protocol for web communication.

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

Q: What are the three common HTTP methods and their purposes?

A

A:
GET: Requests data from a server (e.g., asks for a web page)
POST: Submits data to a server (e.g., form data)
PUT: Uploads or replaces resources on a server (e.g., file upload)

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

Q: What are the main protocols used for email?

A

SMTP: Used to send emails
POP and IMAP: Used by clients to receive emails

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

Q: What is the purpose of DNS?

A

A: DNS (Domain Name System) translates human-readable domain names into numeric IP addresses.

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

Q: What are some tools or commands to interact with DNS?

A

A:
- nslookup (command to query DNS)
- ipconfig /displaydns (shows DNS cache on Windows)

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

Q: What is DHCP and what does it do?

A

A: DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses, subnet masks, gateways, and other network parameters to devices.

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

Q: What is FTP and what are its basic commands?

A

A: FTP (File Transfer Protocol) is used to transfer files between computers.
- ftp <ip>: Open FTP session
- dir: List all directories and files on the server
- get: Download files from the server
- put: Upload files to the server</ip>

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

Q: What is TFTP and how does it differ from FTP?

A

A: TFTP (Trivial File Transfer Protocol) is a simpler protocol than FTP, typically used for transferring small files without authentication.

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

Q: What is SMB and what is it used for?

A

A: SMB (Server Message Block) is a protocol for sharing files, printers, and other resources over a network.

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

What is the role of the application, presentation, and session layers in client-server communication?

A
  • Application layer: Provides user interface and application services
  • Presentation layer: Ensures data is in a usable format (formatting, encrypting, compressing)
  • Session layer: Manages sessions, establishes and maintains connections
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Q: Why were domain names created?

A

A: To provide a simple, recognizable way for humans to access networks, instead of using numeric IP addresses.

17
Q

Q: What is the interface that the application layer provides?

A

A: The interface between user/business applications and the network.

18
Q

Q: What is the function of an email server and client?

A

A:
- Email server: Stores emails and manages their transmission
- Email client: Communicates with the server to send and receive messages