
Answer-first summary for fast verification
Answer: 1. Set up Cloud VPN to provide private network connectivity between the Compute Engine application and the on-premises MySQL server. 2. Stop the on-premises application. 3. Start the Compute Engine application, configured to read and write to the on-premises MySQL server. 4. Create the replication configuration in Cloud SQL. 5. Configure the source database server to accept connections from the Cloud SQL replica. 6. Finalize the Cloud SQL replica configuration. 7. When replication has been completed, stop the Compute Engine application. 8. Promote the Cloud SQL replica to a standalone instance. 9. Restart the Compute Engine application, configured to read and write to the Cloud SQL standalone instance.
The correct answer is Option C. This option provides a minimal downtime strategy by using a replication configuration between the on-premises MySQL server and Cloud SQL. The steps include setting up a private connection using Cloud VPN, configuring replication, and promoting the Cloud SQL replica to a standalone instance after the replication is complete. This ensures continuous data synchronization during the migration process and minimal downtime. Option A involves more complex modifications to the application, and Options B and D involve more downtime due to the need to stop the on-premises application for the entire migration duration.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are migrating an on-premises application that uses a MySQL database to Google Cloud. The application will be deployed on Compute Engine, and its MySQL database will be migrated to Cloud SQL. Your goals for this migration include ensuring minimal downtime and avoiding data loss for your customers. Additionally, you want to migrate the application with as few modifications as possible. Given these requirements, what should your cutover strategy be?
A
B
C
D