The GATE Grind

GATE 2016 CS (CS2) – Question 35

Computer Networks · Application Layer: DNS and HTTP · 1 mark · Multiple choice

A host has just restarted and its browser requests a remote webpage. Order the listed packets.

  1. HTTP GET, DNS query, TCP SYN
  2. DNS query, HTTP GET, TCP SYN
  3. DNS query, TCP SYN, HTTP GET
  4. TCP SYN, DNS query, HTTP GET

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) DNS query, TCP SYN, HTTP GET

Explanation

Resolve the server name through DNS first. Initiate the TCP connection with SYN next and complete the handshake. Send HTTP GET through the established connection afterward. The listed order is DNS query, TCP SYN, HTTP GET, C; any link-address discovery is outside the supplied list.

More Application Layer: DNS and HTTP questions

All Application Layer: DNS and HTTP questions →