A company has a set of DynamoDB tables.
They have requested you as the SysOps Administrator to ensure that backups are available for the tables for compliance purposes.
How can you enable this in the easiest way possible?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: A.
The AWS Documentation mentions the following.
Amazon DynamoDB provides the on-demand backup capability.
It allows you to create full backups of your tables for long-term retention and archival for regulatory compliance needs.
You can back up and restore your table data anytime with a single click on the AWS Management Console or with a single API call.
Backup and restore actions run with zero impact on table performance or availability.
Option B is incorrect since this would not be the ideal approach, too much maintenance would be involved.
Option C is incorrect since DynamoDB does not give you access to the underlying infrastructure.
Option D is incorrect since DAX is just a distractor in the question, it is used to decrease the latency to access data.
For more information on backups for DynamoDB, please visit the below URL-
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BackupRestore.htmlThe easiest way to enable backups for DynamoDB tables is by creating on-demand backups using the Amazon DynamoDB Backup and Restore feature. This is the correct answer, which is option A.
Option A: Create on-demand backups for Amazon DynamoDB tables. Amazon DynamoDB Backup and Restore feature provides an easy and efficient way to create on-demand backups for DynamoDB tables. You can create full backups or incremental backups, and you can restore the backups to the same or different tables in the same or different AWS accounts. You can also set retention periods for backups, and delete backups that are no longer needed. The backups are stored in Amazon S3, and you are only charged for the storage space used by the backups.
Option B: Create a cron job to copy the data from one table to a backup table. Creating a cron job to copy the data from one table to a backup table is not the easiest way to enable backups for DynamoDB tables. This approach requires you to write a script or use a third-party tool to copy the data, and you need to schedule the job to run regularly. This approach also requires you to manage the backup table separately, and you need to make sure that the data is consistent between the two tables.
Option C: Create EBS snapshots for the volumes holding the data. Creating EBS snapshots for the volumes holding the data is not the easiest way to enable backups for DynamoDB tables. This approach is not recommended because DynamoDB is a managed service, and the underlying infrastructure is abstracted from the user. DynamoDB does not use EBS volumes to store data, and there is no guarantee that EBS snapshots will capture all the data in the table.
Option D: Enable DAX for the DynamoDB table. Enabling DAX for the DynamoDB table is not the easiest way to enable backups for DynamoDB tables. DAX is a caching layer that sits between the application and DynamoDB, and it is used to improve the performance of read-heavy workloads. DAX does not provide backup and restore functionality for DynamoDB tables.