Google Cloud Professional Cloud Database Engineer — Question 62

You finished migrating an on-premises MySQL database to Cloud SQL. You want to ensure that the daily export of a table, which was previously a cron job running on the database server, continues. You want the solution to minimize cost and operations overhead. What should you do?

Answer options

Correct answer: A

Explanation

Using Cloud Scheduler and Cloud Functions (Option A) is the best choice as it automates the export process without the need for managing server resources, thus minimizing costs and operational overhead. Option B, a streaming Dataflow job, is more complex and not necessary for a simple export. Option C requires more setup and management overhead with Cloud Composer, while Option D involves maintaining a Compute Engine instance, which is not cost-effective for this task.