Google Professional Cloud Database Engineer exam dumps

Google Professional Cloud Database Engineer practice question 208 of 259

Professional Cloud Database Engineer. Professional level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud Database Engineer Question 208

Single answerGoogle Cloud Platform

Your company is migrating its on-premises MySQL database to Cloud SQL for MySQL on Google Cloud. The database is critical for real-time transactions, so downtime during the migration must be minimized. Which approach should you use to achieve this?

  1. A

    Use the Database Migration Service with continuous replication enabled.

  2. B

    Export the database as a SQL dump and import it into Cloud SQL.

  3. C

    Set up a manual replication process using gsutil to sync data between on-premises and Cloud SQL.

  4. D

    Use a third-party tool like pg_dump to perform the migration and replication.

Show answer and explanation

Correct answer: A

Explanation

Database Migration Service with continuous replication is the most appropriate solution for minimizing downtime during a MySQL database migration to Cloud SQL. It enables real-time replication of data changes, allowing the source database to remain operational until the final cutover.

  • A. Correct.

    This is the correct option. Google Cloud's Database Migration Service supports continuous replication for MySQL, which ensures minimal downtime during the cutover phase.

  • B. Incorrect.

    This method involves downtime because the database must be taken offline to create and import the SQL dump file. It is not suitable for real-time transactional workloads.

  • C. Incorrect.

    gsutil is a tool for transferring files to and from Google Cloud Storage and is not designed for database replication or migrations.

  • D. Incorrect.

    pg_dump is a tool for PostgreSQL, not MySQL. It is also not suitable for handling replication or real-time transactional workloads.

Timed practice exam

Take a Google Professional Cloud Database Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam