Self Studies

Computer Networks Test 6

Result Self Studies

Computer Networks Test 6
  • Score

    -

    out of -
  • Rank

    -

    out of -
TIME Taken - -
Self Studies

SHARING IS CARING

If our Website helped you a little, then kindly spread our voice using Social Networks. Spread our word to your readers, friends, teachers, students & all those close ones who deserve to know what you know now.

Self Studies Self Studies
Weekly Quiz Competition
  • Question 1
    1 / -0
    Which of the following protocol pairs can be used to send and retrieve e-mails respectively?
    Solution
    • Simple Mail Transfer Protocol (SMTP) is the standard protocol for sending emails across the Internet.
    • IMAP and POP3 are the Internet mail protocols used for retrieving emails.
    • MIME allows the users to exchange different kinds of data files in an email: audio, video, images, etc.
    • SMPT, POP3 and SMTP, IMAP are the possible correct answer in which only SMTP, IMAP is present in option D.
  • Question 2
    1 / -0

    Match the following protocol with its corresponding port number.

    Protocol

    Port

    A. FTP

    1. 80

    B. SMTP

    2. 20

    C. HTTP

    3. 25

    Solution

    PROTOCOL

    PORT

    DESCRIPTION

    FTP

    20,21

    File Transfer

    SMTP

    25

    Email

    HTTP

    80

    World Wide Web

  • Question 3
    1 / -0

    Which pair of protocols will use only single TCP connections between the same client and the server?

    Choose the most appropriate answer among the given pairs.

    Solution

    Hypertext transfer protocol (HTTP):

    • HTTP is used to access data on the world wide web. HTTP functions as a combination of FTP and SMTP. HTTP uses the services of TCP port number 80. HTTP is a stateless protocol.
    • HTTP prior to version 1.1 specified a non-persistent connection, while a persistent connection is a default.
    • In a non-persistent connection, one TCP connection is made for each request/ response. The client opens a TCP connection and sends a request and server sends the response then closes the connection.


    File Transfer Protocol (FTP):

    • FTP stands for file transfer protocol. It is provided by TCP/IP for copying a file from one host to another. FTP can transfer a file through one of the following three modes: stream mode, block mode and compressed mode. Stream mode is the default mode.
    • FTP uses two TCP connections one for data and another for control.

    Simple Transfer Protocol (SMTP):

    • SMTP is a push protocol, it can push the messages from the client to the server only.
    • SMTP uses one TCP connection at a time


    TELNET:

    • TELNET is a client/ server application that allows a user to log on to a remote machine, giving the user access to the remote system.
    • TELNET uses one TCP connection at a time.

    Important Point:

    Option 1 is not correct since HTTP might have more than one TCP connections for a single web page.

  • Question 4
    1 / -0
    Which application layer protocol uses EHLO command?
    Solution
    • SMTP is a simple ASCII protocol. The use of SMTP with extensions is called ESMTP (Extended SMTP).
    • Extended HELO (EHLO) is an Extended Simple Mail Transfer Protocol (ESMTP) command sent by an email server to identify itself when connecting to another email server to start the process of sending an email.

    Options in ESMTP:

    Keyword

    Description

    AUTH

    Client authentication

    BINARYMIME

    Server accepts binary messages

    CHUNKING

    Server accepts large messages in chunks

    SIZE

    Check message size before trying to send

    STARTTLS

    Switch to secure transport

    UTF8SMTP

    Internationalized addresses

  • Question 5
    1 / -0

    Consider the following statements about electronic mail:

    S1: When both sender and receiver are connected to the mail server via a LAN or a WAN, we need two user agents, two message transfer agents and message access agents.

    S2: SMTP can be used in all message transfer phases (connection establishment, mail transfer and connection termination) to put the messages from the client to the server and to get back the messages from the server to the client.

    S3: SMTP is a push protocol and POP3 is a pull protocol.

    Which of the above statement/s is/are TRUE?

    Solution
    When both sender and receiver are connected the mail server via a LAN or a WAN we need two user agents, two pairs of message transfer agents and one pair of message access agents. As SMTP is a push protocol, it can push the messages from the client to the server only, it cannot pull the messages from the server to the client.
  • Question 6
    1 / -0

    Which of the following is/are the stateless Application layer protocol?

    P) DNS

    Q) HTTP

    R) POP3

    S) UDP

    Solution

    Concept:

    Stateless Protocols are the type of network protocols in which the client sends the request to the server and server response back according to the current state.

    It does not require the server to retain session information or status about each communicating partner for multiple requests.

    Explanation:

    Application Layer protocol: HTTP and DNS, POP3

    Transport Layer protocol: UDP

    Stateless protocol: HTTP, UDP, DNS

    Stateful protocol: POP3

    Therefore, DNS and HTTP is a stateless application layer protocol

    Important Point:

    The Domain Name System (DNS) is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network.

    It translates more readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols.

    The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resources that the user can easily access.

  • Question 7
    1 / -0

    Consider a client makes a request for a web page through his web browser to a web server. The web browser is configured to send HTTP requests in non-persistent mode. The web page contains text and 3 small images. Initially, the browser cache of the client is empty. What is the product of the minimum number of TCP connections required to display the web page completely in the client's browser?

    Solution

    Concept:

    HTTP requests are of two types: persistent and non- persistent.

    In persistent mode, a single TCP connection is required for the entire HTTP session and all the objects fetched in that session.

    However, in the non- persistent mode, one TCP connection is required for each object to be fetched from the webserver.

    Explanation:

    The web page contains text and 4 small images, that is, total 5 objects. Therefore, in non- persistent mode, 5 TCP connections would be required. 

    Important point:

    If in the question, term ‘persistent’ was used instead of ‘non-persistent’, only 1 TCP connection would have been needed.
  • Question 8
    1 / -0

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

    The correct order in which the following actions take place in an interaction between a web browser and a web server

    Step 1:

    The web browser first needs to figure out IP address of site from URL using DNS. This is typically called domain name resolution.

    Step 2:

    TCP connection is established mostly at port 80.

    Step 3:

    Once the TCP connection is established, the browser sends an HTTP request using GET method.

    Step 4:

    Finally, web server responds with HTTP response that is, the page we requested.

    Hence, the correct sequence of actions is 4, 2, 1, 3

  • Question 9
    1 / -0

    Which is/are the limitation of SMTP?

    I. No encryption

    II. transfer only ASCII messages

    III. No authentication

    Solution

    The basic SMTP works well, but it is limited in several respects:

    → It does not include authentication. This means that the FROM command give any sender address that it wants. This is quite useful for sending spam.

    → Another limitation is that SMTP transfers ASCII messages, not binary data. Therefore, the base64 MIME content transfer encoding was needed. However, with that encoding the mail transmission uses bandwidth inefficiently, which is an issue for large messages.

    → A third limitation is that SMTP sends messages in the clear. It has no encryption to provide a measure of privacy against prying eyes.

  • Question 10
    1 / -0

    What of the following is/are true about the FTP protocol?

    I. It is out-of-band protocol

    II. It is stateless protocol

    III. FTP uses TCP at transport layer
    Solution
    • FTP is out-of-band protocol since control connection and data connection operates on different port number.
    • FTP is stateful protocol because it knows about the user activity and maintain a record of it
    • FTP uses TCP at transport layer for reliability. 
Self Studies
User
Question Analysis
  • Correct -

  • Wrong -

  • Skipped -

My Perfomance
  • Score

    -

    out of -
  • Rank

    -

    out of -
Re-Attempt Weekly Quiz Competition
Selfstudy
Selfstudy
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now