edited by
18,769 views
48 votes
48 votes

Which of the following is/are example(s) of stateful application layer protocol?

  1. $\textsf{HTTP}$
  2. $\textsf{FTP}$
  3. $\textsf{TCP}$
  4. $\textsf{POP3}$
  1. $\text{(i)}$ and $\text{(ii)}$ only
  2. $\text{(ii)}$ and $\text{(iii)}$ only
  3. $\text{(ii)}$ and $\text{(iv)}$ only
  4. $\text{(iv)}$ only
edited by

7 Answers

2 votes
2 votes

HTTP is stateless AL protocol.

FTP is stateful AL protocol.

TCP is stateful TL protocol.

POP3 is stateful AL protocol

 

Option C


More examples:-

Stateful: Telnet, IMAP, BGP, SMTP

Stateless: UDP, DNS

0 votes
0 votes
Stateful Protocol --> A protocol that requires keeping of the  internal state on server  is known as stateful protocol

Stateless Protocol --> Stateless protocol is a communication protocol in which no information is retained by either sender or receiver

Stateless - HTTP, IP
Stateful - FTP, SMTP, POP3, TCP

TCP is stateful as it maintains connection information across multiple transfers, but TCP is a Transport layer protocol
FTP and POP3 is stateful Application layer protocol
0 votes
0 votes

The question is asking which of the listed protocols are stateful application layer protocols.

Let's understand what a stateful protocol is before we delve into the answer.

A stateful protocol is one in which the system keeps track of the state of interaction, typically by setting values in a storage field designated for that purpose. It can remember and manage the state of the transaction. This is in contrast to a stateless protocol, which does not keep any record of past requests or responses.

  1. HTTP: HTTP is typically a stateless protocol. However, it can be made stateful using mechanisms like cookies, but inherently it is stateless.

  2. FTP: FTP is a stateful protocol. It maintains control connections for commands and status reports and opens data connections as needed. It keeps track of various details like the current directory, transmission mode, etc.

  3. TCP: TCP is not an application layer protocol. It's a transport layer protocol, and it is indeed stateful, but it's not relevant to the question.

  4. POP3: POP3 (Post Office Protocol version 3) is a stateful protocol at the application layer. It keeps track of whether emails on the server have been downloaded to the client, among other things.

So the answer to the question is option 3, FTP and POP3

Answer:

Related questions

58 votes
58 votes
11 answers
3
Sandeep Singh asked Feb 12, 2016
26,091 views
A sender uses the Stop-and-Wait $\text{ARQ}$ protocol for reliable transmission of frames. Frames are of size $1000$ bytes and the transmission rate at the sender is $80\...
34 votes
34 votes
6 answers
4
Sandeep Singh asked Feb 12, 2016
18,001 views
Which one of the following protocols is NOT used to resolve one form of address to another one?$\textsf{DNS}$$\textsf{ARP}$$\textsf{DHCP}$$\textsf{RARP}$