Backup and Restore
Amazon DynamoDB provides two types of backups: on-demand backups and continuous (point-in-time) backups. With on-demand backups, you can create full backups of your DynamoDB tables at any time, without any performance impact on the table. Continuous backups provide an automated mechanism to back up your table data for up to 35 days, allowing you to restore your table to any second within that range. This is useful for situations such as accidental deletes or data corruption, as you can easily recover your data by restoring the table. DynamoDB encrypts both types of backups and stores them in an S3 bucket within the same region, ensuring data is secure and readily available when needed.
Guide: Backup and Restore for Amazon DynamoDB
Why is it Important:
Backup and Restore in Amazon DynamoDB is pivotal for disaster recovery, regulatory compliance, and to meet long-term retention requirements. It minimises impact on table performance by executing backups in the background.
What is it:
Amazon DynamoDB backup and restore feature is intended to provide user-initiated backup of DynamoDB table data for data archiving, aiding in disaster recovery, or to sweeping a table earlier to when a backup was taken.
How it Works:
DynamoDB has two types of backups: On-Demand and Point-In-Time Recovery (PITR). On-Demand backups create full backups of your tables for long-term retention. PITR lets you restore your table to an earlier state with a granularity of a second. The feature needs to be enable to work.
Exam Tips - Answering Questions on Backup and Restore:
1. Understand the differences between On-demand and PITR backups: On-demand are manual, full backups for long-term retention, while PITR provides automatic, continuous backups.
2. Familiarize with DynamoDB backup limits such as maximum backups per account.
3. Know the implications of restoring a table: A restore creates a new table, it does not replace the existing one, all settings except for provisioned throughput and indexes, will be the same.
4. Understand that restoring a table is charged as per the provisioned read capacity.
Note: Commit or revert the applied modifications as promptly as you can because DynamoDB continues to maintain backups in one-minute increments as you modify your tables.
AWS Certified Solutions Architect - Amazon DynamoDB Example Questions
Test your knowledge of Amazon Simple Storage Service (S3)
Question 1
A company is storing files on an Amazon EFS share mapped to multiple EC2 instances. What backup strategy should they implement?
Question 2
A Solutions Architect needs a consistent backup mechanism for an Amazon DynamoDB table. What backup method should be implemented?
Question 3
A company's application runs on EC2 instances and stores customer data on EBS volumes. To maintain compliance with data protection laws, they are required to have point-in-time backups for all EBS volumes. What's the best way to achieve this?
Go Premium
AWS Certified Solutions Architect - Associate Preparation Package (2024)
- 2203 Superior-grade AWS Certified Solutions Architect - Associate practice questions.
- Accelerated Mastery: Deep dive into critical topics to fast-track your mastery.
- Unlock Effortless AWS Certified Solutions Architect preparation: 5 full exams.
- 100% Satisfaction Guaranteed: Full refund with no questions if unsatisfied.
- Bonus: If you upgrade now you get upgraded access to all courses
- Risk-Free Decision: Start with a 7-day free trial - get premium features at no cost!