Google Cloud Professional Cloud Database Engineer — Question 141

You are the DBA of your organization. You provided a cloned instance from the production Cloud SQL for PostgreSQL database to the developers for testing purposes. After the creation of the clone, your developers notice missing data in one of the recently altered tables. What should you do to ensure that all data is included?

Answer options

Correct answer: D

Explanation

The correct answer is D because modifying the dumped file to set the tables as logged ensures that all recent transactions are captured and retained in the new instance. Options A and C involve creating new instances without addressing the logged state of the tables, which may still lead to missing data. Option B focuses on privileges, which does not resolve the underlying issue of missing data in the database.