Q37 — AWS SAA-C03 Ch.16
Question 37 of 100 | ← Chapter 16
Q1237. A company has an application that uses dozens of Amazon DynamoDB tables to store data. Auditors find that the tables do not comply with the company's data protection policy. The company's retention policy states that all data must be backed up twice each month: once at midnight on the 15th day of the month and again at midnight on the 25th day of the month. The company must retain the backups for 3 months.Which combination of steps should a solutions architect take to meet these requirements?(Select TWO.)
- A. Use the DynamoDB on-demand backup capability to create a backup plan. Configure a lifecycle policy to expire backups after 3 months.
- B. Use AWS DataSync to create a backup plan. Add a backup rule that includes a retention period of 3 months.
- C. Use AWS Backup to create a backup plan. Add a backup rule that includes a retention period of 3 months. ✓
- D. Set the backup frequency by using a cron schedule expression. Assign each DynamoDB table to the backup plan. ✓
- E. Set the backup frequency by using a rate schedule expression. Assign each DynamoDB table to the backup plan.
Correct Answer: C. Use AWS Backup to create a backup plan. Add a backup rule that includes a retention period of 3 months., D. Set the backup frequency by using a cron schedule expression. Assign each DynamoDB table to the backup plan.
Explanation
To meet the company's requirements for backing up DynamoDB tables twice each month (on the 15th and 25th) and retaining the backups for 3 months, let's analyze the options and determine the correct combination of steps:Key Requirements:Backup Frequency: Twice each month (on the 15th and 25th).Retention Period: 3 months.Backup Solution: Must be suitable for DynamoDB tables.Solution Analysis:DynamoDB On-Demand Backup:Purpose: DynamoDB provides on-demand backups, which allow you to create full backups of your tables for long-term retention and archival for compliance purposes. However, DynamoDB on-demand backups do not natively support scheduled backups or lifecycle policies for automatic expiration.AWS DataSync:Purpose: AWS DataSync is used to transfer data between on-premises storage and AWS storage services or between AWS storage services. It is not designed for backing up DynamoDB tables.AWS Backup:Purpose: AWS Backup is a fully managed backup service that makes it easy to centralize and automate the backup of data across AWS services, including DynamoDB. It supports scheduled backups and lifecycle policies for automatic expiration of backups.Cron Schedule Expression:Purpose: A cron schedule expression is used to define a specific time or schedule for running tasks, such as backups. It is suitable for defining the backup frequency (e.g., midnight on the 15th and 25th of each month).Rate Schedule Expression:Purpose: A rate schedule expression is used to define a recurring interval for running tasks, such as every 12 hours or every day. It is not suitable for defining specific dates like the 15th and 25th of each month.Evaluating the Options:Option A: Use the DynamoDB on-demand backup capability to create a backup plan. Configure a lifecycle policy to expire backups after 3 months.Incorrect: DynamoDB on-demand backups do not support scheduled backups or lifecycle policies for automatic expiration. AWS Backup is required for this functionality. Option B: Use AWS DataSync to create a backup plan. Add a backup rule that includes a retention period of 3 months.Incorrect: AWS DataSync is not designed for backing up DynamoDB tables. Option C: Use AWS Backup to create a backup plan. Add a backup rule that includes a retention period of 3 months.Correct: AWS Backup supports scheduled backups and lifecycle policies for automatic expiration of backups. This option meets the requirement for retaining backups for 3 months. Option D: Set the backup frequency by using a cron schedule expression. Assign each DynamoDB table to the backup plan.Correct: A cron schedule expression can be used to define the backup frequency (e.g., midnight on the 15th and 25th of each month). Assigning each DynamoDB table to the backup plan ensures that all tables are backed up according to the schedule.Option E: Set the backup frequency by using a rate schedule expression. Assign each DynamoDB table to the backup plan.Incorrect: A rate schedule expression is not suitable for defining specific dates like the 15th and 25th of each month.Final Answer:C. Use AWS Backup to create a backup plan. Add a backup rule that includes a retention period of 3 months.D. Set the backup frequency by using a cron schedule expression. Assign each DynamoDB table to the backup plan.These two steps together will ensure that the DynamoDB tables are backed up twice each month (on the 15th and 25th) and that the backups are retained for 3 months.