Bird
0
0

Why does Cloud Spanner use the TrueTime API for global distribution instead of relying on traditional clocks?

hard📝 Conceptual Q10 of 15
GCP - Cloud SQL and Databases
Why does Cloud Spanner use the TrueTime API for global distribution instead of relying on traditional clocks?
ATrueTime provides bounded time uncertainty to ensure external consistency
BTraditional clocks are faster but less secure
CTrueTime is cheaper to operate than traditional clocks
DTraditional clocks cannot synchronize data at all
Step-by-Step Solution
Solution:
  1. Step 1: Understand TrueTime's role

    TrueTime gives a global clock with a known uncertainty bound to coordinate transactions.
  2. Step 2: Compare with traditional clocks

    Traditional clocks lack bounded uncertainty, risking inconsistent data ordering.
  3. Final Answer:

    TrueTime provides bounded time uncertainty to ensure external consistency -> Option A
  4. Quick Check:

    TrueTime ensures consistency with bounded uncertainty [OK]
Quick Trick: TrueTime ensures consistent global ordering with time bounds [OK]
Common Mistakes:
  • Thinking TrueTime is cheaper or faster
  • Assuming traditional clocks can't sync at all
  • Confusing security with time accuracy

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes