Associate Cloud Engineer practice question · Ensuring the successful operation of a cloud solution
At 14:35, a developer accidentally ran a bulk DELETE against a Cloud SQL for MySQL production database.
At 14:35, a developer accidentally ran a bulk DELETE against a Cloud SQL for MySQL production database. Automated backups run daily at 02:00, and binary logging is enabled. The team needs to recover the data exactly as it was at 14:34 while losing as little of the day's other changes as possible. What should they do?
- APerform point-in-time recovery to 14:34, which creates a new instance by restoring a backup and replaying the binary logs
- BRestore the 02:00 automated backup directly over the existing production instance
- CPromote the instance's read replica to a standalone primary and redirect the application to it
- DTake an on-demand backup immediately and restore that backup to a new instance
Show the answer and explanation
Correct answer: A) Perform point-in-time recovery to 14:34, which creates a new instance by restoring a backup and replaying the binary logs
Cloud SQL point-in-time recovery uses backups plus binary logs to restore data to a specific timestamp in a new instance. Backups alone, read replicas, and post-incident backups can't restore the exact pre-deletion state.
Why each option is right or wrong
- A) Correct. Point-in-time recovery restores a backup and then applies binary logs to replay changes up to the chosen timestamp. Cloud SQL always creates a new instance for this, which inherits the source instance's settings. This recovers the state just before the deletion.
- B) Incorrect. A backup restore returns the data only to the moment the backup was taken. Every legitimate change made between 02:00 and 14:34 would be lost.
- C) Incorrect. A read replica continuously replicates changes from the primary, so the bulk DELETE has almost certainly been applied to the replica already. Promoting it won't bring back the deleted rows.
- D) Incorrect. An on-demand backup taken after 14:35 already reflects the deletion, so restoring it reproduces the data loss.
- Exam domain
- Ensuring the successful operation of a cloud solution · ~30% of Associate Cloud Engineer
- Question type
- Multiple choice (one answer)
Related Associate Cloud Engineer questions
- A security team is investigating a possible incident. They need a record of administrative actions taken in their Google…Ensuring the successful operation of a cloud solution
- A team needs a point-in-time snapshot of an existing Compute Engine persistent disk.Ensuring the successful operation of a cloud solution
- A team has a Cloud Monitoring alerting policy that currently sends only email.Ensuring the successful operation of a cloud solution
- A stateless web Deployment on GKE sees sharp traffic spikes during business hours.Ensuring the successful operation of a cloud solution
All 60 free Associate Cloud Engineer questions by domain · 15 sample questions on one page
Practise the full Associate Cloud Engineer exam
This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.