Which combination of steps will meet these requirements?
(Choose two.)
Enable termination protection for the CloudFormation stacks that deploy the DynamoDB tables.
Enable deletion protection for the DynamoDB tables.
Enable point-in-time recovery for the DynamoDB tables. Restore the tables if they are accidentally deleted.
Schedule daily backups of the DynamoDB tables. Restore the tables if they are accidentally deleted.
Export the DynamoDB tables to Amazon S3 every day. Use Import from Amazon S3 to restore data for tables that are accidentally deleted.
Explanations:
Enabling termination protection for CloudFormation stacks prevents the stacks from being deleted but does not directly protect the individual DynamoDB tables from deletion through API calls. If someone has the appropriate permissions, they can still delete tables directly from DynamoDB, bypassing CloudFormation.
Enabling deletion protection for the DynamoDB tables will prevent accidental deletions of the tables. This feature ensures that the tables cannot be deleted until the deletion protection is explicitly disabled, thus minimizing the risk of accidental deletions.
Enabling point-in-time recovery (PITR) for DynamoDB tables allows for restoration of the tables to any point in time within the last 35 days. If a table is accidentally deleted, it can be restored quickly with minimal data loss, as PITR captures changes made to the table.
While scheduling daily backups can help restore the tables after deletion, it does not prevent accidental deletions from occurring in the first place. Additionally, backups may not be as timely as point-in-time recovery, leading to more potential data loss between backups.
Exporting DynamoDB tables to Amazon S3 and using Import from S3 for restoration can be a backup strategy, but it does not prevent accidental deletions. This method also introduces complexity and potential data loss depending on the frequency of exports compared to real-time or daily changes.