StreakPeaked· Practice

ExamsGATETechnical

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.

  1. 4,2,1,3
  2. 1,2,3,4
  3. 4,1,2,3
  4. 2,4,1,3

Correct answer: 4,2,1,3

Solution

The correct order begins with the web browser resolving the domain name through DNS, which is necessary to find the server's IP address. Next, it establishes a TCP connection to ensure reliable communication. After the connection is established, the browser sends an HTTP request for the webpage, and finally, the server responds by sending the requested webpage back to the browser.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →