intermediateTop 30 Scenario-Based Questions

A Cassandra query is returning stale data even after a successful write. What could be wrong?

Consistency level mismatch: 1) Write with ONE (1 replica) but read with ONE from a different replica that hasn't synced. Fix: use LOCAL_QUORUM for both reads and writes (W+R > RF ensures overlap). 2) Replication lag: recently added node not fully synced. Fix: nodetool repair on the new node. 3) Hinted handoff not delivered: node was down during write, hint stored but not yet delivered. Fix: check

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to How would you design a URL shortener using Redis and MongoDB?← Back to all NoSQL questions