
Answer-first summary for fast verification
Answer: Cloud Spanner.
**B is correct** because Cloud Spanner is a globally distributed relational database that ensures strong consistency and high availability. It scales horizontally across regions while maintaining transactional consistency, ideal for global user bases seeking performance without added complexity. **A is incorrect** as Bigtable, while scalable for key-value storage, lacks Cloud Spanner's transactional consistency and global availability. **C is incorrect** because BigQuery with Redis is tailored for analytics, not real-time transactions. **D is incorrect** since Cloud SQL, despite offering cross-region replication, doesn't match Cloud Spanner's performance and consistency guarantees. Links: [Cloud Spanner](https://cloud.google.com/spanner), [Cloud SQL](https://cloud.google.com/sql), [BigQuery](https://cloud.google.com/bigquery), [Bigtable](https://cloud.google.com/bigtable)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your E-commerce website is experiencing a surge in global popularity, necessitating consistent performance across all regions with minimal management complexity. Which Google Cloud product is best suited for this scenario?
A
Bigtable database partitioned by username.
B
Cloud Spanner.
C
BigQuery with a Redis on Memorystore instance in the front.
D
Cloud SQL database with cross-region replication.
No comments yet.