Selecting Spanner for ACID Compliant Financial Transactions

PDE By islever Editorial Last updated

Short answer

D Select Spanner because it is the only managed Google Cloud database service that guarantees strong ACID compliance and low-latency individual record access for high-throughput financial transactions.

Question

You are building a system to process financial transactions. The system must handle a high throughput of concurrent user operations and each operation requires low-latency reads and writes to individual records. You need to identify a storage solution that guarantees ACID compliance for the processed transactions. You want a Google Cloud managed service. What should you do?
  1. Select Bigtable.
  2. Select BigQuery.
  3. Select Cloud Storage.
  4. Select Spanner. Correct Answer

Key Takeaways

The main trap is confusing Bigtable's high-performance NoSQL capabilities with Spanner's relational ACID guarantees; financial transactions strictly require the latter.

This question tests knowledge of Google Cloud database services for financial workloads. The correct answer is Spanner, as it is the only option providing guaranteed ACID compliance and low-latency transactional performance.

Common mistake: Candidates often select Bigtable (A) because it handles high throughput and low latency well. However, Bigtable lacks the multi-row ACID transaction support required for financial data integrity, making it incorrect for this specific constraint.

Expert Analysis

The ACID Boundary in Google Cloud Storage The core of this question lies in distinguishing between distributed NoSQL databases and globally consistent relational databases, specifically regarding ACID compliance. Financial transactions require strict Atomicity, Consistency, Isolation, and Durability. While many cloud storage options handle data well, only one option guarantees strong consistency across global regions with full ACID transactional support.

Why Spanner (D) is Correct Google Cloud Spanner is a fully managed, horizontally scalable database service that provides strong consistency and global distribution. It is explicitly designed for mission-critical applications like financial systems where ACID compliance is non-negotiable. Spanner supports low-latency reads and writes to individual records while handling high throughput through its internal clock synchronization (TrueTime) and distributed commit protocol. The comments correctly identify Spanner as the solution because it balances the need for concurrent operations with the requirement for transactional integrity.

Why Other Options Fail

  • Bigtable (A) is optimized for high throughput and low latency but does not provide native ACID transactions across multiple rows or columns. It offers atomicity at the row level, which is insufficient for complex financial transaction logic requiring multi-row consistency.
  • BigQuery (B) is an analytical data warehouse. While it can be ACID-compliant for loading and querying, it is not designed for low-latency, real-time operational reads/writes to individual records. It is built for batch processing and analytics, not transactional workloads.
  • Cloud Storage (C) is an object storage service. It does not support SQL transactions or record-level locking required for ACID compliance in a transactional context.

Conclusion The scenario demands a managed service that ensures data integrity for financial transactions under high concurrency. Spanner is the only Google Cloud managed database service listed that provides both strong ACID compliance and the performance characteristics needed for operational transactional workloads.

Official Reference

https://cloud.google.com/spanner/docs/transactions

This link opens the official vendor documentation in a new tab.

Exam Strategy

When asked about 'ACID compliance' combined with 'high throughput' or 'low latency' in a Google Cloud context, immediately rule out BigQuery (analytics) and Cloud Storage (objects). Between Bigtable and Spanner, choose Spanner if any transactional integrity (multi-row consistency) is mentioned. Bigtable is purely for raw scale without strong cross-row transactions.

Frequently Asked Questions

Can Bigtable handle ACID transactions?

Bigtable provides atomicity at the single-row level. It does not support multi-row ACID transactions, which are essential for complex financial ledger updates.

Is BigQuery suitable for real-time financial transactions?

No. BigQuery is an online analytical processing (OLAP) system designed for large-scale data warehousing and analytics, not for low-latency operational transactional writes.

More PDE FAQ →

Community Votes

D
100%

100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 2 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 2

  1. jreale64 👍 1 Answered D
    D: High performance for concurrent user operations: Capable of handling many operations simultaneously. Low-latency reads and writes to individual records: Optimized for fast transactional operations on specific records. Ensures ACID compliance: This is crucial for financial transactions (Atomicity, Consistency, Isolation, Durability). Google Cloud managed service: A serverless solution with minimal user management.
  2. AwesomeGCP 👍 1 Answered D
    The correct answer is D. Select Spanner.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to PDE Study Guide