CS FundamentalsHardProduct-company placement · DevOps
A site's A record has a TTL of 86,400 s. The team will move the site to a new IP at 10:00 on Friday and wants every cache to pick up the change within about 5 minutes of the switch. What should they do?
- A. Lower the TTL to 300 s at least 24 hours before Friday 10:00, then change the address
- B. Lower the TTL to 300 s at 10:00 on Friday together with the address change
- C. Change the address on Friday and ask resolvers to obey a 300 s TTL from then on
- D. Raise the TTL so the new record is cached for longer once resolvers fetch it
Correct answer: A. Lower the TTL to 300 s at least 24 hours before Friday 10:00, then change the address
Resolvers that fetched the record under the old TTL can keep it for up to 24 h. The short TTL must already be in all caches when the address changes, so it has to be published at least one old-TTL period earlier.
More Computer Networks questions
- A bank sends Strict-Transport-Security: max-age=31536000 and is not on any browser's HSTS preload list. Which statement is correct?
- A bitmap image is encrypted with AES, and the ciphertext still shows the outline of the picture. Which mode of operation was used, and why?
- A developer encrypts two different messages with the same one-time-pad key K: C1 = M1 ⊕ K and C2 = M2 ⊕ K. What can an eavesdropper…
- A layer-2 switch carries an IPTV multicast stream. Without any special feature it floods the stream to every port in the VLAN. Which…
- An AS with two upstream ISPs wants inbound traffic to prefer ISP A, so it advertises its prefix to ISP B with its own AS number repeated…
- In 802.11, SIFS = 10 µs, a CTS and an ACK each take 44 µs, and the data frame takes 1000 µs. Station X hears the CTS from the receiver but…