CS FundamentalsModerateGATE CS · Product company CS fundamentals
A resolver caches an A record whose TTL is 300 s. Clients look the name up at t = 0, 100, 250, 420, 650 and 700 s, with nothing cached at t = 0. How many times must the resolver fetch the record from the authoritative server?
- A. 3
- B. 6
- C. 1
- D. 2
Correct answer: D. 2
t = 0: fetch, valid until 300; 100 and 250 are hits. t = 420: expired, fetch again, valid until 720, so 650 and 700 are hits. Two fetches in all.
More Computer Networks questions
- A satellite path offers 50 Mbps with an RTT of 540 ms. A TCP connection without window scaling has a 65,535-byte window. Roughly what…
- An HDLC receiver removes the 0 that the sender stuffed after every five consecutive 1s. What data does it recover from the bit string…
- A receiver has these fragments of one IPv4 datagram (all with 20-byte headers): offset 0, total length 1420, MF = 1; offset 175, total…
- A TCP receiver has a 64 KB buffer with LastByteRcvd − LastByteRead = 20 KB. The sender has LastByteSent − LastByteAcked = 30 KB, and its…
- After a timeout a TCP sender restarts with cwnd = 1 MSS and ssthresh = 32 MSS (slow start doubles cwnd per RTT, capped at ssthresh…
- Host A pings host B through one store-and-forward router: A–router is 10 Mbps, router–B is 100 Mbps, each with 5 ms propagation delay. The…