Computer Networks
OSI/TCP-IP Layers & Routing
GATE 2014
Medium
Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.
1. The web browser requests a webpage using HTTP. 2. The web browser establishes a TCP connection with the web server. 3. The web server sends the requested webpage using HTTP. 4. The web browser resolves the domain name using DNS.
- 4,2,1,3
- B1,2,3,4
- C4,1,2,3
- D2,4,1,3
Explanation
The browser must first resolve the domain name to an IP address via DNS (4), then establish a TCP connection to that IP (2), then send the HTTP request (1), and finally the server responds with the page (3): 4,2,1,3.
Source: GATE CS 2014 (Session 1) (2014)
This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.