200-150 · Question #121
At which layer in the OSI stack does the Hypertext Transfer Protocol operate?
The correct answer is G. Layer 7. HTTP is an application-layer protocol that operates at Layer 7 of the OSI model.
Question
At which layer in the OSI stack does the Hypertext Transfer Protocol operate?
Options
- ALayer 1
- BLayer 2
- CLayer 3
- DLayer 4
- ELayer 5
- FLayer 6
- GLayer 7
How the community answered
(23 responses)- B4% (1)
- C4% (1)
- F4% (1)
- G87% (20)
Why each option
HTTP is an application-layer protocol that operates at Layer 7 of the OSI model.
Layer 1 is the Physical layer, concerned with electrical signals and physical media, not application protocols.
Layer 2 is the Data Link layer, which handles MAC addressing and framing between directly connected nodes.
Layer 3 is the Network layer, responsible for logical IP addressing and packet routing between networks.
Layer 4 is the Transport layer, which provides end-to-end delivery via TCP or UDP - HTTP rides on top of TCP but is not itself a transport-layer protocol.
Layer 5 is the Session layer, which manages session establishment and synchronization between communicating hosts.
Layer 6 is the Presentation layer, responsible for data encoding, encryption, and format translation between systems.
HTTP operates at OSI Layer 7 (Application layer), which defines protocols for direct interaction with end-user applications - HTTP provides the request/response messaging rules used by web clients and servers, making it a classic application-layer protocol.
Concept tested: HTTP placement in the OSI model
Source: https://www.rfc-editor.org/rfc/rfc9110
Topics
Community Discussion
No community discussion yet for this question.