Question #1787
A serverless application uses an Amazon DynamoDB table to store user session data. The development team must ensure the table can be restored to any point in time within the last 24 hours with minimal management effort. Which solution fulfills this requirement MOST effectively?
Enable point-in-time recovery (PITR) for the DynamoDB table.
Create a scheduled AWS Backup plan to back up the table every hour.
Configure DynamoDB Streams and archive the change records in an Amazon S3 bucket.
Deploy an AWS Step Functions workflow to trigger hourly on-demand backups of the table.
Explanation
The correct answer is A because DynamoDB Point-in-Time Recovery (PITR) automatically enables continuous backups, allowing restores to any second within the last 35 days. This requires no manual intervention or scheduling, aligning with the requirement for minimal management effort.
- Option B (AWS Backup hourly) only allows restores at hourly intervals, not any point in time.
- Option C (DynamoDB Streams + S3) requires custom logic to process and replay streams, increasing complexity.
- Option D (Step Functions hourly backups) also limits restores to hourly snapshots.
Key Points: PITR is AWS-managed, supports 1-second granularity, and requires no additional infrastructure. Other options lack continuous backup capabilities or involve higher management overhead.
Answer
The correct answer is: A