Skip to content
PCA Practice
SQ41Select 2

When should an architect recommend Cloud Spanner over AlloyDB? (Select TWO)

  1. AThe application uses PostgreSQL stored procedures heavily
  2. BThe workload needs automatic horizontal sharding beyond single-node capacity
  3. CThe team wants the cheapest option for a small single-region database
  4. DThe workload requires multi-region strong consistency
Show answer

Answer: B, D

Spanner's advantages over AlloyDB are global distribution with strong consistency and unlimited horizontal sharding. AlloyDB is typically more cost-efficient for single-region PostgreSQL workloads and supports full PostgreSQL compatibility including stored procedures.

← SQ40Practice this topicSQ42 →