Your company hosts an ecommerce database in a Cloud SQL for PostgreSQL instance located in us-central1. The SLA requires that the application continue to operate with less than 30 seconds of data loss if the primary zone becomes unavailable, and that the service can be manually recovered in another region within 5 minutes if an entire region fails. Write latency must stay low during normal operation. Which architecture should you implement to meet these objectives?
Create a Cloud SQL regional (high-availability) instance in us-central1 and add an asynchronous cross-region read replica in us-east1; monitor the replica and promote it if the primary region fails.
Use a Cloud SQL regional (high-availability) instance in us-central1 and replicate updates to a Memorystore for Redis cluster in us-east1 for cross-region failover.
Keep a single-zone Cloud SQL instance in us-central1 and schedule hourly exports to Cloud Storage replicated to us-east1; restore the latest export if the primary region fails.
Migrate the database to Cloud Bigtable with multi-zone replication and stream changes from the existing Cloud SQL instance using Database Migration Service.
A Cloud SQL regional (HA) instance keeps a hot standby in a different zone through synchronous replication, so a zonal outage triggers an automatic failover with essentially no data loss and minimal performance impact during normal writes. Adding an asynchronous cross-region read replica provides a continuously updated copy in another region; because the replica already has recent data, promoting it to a standalone instance can be completed well within the five-minute RTO while keeping the RPO under roughly 30 seconds. Hourly exports or backup restores cannot meet the 30-second RPO, and single-zone instances leave the database vulnerable to zonal outages. Memorystore or Bigtable do not provide the required cross-region database failover for Cloud SQL.
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 a Cloud SQL regional (HA) instance?
Open an interactive chat with Bash
How does asynchronous cross-region replication work?
Open an interactive chat with Bash
What is RPO and RTO in disaster recovery?
Open an interactive chat with Bash
What is a Cloud SQL regional (High-Availability) instance?
Open an interactive chat with Bash
What is the role of an asynchronous cross-region read replica in disaster recovery?
Open an interactive chat with Bash
Why are hour-long exports or backups insufficient for a 30-second RPO?
Open an interactive chat with Bash
GCP Professional Data Engineer
Maintaining and automating data workloads
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .