AWS Certified Solutions Architect – Associate (SAA-C02) — Question 710
A company needs to keep user transaction data in an Amazon DynamoDB table. The company must retain the data for 7 years.
What is the MOST operationally efficient solution that meets these requirements?
Answer options
- A. Use DynamoDB point-in-time recovery to back up the table continuously.
- B. Use AWS Backup to create backup schedules and retention policies for the table.
- C. Create an on-demand backup of the table by using the DynamoDB console. Store the backup in an Amazon S3 bucket. Set an S3 Lifecycle configuration for the S3 bucket.
- D. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to invoke an AWS Lambda function. Configure the Lambda function to back up the table and to store the backup in an Amazon S3 bucket. Set an S3 Lifecycle configuration for the S3 bucket.
Correct answer: D
Explanation
Configuring an Amazon EventBridge rule to trigger an AWS Lambda function automates the scheduled backup of the DynamoDB table to Amazon S3. Utilizing an S3 Lifecycle configuration allows for cost-optimized long-term storage and automatic deletion after the 7-year retention period. Other methods, such as point-in-time recovery, only support retention up to 35 days, while manual console backups lack the operational efficiency of automation.