Your team is re-platforming a regional on-premises PostgreSQL database that handles thousands of OLTP transactions per minute for an e-commerce web application. Key requirements are:
Remain fully PostgreSQL-compatible to avoid code changes.
Provide automatic backups, point-in-time recovery, and automated patching.
Achieve at least 99.95 % availability within a single Google Cloud region and support creating optional read replicas for analytics.
Minimize operational overhead and total cost; global distribution and unlimited horizontal write scaling are not required.
Which managed Google Cloud service best satisfies these requirements?
Cloud Spanner with a single-region instance
Cloud SQL for PostgreSQL with high-availability enabled and optional read replicas
Cloud Bigtable with a single-region multi-cluster instance
AlloyDB for PostgreSQL with a regional primary and read pools
Cloud SQL is Google Cloud's fully managed service for MySQL, PostgreSQL, and SQL Server. It offers native PostgreSQL engines, so the application can migrate with no code changes. When deployed in a high-availability configuration, Cloud SQL provides 99.95 % regional availability, automatic backups, point-in-time recovery, and managed maintenance. It also supports in-region and cross-region read replicas for reporting workloads. Spanner delivers higher availability and global horizontal scaling but uses a different dialect and costs more than needed for this regional workload. Bigtable is a NoSQL wide-column store lacking PostgreSQL compatibility and ACID transactions. AlloyDB for PostgreSQL offers enhanced performance but targets demanding, larger-scale workloads at a higher price point; Cloud SQL remains the most cost-effective fit for standard OLTP with the stated SLAs and feature needs.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is OLTP and how does it differ from OLAP?
Open an interactive chat with Bash
Why is Cloud SQL better suited for this use case than AlloyDB?
Open an interactive chat with Bash
What are ACID transactions, and why does PostgreSQL support matter?
Open an interactive chat with Bash
What is Cloud SQL for PostgreSQL?
Open an interactive chat with Bash
How does Cloud SQL achieve high availability?
Open an interactive chat with Bash
Why is Cloud SQL more suitable than AlloyDB in this scenario?
Open an interactive chat with Bash
GCP Professional Data Engineer
Storing the data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .