A team accidentally deleted several production DynamoDB tables by running a Lambda that called DeleteTable, causing an outage. You must reduce the likelihood of accidental deletions and limit data loss if deletions happen. Which two actions together best meet these goals? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Enable DeletionProtection on the DynamoDB tables., Turn on point-in-time recovery for the DynamoDB tables so you can restore them if they are deleted..
Why this is the answer
Enabling DeletionProtection directly prevents accidental deletion of DynamoDB tables, addressing the first part of the problem. This feature prevents calls like DeleteTable from succeeding. Turning on point-in-time recovery (PITR) for DynamoDB tables allows restoration to any point in time within the last 35 days, minimizing data loss if a deletion somehow occurs (e.g., if DeletionProtection was temporarily disabled or bypassed by a privileged user). Enabling termination protection for CloudFormation stacks prevents the stack itself from being deleted, but not necessarily the individual resources within it if they are removed from the template. Scheduling daily backups provides recovery but might result in up to 24 hours of data loss, which is less ideal than PITR's continuous backup. Exporting to S3 daily also carries the risk of significant data loss and is a more complex recovery process than PITR.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed