DynamoDB Flashcards
(93 cards)
What is DynamoDB?
is a key-value and document database (NoSQL) that delivers single-digit millisecond performance at any scale. It’s a fully managed, multiregion, multimaster, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications
What uses DynamoDB for security administration and auth?
IAM
Is DynamoDB replicated?
across 3 AZs
What are DynamoDB features?
- Scales to massive workloads, distributed database
- Millions of requests per seconds, trillions of row, 100s of TB of storage
- Fast and consistent in performance (low latency on retrieval)
- Enables event driven programming with DynamoDB Streams
- Low cost and auto scaling capabilities
What is made off DynamoDB?
tables
What is better to use DynamoDB? read or write?
to write: RCU cost = 5 x WCU cost
What must have DynamoDB provisioned mode tables defined for throughput?
Read Capacity Units (RCU) and Write Capacity Units (WCU)
What is a DynamoDB Read Capacity Unit?
- 1 RCU = 1 strongly consistent read of 4 KB per second
* 1 RCU = 2 eventually consistent read of 4 KB per second
What is a DynamoDB Write Capacity Unit?
• 1 WCU = 1 write of 1 KB per second
What you need to have if DynamoDB throughput must be temporarily exceeded?
burst credit
What happens If your DynamoDB burst credit is empty
you’ll get a “ProvisionedThroughputException”
Can you set auto scaling DynamoDB RCU and WCU
yes
What are the read/write capacity modes of DynamoDB?
Provisioned (Free tier)
On demand
What is DynamoDB Streams?
To capture and process changes to DynamoDB items on a table (Create, Update, Delete) on Streams
What can read DynamoDB Streams?
Lambda
What are good scenarios for using DynamoDB Streams?
• React to changes in real time (welcome email to new users) • Analytics • Create derivative tables / views • Insert into ElasticSearch
What can you use to implement CRR on DynamoDB?
DynamoDB Streams
What is the retention time for data on DynamoDB Streams?
1 day
Does DynamoDB accept Transactions?
Yes
Can you access DynamoDB without internet?
Yes, through VPC endpoints
Can you encrypt data in DynamoDB?
yes, at rest (KMS) and in transit (SSL / TLS)
Can you restore tables using DynamoDB?
yes, it has Point In Time Restore and it does not affect performance
What is Amazon DMS?
AWS Database Migration Service (AWS DMS) is a cloud service that makes it easy to migrate relational databases, data warehouses, NoSQL databases, and other types of data stores
What is DynamoDB Global Tables?
provide a fully managed solution for deploying a multiregion (CRR), multi-master database, without having to build and maintain your own replication solution