Computer Networks

Back to Computer Networks

Module 5: Application Layer & Security

  1. 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

    A proxy server is used as the computer

    (i) with external access
    (ii) acting as a backup
    (iii) performing file handling
    (iv) accessing user permissions

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  2. Q1b. Application layer is implemented on: (i) end systems (ii) NIC (iii) ethernet (iv) route20192m

    Module 5: Application Layer & Security

    Application layer is implemented on:
    (i) end systems
    (ii) NIC
    (iii) ethernet
    (iv) route

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  3. Q1b. Application layer is implemented on: (i) end systems (ii) NIC (iii) ethernet (iv) route20182m

    Module 5: Application Layer & Security

    Application layer is implemented on:
    (i) end systems
    (ii) NIC
    (iii) ethernet
    (iv) route

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  4. 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

    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 link

    View this question on its own page →
    Worked Solution

    Answer

    (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).

  5. 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

    What type of application would prefer UDP transport service?
    (i) Video conferencing
    (ii) World Wide Web (WWW)
    (iii) Online chess game
    (iv) Email

    View this question on its own page →
    Worked Solution

    Answer

    (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.

  6. 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

    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 bytes

    View this question on its own page →
  7. Q1g. What is the port number for POP3? (i) 110 (ii) 90 (iii) 80 (iv) 4920202m

    Module 5: Application Layer & Security

    What is the port number for POP3?

    (i) 110
    (ii) 90
    (iii) 80
    (iv) 49

    View this question on its own page →
  8. Q1g. 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

    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 request

    View this question on its own page →
  9. Q1h. 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

    FTP server

    (i) maintains state information
    (ii) is stateless
    (iii) has single TCP connection for a file transfer
    (iv) has UDP connection for file transfer

    View this question on its own page →
  10. Q1h. What do you mean by connectionless service?20152m

    Module 5: Application Layer & Security

    What do you mean by connectionless service?

    View this question on its own page →
  11. 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

    The protocol on which DNS application run is:
    (i) Telnet
    (ii) UDP
    (iii) HTTP
    (iv) None of the above

    View this question on its own page →
  12. Q1j. __________ 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

    __________ allows you to connect and login to a remote computer.
    (i) Telnet
    (ii) FTP
    (iii) HTTP
    (iv) None of the above

    View this question on its own page →
  13. Q7a. 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

    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?

    View this question on its own page →
  14. Q8b. Write down the similarities and differences between Hyper-Text Transfer Protocol (HTTP) and File Transfer Protocol (FTP)20237m

    Module 5: Application Layer & Security

    Write down the similarities and differences between Hyper-Text Transfer Protocol (HTTP) and File Transfer Protocol (FTP)

    View this question on its own page →
  15. Q8b. Describe the functions of the two FTP connections. What kinds of file types can FTP transfer?20167m

    Module 5: Application Layer & Security

    Describe the functions of the two FTP connections. What kinds of file types can FTP transfer?

    View this question on its own page →
  16. 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

    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.

    View this question on its own page →
  17. 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

    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?

    View this question on its own page →
  18. Q9b. Write short notes on: DNS20237m

    Module 5: Application Layer & Security

    Write short notes on: DNS

    View this question on its own page →
  19. Q9b. Compare the following terms: (b) Unicast vs Multicast201914m

    Module 5: Application Layer & Security

    Compare the following terms: (b) Unicast vs Multicast

    View this question on its own page →
  20. Q9d. Write short notes on: Telnet20237m

    Module 5: Application Layer & Security

    Write short notes on: Telnet

    View this question on its own page →