DynamoDB Flashcards
With DynamoDB you don’t have to worry about
Hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.
DynamoDB is a _______ database.
NoSQL
How much amount of data can DynamoDB table store?
Any amount of data.
Two types of backup
- On-demand
2. Point-in-time recovery
With point-in-time recovery, how many days can you go back in time
35 days with per second granularity.
How is data made highly available and durable?
All of your data is stored on solid-state disks (SSDs) and is automatically replicated across multiple Availability Zones in an AWS Region, providing built-in high availability and data durability.
DynamoDB table terminology
Tables - items and attributes.
What uniquely identifies each item?
Primary key
_______ provides more flexible querying.
Secondary Index
Which attributes are schemaless in a DD table
Except Primary keys
DynamoDB supports nested attributes up to __ levels deep.
32
Types of primary keys
- Partition keys
2. Partition keys and sort key
A simple primary key, composed of one attribute is known as ___________________
Partition key
What is a composite key?
Composite key is made of two attributes - Partition key and sort key.
DynamoDB uses the partition key value as input to an _____________
internal hash function.
The output from the hash function determines the _______ in which the item will be stored.
partition
All items with the _________ value are stored together, in sorted order by _________.
same partition key, sort key value
The partition key of an item is also known as its ________
hash attribute
The sort key of an item is also known as its________
range attribute.
Each primary key attribute must be a ______________
scalar (meaning that it can hold only a single value)
The only data types allowed for primary key attributes are _____________________
string, number, or binary.
What is secondary index?
Secondary indexes are optional allows you to query data using alternate keys, in addition to the partition keys.
Types of secondary indexes.
- Global secondary index.
2. Local secondary index.
Secondary indexes quota
20 Global secondary indexes and 5 local secondary indexes.