AWS Certified Database – Specialty — Question 7

The Development team recently executed a database script containing several data definition language (DDL) and data manipulation language (DML) statements on an Amazon Aurora MySQL DB cluster. The release accidentally deleted thousands of rows from an important table and broke some application functionality.
This was discovered 4 hours after the release. Upon investigation, a Database Specialist tracked the issue to a DELETE command in the script with an incorrect
WHERE clause filtering the wrong set of rows.
The Aurora DB cluster has Backtrack enabled with an 8-hour backtrack window. The Database Administrator also took a manual snapshot of the DB cluster before the release started. The database needs to be returned to the correct state as quickly as possible to resume full application functionality. Data loss must be minimal.
How can the Database Specialist accomplish this?

Answer options

Correct answer: B

Explanation

Option B is the correct choice because performing a point-in-time recovery allows the Database Specialist to restore the database to a state just before the deletion occurred, and then manually copy the deleted rows back. Option A would not allow for row recovery since it only rewinds the cluster without transferring data. Option C would involve restoring the entire database, which could lead to additional data loss and downtime. Option D, while similar, involves unnecessary steps of cloning and may complicate the recovery process.