Courseiva
Management and OperationseasyMultiple ChoiceObjective-mapped

DBS-C01 Management and Operations Practice Question

A developer accidentally deleted a table in an Amazon RDS for PostgreSQL DB instance. The instance has automated backups enabled with a retention period of 7 days. The deletion occurred 2 hours ago. What is the quickest way to recover the table?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Perform a point-in-time recovery to a time just before the deletion.

Point-in-time recovery (PITR) allows restoring the RDS for PostgreSQL DB instance to any time within the 7-day backup retention period. Since the deletion occurred 2 hours ago, you can restore the instance to a time just before the deletion, then connect to the restored instance and extract the deleted table using pg_dump or similar tools. This is the quickest method because it does not require restoring a full snapshot and then applying transaction logs manually. Option B is incorrect because pg_dump cannot export a table that has already been deleted from the current instance. Option C is incorrect because automated backup files are not directly accessible as downloadable files from S3; they are used internally by RDS for PITR. Option D is incorrect because restoring from the latest automated snapshot would not recover the table if the snapshot was taken after the deletion, or if the snapshot includes the deletion state.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Perform a point-in-time recovery to a time just before the deletion.

    Why this is correct

    Point-in-time recovery uses transaction logs to restore to any time within the retention period.

  • Use PostgreSQL pg_dump to connect and dump the table from the current instance.

    Why it's wrong here

    The table is already deleted, so pg_dump cannot retrieve it.

  • Download the automated backup file from S3 and restore the table.

    Why it's wrong here

    Automated backups are not directly accessible; they are used for point-in-time recovery.

  • Restore the DB instance from the latest automated snapshot.

    Why it's wrong here

    The latest snapshot might have been taken after the deletion, so the table would be missing.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,663 original DBS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DBS-C01 exam.