Bird
0
0

Why does Firestore on GCP use eventual consistency for some queries instead of strong consistency?

hard📝 Conceptual Q10 of 15
GCP - Cloud Firestore and Bigtable
Why does Firestore on GCP use eventual consistency for some queries instead of strong consistency?
ABecause Firestore does not support consistency
BTo improve performance and scalability across distributed regions
CTo prevent any data loss at all costs
DBecause strong consistency is always slower locally
Step-by-Step Solution
Solution:
  1. Step 1: Understand consistency models in distributed databases

    Strong consistency ensures all reads see latest writes but can slow down distributed systems.
  2. Step 2: Recognize Firestore's use of eventual consistency

    Firestore uses eventual consistency in some cases to improve performance and scale globally.
  3. Final Answer:

    To improve performance and scalability across distributed regions -> Option B
  4. Quick Check:

    Eventual consistency boosts global performance [OK]
Quick Trick: Eventual consistency helps scale globally faster [OK]
Common Mistakes:
  • Thinking Firestore lacks consistency
  • Assuming strong consistency is always better
  • Confusing consistency with data loss prevention

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes