Q49 — AWS SAA-C03 Ch.10

Question 49 of 100 | ← Chapter 10

Q649. A company has a business-critical application that runs on Amazon EC2 instances The application stores data in an Amazon DynamoDB table. The company must be able to revert the table to any point within the last24 hours.Which solution meets these requirements with the LEAST operational overhead?

Correct Answer: A. Configure point-in-time recovery for the table

Explanation

To meet the requirement of being able to revert an Amazon DynamoDB table to any point within the last 24 hours with the least operational overhead, the solution that would best fit these criteria is:A. Configure point-in-time recovery for the table.Here's the rationale behind this solution:Option A: Configure point-in-time recovery for the table.Amazon DynamoDB provides a feature called point-in-time recovery (PITR) that allows you to restore a table to any point in time within the last 35 days. By enabling PITR on the table, DynamoDB automatically backs up the table and its data on a continuous basis. This eliminates the need for manual backups or additional infrastructure and ensures that the table can be restored to any desired point in time within the last 24 hours.Option B: Use AWS Backup for the table.AWS Backup is a centralized backup service that can be used to automate and manage backups across various AWS services. While AWS Backup can be used for DynamoDB table backups, it introduces additional operational overhead compared to DynamoDB's built-in point-in-time recovery. Using AWS Backup may require additional configuration and management, making it less suitable for minimizing operational overhead.Option C: Use an AWS Lambda function to make an on-demand backup of the table every hour. While using an AWS Lambda function to create backups can be an option, it would require custom development and additional management overhead. It would involve scheduling and orchestrating the Lambda function to run every hour, handle backup creation, and manage storage. This can introduce complexity and operational burden compared to the built-in point-in-time recovery feature.Option D: Turn on streams on the table to capture a log of all changes to the table in the last 24 hours.Store a copy of the stream in an Amazon S3 bucket.Enabling DynamoDB streams and storing a copy of the stream in an Amazon S3 bucket can capture the changes made to the table. However, it does not provide a direct mechanism for reverting the table to a specific point in time. It would require additional custom development and operational complexity to process and restore the table based on the captured stream data.Therefore, the most suitable solution that meets the requirements with the least operational overhead is to configure point-in-time recovery (PITR) for the Amazon DynamoDB table (Option A). By enabling PITR, the table is automatically backed up and can be restored to any desired point within the last 35 days, including the last 24 hours. This feature eliminates the need for manual backups or additional infrastructure, minimizing operational overhead.