CNS Gate Mod1
CNS Gate Mod1
CNS Gate Mod1
1. The protocol data unit (PDU) for the application layer in the Internet stack is
a. Segment b. Datagram c. Message d. Frame
3. What is the maximum size of data that the application layer can pass on to the TCP layer below?
a) Any size
b) 216 bytes - size of TCP header
c) 216 bytes
d) 1500 bytes
4. Identify the correct order in which the following actions take place in an interaction between a web
browser and a web server.
1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.
a) 4,2,1,3
b) 1,2,3,4
c) 4,1,2,3
d) 2,4,1,3
5. A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage
from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S.
Assuming no caching, which one of the following is correct about the HTML webpage loading (including
the embedded image)?
a) Q needs to send at least 2 HTTP requests to S, each necessarily in a separate TCP
connection to server S
b) Q needs to send at least 2 HTTP requests to S, but a single TCP connection to server S is
sufficient
c) A single HTTP request from Q to S is sufficient, and a single TCP connection between
Q and S is necessary for this
d) A single HTTP request from Q to S is sufficient, and this is possible without any TCP
connection between Q and S
6. In one of the pairs of protocols given below, both the protocols can use multiple TCP connections
between the same client and the server. Which one is that?
a) HTTP, FTP
b) HTTP, TELNET
c) FTP, SMTP
d) HTTP, SMTP
7. Which one of the following statements is NOT correct about HTTP cookies?
a) A cookies is a piece of code that has the potential to compromise the security of an
Internet user
b) A cookie gains entry to the user’s work area through an HTTP header
c) A cookie has an expiry date and time
d) Cookies can be used to track the browsing pattern of a user at a particular site
8. An application layer is an abstraction layer that specifies the shared communications protocols and
interface methods used by hosts in a communications network. Consider the following statements
regarding various application layer protocols:
(S1): DNS uses the Transmission Control Protocol (TCP) as transport protocol.
(S2): Domain Name System (DNS) is Networking support protocol which uses User Datagram Protocol
(UDP) as transport protocol.
(S3): Simple Mail Transfer Protocol (SMTP) is a Remote host management protocol which is used to
manage network core devices
10. Which one of the following uses UDP as the transport protocol?
(a) HTTP (c) DNS
(b) Telnet (d) SMTP