Google Associate Cloud EngineerPlanning and configuring a cloud solutionHard
A global gaming company needs to store user profile data that is frequently updated and accessed with very low latency from anywhere in the world. The data schema can be flexible and needs to scale horizontally to handle millions of concurrent users. Which Google Cloud storage option is most suitable?
- ACloud Bigtable
- BCloud Storage Multiregional
- CCloud Spanner
- DCloud SQL
Show answer & explanationAnswer & explanation
Correct answer: C. Cloud Spanner
Cloud Spanner is a globally distributed, strongly consistent, and horizontally scalable relational database service. It is designed for applications requiring high availability, strong consistency, and low latency across global regions, making it ideal for frequently updated user profile data with flexible schema and global access for millions of users.
Why the other options are wrong
- A. Cloud Bigtable is a NoSQL wide-column database optimized for large analytical and operational workloads, but Cloud Spanner provides stronger consistency and is better suited for global, transactional user profile data with flexible schema.
- B. Cloud Storage Multiregional is object storage for unstructured data and is not a database service suitable for frequently updated user profile data with transactional consistency requirements.
- D. Cloud SQL is a regional relational database, not designed for global horizontal scalability and low-latency access from anywhere in the world.
Cloud Spanner
A globally distributed, strongly consistent, and horizontally scalable relational database service on Google Cloud. It combines the benefits of relational databases (strong consistency, SQL) with the scalability of NoSQL databases.
- Globally distributed with strong consistency
- Horizontally scalable (petabytes of data)
- Relational database (SQL interface)
- High availability and low latency
- Ideal for global transactional applications
Memory trick: Global DB: If your data needs to be 'everywhere' and 'perfect', it's Spanner!