🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Databases at Scale: all 10 questions

Quiz: Databases at Scale · Question 7 of 10

A user updates their profile and immediately sees the old version. Which fix fits best?

A user updates their profile and immediately sees the old version. Which fix fits best?

  1. A.Remove all replicas
  2. B.Read from the primary for that user's request right after their write
  3. C.Increase the cache TTL
  4. D.Shard by name
Answer & explanation

Correct answer: Read from the primary for that user's request right after their write

"Read your own writes" avoids showing stale data caused by replication lag.

Can you get the rest right without peeking?

Take the timed Quiz: Databases at Scale quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →