Google Cloud Professional Cloud Database Engineer — Question 13

Your organization deployed a new version of a critical application that uses Cloud SQL for MySQL with high availability (HA) and binary logging enabled to store transactional information. The latest release of the application had an error that caused massive data corruption in your Cloud SQL for MySQL database. You need to minimize data loss. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C, as performing a point-in-time recovery allows you to restore the database to a specific moment before the data corruption happened, minimizing data loss effectively. Option A would revert to an earlier backup but may not capture all transactions leading up to the corruption. Option B involves loading data from CSV files, which may not contain the most recent transactions. Option D, while useful for failover, does not specifically address the point-in-time recovery needed to minimize data loss effectively.