OA. free
Free
IBM Core Computer Science Core Computer Science Medium

Question 10 Which among these are stateful application layer protocol.

IBM technical mcq question, verified with a worked answer. Free to practise - no sign-up.

Which among these are stateful application layer protocol. Select all the correct choices.

Pick ONE OR MORE options

Choose one option.
Show answer & explanation
Answer: B. FTP

Stateful application layer protocols maintain connection state and require explicit session management. FTP maintains state across commands (control connection persists), and POP3 maintains authentication state across a session. HTTP is stateless (each request independent, though cookies add state at application level). TCP is a transport layer protocol, not an application layer protocol.

Step-by-step Derivation:
Classification by protocol layer and state characteristics:

  1. HTTP (Layer 7): Stateless protocol—each request is independent. Server doesn't inherently remember previous requests without cookies/sessions.

  2. FTP (Layer 7): Stateful—uses a persistent control connection that maintains state across multiple commands. Client authenticates once, then issues multiple commands on the same connection.

  3. TCP (Layer 4): Not an application layer protocol; it's a transport layer protocol. While TCP maintains connection state internally, it's not classified as an application layer protocol.

  4. POP3 (Layer 7): Stateful—maintains session state from login through email retrieval. Client authenticates, and the server tracks the authenticated session state.

Correct answers: B (FTP) and D (POP3) — both are stateful application layer protocols that maintain explicit session/connection state.