Suppose you are using an HTML browser at a client machine C to access a static HTML webpage hosted in an HTTP server S. The page contains exactly…

Suppose you are using an HTML browser at a client machine C to access a static HTML webpage hosted in an HTTP server S. The page contains exactly one static embedded image which also resides at S. Assuming no web caching, which of the following is correct when you load the webpage along with the embedded image?

  1. a) C needs to send at least 2 HTTP requests to S using two different TCP connections.
  2. b) C needs to send at least 2 HTTP requests to S but a single TCP connection is sufficient.
  3. c) A single HTTP request is sufficient without using any TCP connection from C to S.
  4. d) A single HTTP request is sufficient using a single TCP connection from C to S.

From the Janata Bank Assistant Network Engineer 2020 – Written exam, question 21 of 68.

More from this paper