intermediateTop 30 Scenario-Based Questions
Explain how you would handle eventual consistency issues in a multi-region deployment.
Multi-region eventual consistency strategies: 1) MongoDB Multi-region Atlas: use write concern majority on primary region. Cross-region replication is asynchronous. Accept that secondary region may be slightly stale. Set maxStalenessSeconds on replica read preference. 2) Cassandra multi-DC: EACH_QUORUM for operations requiring global consistency (expensive). LOCAL_QUORUM for operations fine with D
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