GCP Professional Cloud Architect Practice Question
Your company must move a 3-TB on-premises MySQL 5.7 database to Google Cloud SQL. The CIO demands less than 5 minutes of cut-over downtime and wants to avoid hosting any migration worker VMs. Security requires that the source database remain behind the corporate firewall and that all traffic traverse a private network path rather than the public internet. Which approach best satisfies all requirements?
Deploy a Compute Engine VM running gh-ost to replicate changes from the source MySQL to Cloud SQL over a Cloud VPN tunnel, then stop writes and promote the target.
Provision Database Transfer Service to copy tables to BigQuery, then use the BigQuery migration appliance to write the data back into Cloud SQL when ready for cut-over.
Use Database Migration Service with continuous replication and VPC peering connectivity to migrate the database to Cloud SQL, then perform a controlled cut-over when replication lag is under five minutes.
Export the data with mysqldump, upload the dump file to Cloud Storage, and run gcloud sql import sql to load it into a new Cloud SQL instance during a planned maintenance window.
Database Migration Service (DMS) offers a serverless, Google-managed migration worker that can perform continuous, change-data-capture replication from MySQL 5.6-8.0 sources to Cloud SQL with a final cut-over window typically under five minutes. When you create the migration job, you can choose the "static IP address" option to let DMS present fixed IPs that are allowed through the firewall, but that still uses the public internet. Selecting a VPC peering connectivity method instead routes traffic over a private Service Producer VPC network and meets the security team's mandate. Manually running mysqldump followed by gsutil or gcloud sql import cannot meet the required downtime, and running third-party tools such as Database Transfer Service or self-hosted migration workers would violate the "no VMs" constraint.
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 Database Migration Service (DMS)?
Open an interactive chat with Bash
What is VPC peering and why is it used in this migration?
Open an interactive chat with Bash
Why use continuous replication instead of mysqldump for this migration?
Open an interactive chat with Bash
What is Google Cloud SQL?
Open an interactive chat with Bash
How does Database Migration Service (DMS) work?
Open an interactive chat with Bash
What is VPC peering connectivity, and how does it enhance security?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing implementation
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 .