DNS questions

Q22

GATE CS 2026 CS-2Application LayerMCQ1 mark−1/3 if wrong
Which one of the following protocols may need to broadcast some of its messages?
Show answer without attempting

Answer: C

Q16

GATE CS 2024 CS-1Application LayerMCQ1 mark−1/3 if wrong
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are all 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 of the following is the CORRECT chronological order (earliest in time to latest) of the packets leaving the computer?
Show answer without attempting

Answer: C

Q52

GATE CS 2023 CSApplication LayerMSQ2 marks
Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is empty. The IP address for this URL is not cached in your local host, so a DNS lookup is triggered (by the local DNS server deployed on your local host) over the 3-tier DNS hierarchy in an iterative mode. No resource records are cached anywhere across all DNS servers.

Let RTT denote the round trip time between your local host and DNS servers in the DNS hierarchy. The round trip time between the local host and the web server hosting www.gate-2023.in is also equal to RTT. The HTML file associated with the URL is small enough to have negligible transmission time and negligible rendering time by your web browser, which references 10 equally small objects on the same web server.

Which of the following statements is/are CORRECT about the minimum elapsed time between clicking on the URL and your browser fully rendering it?
More than one option can be correct.
Show answer without attempting

Answer: C, D

Q35

GATE CS 2022 CSApplication LayerNAT1 mark
Consider the resolution of the domain name www.gate.org.in by a DNS resolver. Assume that no resource records are cached anywhere across the DNS servers and that iterative query mechanism is used in the resolution. The number of DNS query-response pairs involved in completely resolving the domain name is_____________.
Show answer without attempting

Answer: 4

Q25

GATE CS 2016 CS-2Application LayerMCQ1 mark−1/3 if wrong
Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server, assuming that the host has just been restarted.
Show answer without attempting

Answer: C

Q25

GATE CS 2014 CS-1Application LayerMCQ1 mark−1/3 if wrong
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.
Show answer without attempting

Answer: A

0/60 correct0 marks

Related topics in Application Layer