Q9 — AWS SAA-C03 Ch.6
Question 9 of 65 | ← Chapter 6
Q374. A company has an application that is backed by an Amazon DynamoDB table. The company's compliance requirements specify that database backups must be taken every month, must be available for 6 months, and must be retained for 7 years.Which solution will meet these requirements?
- A. Create an AWS Backup plan to back up the DynamoDB table on the first day of each month. Specify a lifecycle policy that transitions the backup to cold storage after 6 months. Set the retention period for each backup to 7 years ✓
- B. Create a DynamoDB on-demand backup of the DynamoDB table on the first day of each month.Transition the backup to Amazon S3 Glacier Flexible Retrieval after 6 months. Create an S3 Lifecycle policy to delete backups that are older than 7 years
- C. Use the AWS SDK to develop a script that creates an on-demand backup of the DynamoDB table. Set up an Amazon EventBridge rule that runs the script on the first day of each month. Create a second script that will run on the second day of each month to transition DynamoDB backups that are older than 6 months to cold storage and to delete backups that are older than 7 years
- D. Use the AWS CLI to create an on-demand backup of the DynamoDB table. Set up an Amazon EventBridge rule that runs the command on the first day of each month with a cron expression. Specify in the command to transition the backups to cold storage after 6 months and to delete the backups after 7 years
Correct Answer: A. Create an AWS Backup plan to back up the DynamoDB table on the first day of each month. Specify a lifecycle policy that transitions the backup to cold storage after 6 months. Set the retention period for each backup to 7 years
Explanation
AWS Backup provides a centralized solution for managing backups across various AWS services, including DynamoDB. By creating an AWS Backup plan, you can schedule regular backups of your DynamoDB table. In this case, you would set up the plan to take backups on the first day of each month.To meet the compliance requirements, you would specify a lifecycle policy within the backup plan. The lifecycle policy would transition the backups to cold storage after 6 months, ensuring they are available for the required 6-month period. Additionally, you would set the retention period for each backup to 7 years, satisfying the requirement to retain backups for 7 years.Option A aligns with these steps and provides a scalable and automated solution for meeting the compliance requirements.