A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage. The webpage consists of a top-level index page with multiple embedded image objects. Assume all caches are initially empty. The following packets leave the user's computer in some order: (i) HTTP GET request for the index page (ii) DNS request to resolve the web server's name to its IP address (iii) HTTP GET request for an image object (iv) TCP SYN to open a connection to the web server. Which one is the CORRECT chronological order?
DNS resolves the IP first, then TCP SYN opens the connection, then GET for the index page, and only after parsing it are image GETs sent. Order: ii, iv, i, iii.
More Application Layer: DNS and HTTP questions
GATE 2023 CS Q52– Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is…
GATE 2022 CS Q35– Consider the resolution of the domain name www.gate.org.in by a DNS resolver. Assume that…
GATE 2020 CS Q35– Assume that you have made a request for a web page through your web browser to a web…
GATE 2019 CS Q26– Which one of the following protocol pairs can be used to send and retrieve e-mails (in…
GATE 2015 CS (CS1) Q24– Suppose that everyone in a group of N people wants to communicate secretly with the N-1…
GATE 2015 CS (CS1) Q25– Which of the following statements is/are FALSE? I. XML overcomes the limitations in HTML…