Application Layer in Computer Networks: FTP, Email, Virtual Terminal & Common Protocols
0Sahil Dubey
COMPUTER NETWORKS • CHAPTER 36
Application Layer in Computer Networks: FTP, Email, Virtual Terminal & Common Protocols
When you open a website, send an email, transfer a file, search a domain name or remotely log in to another computer, you are using services that work very close to the Application Layer.
This layer does not mean Chrome, Gmail or WhatsApp itself is an OSI layer.
It means the Application Layer provides the network services and protocols that application software uses to communicate over a network.
FTPFile transfer
EmailSMTP, POP3, IMAP
Virtual TerminalRemote login concept
Web & NamingHTTP, HTTPS, DNS
Direct Answer
The Application Layer is Layer 7 of the OSI model and is the layer closest to application software.
It provides network services such as file transfer, email, web access, remote login, name resolution, automatic network configuration and network management.
Important Application Layer protocols include FTP, SMTP, POP3, IMAP, HTTP, HTTPS, DNS, DHCP, TELNET, SSH, SNMP, TFTP and NTP.
What Is the Application Layer?
The Application Layer is the seventh and highest layer of the OSI model.
It provides network services directly to application software.
Simple Definition:
The Application Layer provides protocols and services through which user applications communicate with other systems over a network.
For example:
A browser uses HTTP or HTTPS.
An email system uses SMTP, POP3 or IMAP.
A file-transfer program may use FTP.
A system may use DNS to convert a domain name into an IP address.
Important:
The web browser itself is not the Application Layer.
It is an application that uses Application Layer protocols.
Position of Application Layer in OSI Model
Layer 7
APPLICATION LAYER
Layer 6
Presentation Layer
Layer 5
Session Layer
Layer 4
Transport Layer
Layer 3
Network Layer
Layer 2
Data Link Layer
Layer 1
Physical Layer
Remember:
Application = Layer 7
It is the highest OSI layer.
Why Is the Application Layer Needed?
Lower layers can move data between systems, but applications still need rules that define:
How web pages are requested.
How files are transferred.
How email is submitted and retrieved.
How domain names are resolved.
How users remotely access another machine.
How network devices are monitored.
The Application Layer defines the communication rules understood by network applications.
Functions of the Application Layer
File Transfer
Allows files to be uploaded, downloaded and managed remotely.
Email Service
Supports sending, relaying and retrieving electronic mail.
Web Access
Allows browsers and web servers to exchange resources.
Name Resolution
Converts domain names into IP addresses.
Remote Login
Allows a user to access another computer remotely.
Network Management
Supports monitoring and management of network devices.
40. Give the easiest Application Layer memory line.
Answer: Application Layer is Layer 7 and provides network services such as web, email, file transfer, remote login, naming, configuration and network management.
20 Application Layer MCQs With Answers
1. Application Layer is OSI Layer:
A. 4
B. 5
C. 6
D. 7
Answer: D
2. FTP stands for:
A. File Transfer Protocol
B. Fast Transfer Process
C. File Transport Port
D. Frame Transfer Protocol
Answer: A
3. FTP control commonly uses port:
A. 20
B. 21
C. 22
D. 23
Answer: B
4. Which protocol is used mainly to send email?
A. POP3
B. IMAP
C. SMTP
D. SNMP
Answer: C
5. Which protocol is best known for synchronized mailbox access?
A. FTP
B. IMAP
C. TFTP
D. NTP
Answer: B
6. TELNET commonly uses port:
A. 21
B. 22
C. 23
D. 25
Answer: C
7. Secure remote login commonly uses:
A. TELNET
B. SSH
C. POP3
D. SMTP
Answer: B
8. SSH commonly uses port:
A. 20
B. 21
C. 22
D. 23
Answer: C
9. DNS is used to:
A. Transfer files
B. Resolve names
C. Send email
D. Synchronize clocks
Answer: B
10. DNS commonly uses port:
A. 25
B. 53
C. 67
D. 80
Answer: B
11. DHCP mainly provides:
A. Automatic IP configuration
B. Email transfer
C. Web pages
D. File compression
Answer: A
12. DHCP DORA contains:
A. Discover, Offer, Request, Acknowledge
B. Data, Output, Route, Access
C. Domain, Open, Resolve, Address
D. Discover, Open, Reply, Accept
Answer: A
13. HTTPS commonly uses port:
A. 80
B. 110
C. 443
D. 8080 only
Answer: C
14. POP3 commonly uses basic port:
A. 25
B. 53
C. 110
D. 143
Answer: C
15. IMAP commonly uses basic port:
A. 110
B. 123
C. 143
D. 161
Answer: C
16. SNMP is used for:
A. Network management
B. File transfer only
C. Remote terminal only
D. Email retrieval
Answer: A
17. TFTP commonly uses:
A. TCP 21
B. UDP 69
C. TCP 80
D. UDP 123
Answer: B
18. NTP is used for:
A. Time synchronization
B. File sharing
C. Email
D. Routing
Answer: A
19. Which statement is correct?
A. SMTP retrieves mail
B. DNS sends email
C. FTP transfers files
D. DHCP resolves domain names
Answer: C
20. The Application Layer is closest to:
A. Transmission medium
B. Application software
C. Ethernet cable only
D. Router hardware
Answer: B
Frequently Asked Questions
What is the Application Layer in simple words?
The Application Layer is OSI Layer 7 and provides network protocols and services directly used by application software.
What are the main functions of the Application Layer?
Its functions include file transfer, email, web access, remote login, name resolution, network configuration, network management and other application network services.
What is FTP?
FTP is File Transfer Protocol and is used to transfer files between a client and server.
Why does FTP use two connections?
FTP separates control commands from actual file and directory data, so it uses a control connection and a separate data connection.
What is SMTP?
SMTP is Simple Mail Transfer Protocol and is mainly used to submit and relay email.
What is the difference between POP3 and IMAP?
POP3 traditionally focuses on downloading email, while IMAP keeps mailbox data synchronized with the server and is better suited to access from multiple devices.
What is a Virtual Terminal?
A Virtual Terminal is a common logical terminal representation used to allow different terminal systems to communicate.
What is the difference between TELNET and SSH?
TELNET provides traditional remote terminal access without modern encryption, while SSH provides cryptographically protected remote login.
What is DNS?
DNS is the Domain Name System and maps domain names to IP addresses while also storing other domain-related records.
What is DHCP?
DHCP automatically provides network configuration such as IP address information to devices.
What is SNMP?
SNMP is Simple Network Management Protocol and is used to monitor and manage network devices.
Which protocols work at the Application Layer?
Common protocols include FTP, SMTP, POP3, IMAP, HTTP, HTTPS, DNS, DHCP, TELNET, SSH, SNMP, TFTP and NTP.