Computer Networks
Module 5: Application Layer & Security
Q1a. A proxy server is used as the computer (i) with external access (ii) acting as a backup (iii) performing file handling (iv) accessing user permissions20222m
Module 5: Application Layer & Security
View this question on its own page →A proxy server is used as the computer
(i) with external access
(ii) acting as a backup
(iii) performing file handling
(iv) accessing user permissionsWorked SolutionAnswer
(i) with external access
Explanation
A proxy server acts as an intermediary between a client and another server, commonly on an external network such as the Internet. Instead of directly contacting the destination server, the client sends its request to the proxy, and the proxy forwards the request and returns the response.
A proxy can provide functions such as:
- Controlled external access to Internet resources.
- Caching frequently requested content.
- Filtering and access control according to organizational policies.
- Privacy/security by hiding internal client details from external servers in some configurations.
Option analysis
- (i) with external access: Correct in the context of this MCQ. A proxy mediates access between an internal client and external resources.
- (ii) acting as a backup: Backup servers are used for redundancy/data recovery, not as the primary definition of a proxy.
- (iii) performing file handling: File handling is not the defining purpose of a proxy server.
- (iv) accessing user permissions: A proxy may enforce access policies, but user-permission management is not its fundamental role.
Final answer: (i) with external access.
Q1b. Application layer is implemented on: (i) end systems (ii) NIC (iii) ethernet (iv) route20192m
Module 5: Application Layer & Security
View this question on its own page →Application layer is implemented on:
(i) end systems
(ii) NIC
(iii) ethernet
(iv) routeWorked SolutionAnswer
(i) End systems
Explanation
The Application layer contains protocols and services used directly by network applications such as HTTP, SMTP, DNS, and FTP. These application processes run on end systems (hosts) rather than on intermediate forwarding devices such as routers or switches.
Final answer: (i) end systems.
Q1b. Application layer is implemented on: (i) end systems (ii) NIC (iii) ethernet (iv) route20182m
Module 5: Application Layer & Security
View this question on its own page →Application layer is implemented on:
(i) end systems
(ii) NIC
(iii) ethernet
(iv) routeWorked SolutionAnswer
(i) End systems
Explanation
The Application layer contains protocols and services used directly by network applications, such as HTTP, DNS, SMTP, and FTP. These applications run on end systems (hosts).
NICs and Ethernet are associated with lower networking layers, while routers are intermediate forwarding devices.
Final answer: (i) End systems.
Q1d. Which one of the following statements is FALSE? (i) HTTP runs over TCP (ii) HTTP describes the structure of web pages (iii) HTTP allows information to be stored in a URL (iv) HTTP can be used to test the validity of a hypertext link20162m
Module 5: Application Layer & Security
View this question on its own page →Which one of the following statements is FALSE?
(i) HTTP runs over TCP
(ii) HTTP describes the structure of web pages
(iii) HTTP allows information to be stored in a URL
(iv) HTTP can be used to test the validity of a hypertext linkWorked SolutionAnswer
(iii) HTTP allows information to be stored in a URL is the FALSE statement.
Explanation
- (i) HTTP runs over TCP: True in the traditional HTTP/1.0, HTTP/1.1 and HTTP/2 model. (HTTP/3 uses QUIC over UDP, but that is outside the traditional framing of this PYQ.)
- (ii) HTTP describes the structure of web pages: In exam terminology, HTTP is the Web's application protocol for requesting and transferring resources; HTML actually describes the structure of web pages. Thus this wording is imprecise, but it is not the intended false option in the question.
- (iii) HTTP allows information to be stored in a URL: False. A URL identifies/locates a resource; HTTP is the protocol used to request and transfer that resource. Information such as query parameters can be encoded in a URL, but HTTP itself does not 'store' information in the URL.
- (iv) HTTP can be used to test the validity of a hypertext link: True in the traditional HTTP model; methods such as HEAD can be used to check resource availability without retrieving the full representation.
Final answer: (iii).
Q1e. What type of application would prefer UDP transport service? (i) Video conferencing (ii) World Wide Web (WWW) (iii) Online chess game (iv) Email20232m
Module 5: Application Layer & Security
View this question on its own page →What type of application would prefer UDP transport service?
(i) Video conferencing
(ii) World Wide Web (WWW)
(iii) Online chess game
(iv) EmailWorked SolutionAnswer
(i) Video conferencing
Explanation
UDP is connectionless and does not provide TCP-style reliable, ordered delivery. This makes it useful for real-time applications where low delay is more important than retransmitting every lost packet.
In video conferencing, a small amount of packet loss may be preferable to the delay caused by retransmission. Real-time media applications can also use application-level mechanisms to handle loss.
- WWW: Traditionally uses TCP (modern HTTP/3 uses QUIC over UDP, but this question follows the traditional model).
- Email: Uses TCP-based protocols such as SMTP.
- Online chess: Usually prioritizes reliable delivery of moves and can use TCP.
Final answer: (i) Video conferencing.
Q1g. What is the maximum size of data that the application layer can pass onto the TCP layer below? (i) Any size (ii) 2^16 bytes-size of TCP header (iii) 2^16 bytes (iv) 1500 bytes20212m
Module 5: Application Layer & Security
View this question on its own page →What is the maximum size of data that the application layer can pass onto the TCP layer below?
(i) Any size
(ii) 2^16 bytes-size of TCP header
(iii) 2^16 bytes
(iv) 1500 bytesQ1g. What is the port number for POP3? (i) 110 (ii) 90 (iii) 80 (iv) 4920202m
Module 5: Application Layer & Security
View this question on its own page →What is the port number for POP3?
(i) 110
(ii) 90
(iii) 80
(iv) 49Q1g. Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted. (i) HTTP GET request, DNS query, TCP SYN (ii) DNS query, HTTP GET request, TCP SYN (iii) DNS query, TCP SYN, HTTP GET request (iv) TCP SYN, DNS query, HTTP GET request20162m
Module 5: Application Layer & Security
View this question on its own page →Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.
(i) HTTP GET request, DNS query, TCP SYN
(ii) DNS query, HTTP GET request, TCP SYN
(iii) DNS query, TCP SYN, HTTP GET request
(iv) TCP SYN, DNS query, HTTP GET requestQ1h. FTP server (i) maintains state information (ii) is stateless (iii) has single TCP connection for a file transfer (iv) has UDP connection for file transfer20222m
Module 5: Application Layer & Security
View this question on its own page →FTP server
(i) maintains state information
(ii) is stateless
(iii) has single TCP connection for a file transfer
(iv) has UDP connection for file transferQ1h. What do you mean by connectionless service?20152m
Module 5: Application Layer & Security
View this question on its own page →What do you mean by connectionless service?
Q1i. The protocol on which DNS application run is: (i) Telnet (ii) UDP (iii) HTTP (iv) None of the above20192m
Module 5: Application Layer & Security
View this question on its own page →The protocol on which DNS application run is:
(i) Telnet
(ii) UDP
(iii) HTTP
(iv) None of the aboveQ1j. __________ allows you to connect and login to a remote computer. (i) Telnet (ii) FTP (iii) HTTP (iv) None of the above20192m
Module 5: Application Layer & Security
View this question on its own page →__________ allows you to connect and login to a remote computer.
(i) Telnet
(ii) FTP
(iii) HTTP
(iv) None of the aboveQ7a. DNS uses UDP instead of TCP. If a DNS packet is lost, there is no automatic recovery. Does this cause a problem, and if so, how is it solved?20167m
Module 5: Application Layer & Security
View this question on its own page →DNS uses UDP instead of TCP. If a DNS packet is lost, there is no automatic recovery. Does this cause a problem, and if so, how is it solved?
Q8b. Write down the similarities and differences between Hyper-Text Transfer Protocol (HTTP) and File Transfer Protocol (FTP)20237m
Module 5: Application Layer & Security
View this question on its own page →Write down the similarities and differences between Hyper-Text Transfer Protocol (HTTP) and File Transfer Protocol (FTP)
Q8b. Describe the functions of the two FTP connections. What kinds of file types can FTP transfer?20167m
Module 5: Application Layer & Security
View this question on its own page →Describe the functions of the two FTP connections. What kinds of file types can FTP transfer?
Q9. Differentiate between POP3 and IMAP4. Suppose Alice, with a Web-based e-mail account (such as Hotmail or Gmail), sends a message to Bob, who accesses his mail from his mail server using POP3. Discuss how the message gets from Alice's host to Bob's host. Be sure to list the series of application-layer protocols that are used to move the message between the two hosts.202114m
Module 5: Application Layer & Security
View this question on its own page →Differentiate between POP3 and IMAP4. Suppose Alice, with a Web-based e-mail account (such as Hotmail or Gmail), sends a message to Bob, who accesses his mail from his mail server using POP3. Discuss how the message gets from Alice's host to Bob's host. Be sure to list the series of application-layer protocols that are used to move the message between the two hosts.
Q9a. What kinds of file types can FTP transfer? What are the three FTP transmission modes? Describe the functions of the two FTP connections. How does storing a file differ from retrieving a file?20207m
Module 5: Application Layer & Security
View this question on its own page →What kinds of file types can FTP transfer? What are the three FTP transmission modes? Describe the functions of the two FTP connections. How does storing a file differ from retrieving a file?
Q9b. Write short notes on: DNS20237m
Module 5: Application Layer & Security
View this question on its own page →Write short notes on: DNS
Q9b. Compare the following terms: (b) Unicast vs Multicast201914m
Module 5: Application Layer & Security
View this question on its own page →Compare the following terms: (b) Unicast vs Multicast
Q9d. Write short notes on: Telnet20237m
Module 5: Application Layer & Security
View this question on its own page →Write short notes on: Telnet