Ads Here

Wednesday, January 10, 2018

Computer Networks 2014(3)

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.

(A) 4,2,1,3
(B) 1,2,3,4
(C) 4,1,2,3
(D) 2,4,1,3

Answer: (A)

When browser request a webpage in the following three steps.

Step 1: The client browser initiates a DNS query for remote server to resolve name to IP Address.

Step 2: The client browser sends a connection request to the application server. This will be done by TCP SYN packet in TCP three way handshake.

Step 3: After establish connection, the client browser request the data from the server with HTTP GET request. 

Step 4: Server will send requested page to the client via HTTP.

No comments:

Post a Comment