Google Cloud Professional Cloud Database Engineer — Question 115

Your organization needs to migrate a critical, on-premises MySQL database to Cloud SQL for MySQL. The on-premises database is on a version of MySQL that is supported by Cloud SQL and uses the InnoDB storage engine. You need to migrate the database while preserving transactions and minimizing downtime. What should you do?

Answer options

Correct answer: A

Explanation

Option A is correct because it employs the Database Migration Service with continuous replication, which allows for minimal downtime and preserves transactions during the migration. Options B, C, and D involve either scheduling downtime or using dumping methods that do not support continuous replication, making them less efficient for this critical migration.