Machine-translated by Google. Questions are authored in English.
Top

Discussion

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

(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3

  • A.(i) and (ii) only
  • B.(ii) and (iii) only
  • C.(ii) and (iv) only
  • D.(iv) only

Answer: C

The stateful application layer protocols are (ii) and (iv) only, FTP and POP3.

A stateful protocol keeps session state between requests. FTP keeps the login, current directory and transfer mode for the life of the control connection. POP3 moves through states (authorization, transaction, update) and remembers which messages are marked for deletion.

HTTP is stateless: each request is independent, which is why cookies were added on top. TCP keeps connection state but is a transport layer protocol, not an application layer one, so options including (i) or (iii) are wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.