Your company's e-commerce platform runs on an 8-node on-premises MySQL 5.7 cluster that holds 4 TB of order data and grows about 20 percent per year. The application relies on row-level locking and multi-row, ACID transactions. You will migrate the database to Google Cloud and must meet these constraints:
Fewer than 1,000 transactions per second with sub-second latency.
Recovery point objective (RPO) under five minutes in the event of a regional failure.
No significant application refactoring.
Minimal operational overhead from your small SRE team.
Which managed storage service and deployment pattern best satisfies the requirements?
Deploy Cloud SQL for MySQL with a regional (multi-zone) primary instance and configure a cross-region read replica for disaster recovery.
Use Cloud Bigtable with multi-cluster routing across two regions to achieve low-latency reads and automatic failover.
Migrate to Cloud Spanner and deploy a multi-region instance to obtain synchronous cross-regional replication.
Move the data to Firestore in Datastore mode and enable multi-region replication for high availability.
Cloud SQL for MySQL is a fully managed relational service that preserves MySQL semantics, including ACID transactions and row-level locking, so the application can be migrated without code changes. A regional (high-availability) primary instance stores data on a regional persistent disk that synchronously replicates to a standby in another zone, delivering near-zero data-loss failover. Adding a cross-region read replica introduces asynchronous replication to a different region; typical lag is measured in seconds, comfortably within the five-minute RPO. Cloud Spanner would meet disaster-recovery objectives but would require code changes to accommodate its SQL dialect and consistency model. Bigtable and Firestore are NoSQL services that do not provide full relational semantics or multi-row ACID transactions, so they do not meet the workload's requirements.
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 Cloud SQL, and why is it suitable for this migration?
Open an interactive chat with Bash
What are ACID transactions, and why are they important for this workload?
Open an interactive chat with Bash
What is asynchronous replication, and how does it achieve the five-minute RPO?
Open an interactive chat with Bash
What does ACID mean in database transactions?
Open an interactive chat with Bash
Why is Cloud SQL for MySQL better suited for this migration compared to Cloud Spanner?
Open an interactive chat with Bash
How does regional replication in Cloud SQL ensure high availability?
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 $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 .