Topic 1 Question 104
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?
- Use Database Migration Service to connect to your on-premises database, and choose continuous replication.
- After the on-premises database is migrated, promote the Cloud SQL for MySQL instance, and connect applications to your Cloud SQL instance.
- Build a Cloud Data Fusion pipeline for each table to migrate data from the on-premises MySQL database to Cloud SQL for MySQL.
- Schedule downtime to run each Cloud Data Fusion pipeline.
- Verify that the migration was successful.
- Re-point the applications to the Cloud SQL for MySQL instance.
- Pause the on-premises applications.
- Use the mysqldump utility to dump the database content in compressed format.
- Run gsutil –m to move the dump file to Cloud Storage.
- Use the Cloud SQL for MySQL import option.
- After the import operation is complete, re-point the applications to the Cloud SQL for MySQL instance.
1 Pause the on-premises applications. 2. Use the mysqldump utility to dump the database content in CSV format. 3. Run gsutil –m to move the dump file to Cloud Storage. 4. Use the Cloud SQL for MySQL import option. 5. After the import operation is complete, re-point the applications to the Cloud SQL for MySQL instance.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: A
A looks like the best option to me
👍 3chelbsik2022/12/26 - 👍 1SVGoogle892022/12/27
- 正解だと思う選択肢: A
To migrate the database while preserving transactions and minimizing downtime, you should use Database Migration Service. This service will allow you to migrate the database in a way that is transparent to your users and applications. It will also allow you to test the migration before you make it live, so that you can be sure that everything will work as expected.
👍 1orbo2023/01/25
シャッフルモード