🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Design a URL Shortener: all 10 questions

Quiz: Design a URL Shortener · Question 6 of 10

Why does a URL shortener's read path benefit so much from a cache?

Why does a URL shortener's read path benefit so much from a cache?

  1. A.Short codes change every second
  2. B.Writes are far more common than reads
  3. C.A small share of popular links gets most of the clicks
  4. D.Caches store more data than databases
Answer & explanation

Correct answer: A small share of popular links gets most of the clicks

The 80/20 pattern means a modest cache serves most redirects.

Can you get the rest right without peeking?

Take the timed Quiz: Design a URL Shortener quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →