Google Cloud Digital LeaderDigital transformation with Google CloudHard
A global financial institution is undergoing a digital transformation to modernize its core banking systems. A key requirement is to ensure extremely low latency access to transactional data for its worldwide customer base, with strong consistency guarantees across all regions. The solution must also be highly available and capable of horizontal scaling to handle unpredictable peak loads. Which Google Cloud database service is best suited for this scenario?
- AFirestore
- BCloud SQL
- CBigtable
- DCloud Spanner
Show answer & explanationAnswer & explanation
Correct answer: D. Cloud Spanner
Cloud Spanner is uniquely designed as a globally distributed, strongly consistent, and horizontally scalable relational database. This makes it ideal for financial institutions requiring low-latency access and strong consistency across multiple regions for transactional data.
Why the other options are wrong
- A. Firestore is a NoSQL document database, not typically used for core banking transactional data with strong relational consistency requirements.
- B. Cloud SQL is a regional relational database, lacking global distribution and strong consistency across regions.
- C. Bigtable is a NoSQL wide-column database, optimized for analytical workloads and high throughput, not strong transactional consistency across regions.
Cloud Spanner
A globally distributed, strongly consistent, and horizontally scalable relational database service offered by Google Cloud.
- Combines the benefits of relational databases (strong consistency, SQL queries) with NoSQL scalability.
- Offers 99.999% availability for multi-region instances.
- Ideal for mission-critical applications requiring high availability and global consistency.
Memory trick: Spanner stretches across the globe with strong consistency, like a reliable 'span' bridge.