HTTP is which kind of protocol?

Prepare for the eLearnSecurity Junior Penetration Tester exam with our comprehensive quiz platform. Improve your skills with multiple-choice questions, detailed explanations, and exam tips. Get exam ready with ease!

Multiple Choice

HTTP is which kind of protocol?

Explanation:
HTTP is stateless at the application layer: each request from a client to a server is independent and the server does not automatically remember previous interactions. While HTTP runs over TCP, which is a connection-oriented and reliable transport, that reliability belongs to the transport layer, not to HTTP itself. If you need to preserve a session across requests, you use mechanisms like cookies or tokens to carry state, but that state is managed at the application level, not by the HTTP protocol by itself. Also, HTTP follows a client–server model, not a peer-to-peer one. So the best description is that HTTP is stateless.

HTTP is stateless at the application layer: each request from a client to a server is independent and the server does not automatically remember previous interactions. While HTTP runs over TCP, which is a connection-oriented and reliable transport, that reliability belongs to the transport layer, not to HTTP itself. If you need to preserve a session across requests, you use mechanisms like cookies or tokens to carry state, but that state is managed at the application level, not by the HTTP protocol by itself. Also, HTTP follows a client–server model, not a peer-to-peer one. So the best description is that HTTP is stateless.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy