SQ41Select 2
When should an architect recommend Cloud Spanner over AlloyDB? (Select TWO)
- AThe application uses PostgreSQL stored procedures heavily
- BThe workload needs automatic horizontal sharding beyond single-node capacity
- CThe team wants the cheapest option for a small single-region database
- DThe workload requires multi-region strong consistency
Show answerHide 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.