GATE / CS ARCHIVE

GATE CSE 2014 SET 1 / QUESTION 25

GATE CSE 2014 Set 1 Q25

Computer Networks · Application Protocols · Full GATE CSE 2014 Set 1 paper

GATE 2014 Set 1, Q25 1 mark · MCQ
Report issue

Application Protocols

Question 25, GATE 2014: Order these actions for a conventional fresh browser/server interaction: 1 send an HTTP webpage request; 2 establish TCP; 3 server sends the webpage using HTTP; 4 resolve the domain via DNS. A: 4,2,1,3. B: 1,2,3,4. C: 4,1,2,3. D: 2,4,1,3.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

1. Method and setup. The browser first needs a destination IP address, then a transport connection, before it can send the application request. The server’s response depends on receiving that request. This is the dependency order for the listed HTTP-over-TCP setup, not a claim about cached or connection-reusing requests or HTTP/3.

2. Work through the result and its assumptions. For a fresh conventional HTTP-over-TCP fetch, resolve the server using DNS, establish TCP, send the HTTP request, then receive the HTTP response: 4, 2, 1, 3, A. Cached DNS or an existing connection can skip steps, but do not change their dependency order when all listed steps occur.

Original paper, page 13 · Answer key