DynamoDB Questions Flashcards
What is a row called in DynamoDB
Item
Do items needs to share the same number of attributes?
No
Are there columns in DynamoDB
No
Can each Item in a table can be expressed as a tuple?
Yes
What is the maximum size of an item?
400K
Can it be provisioned to scale on the fly
Yes
Is this data model suited for storing data in used for serialization?
Yes
Is this data model suited for storing data in messaging in distributed systems
Yes
Are attributes in name/value pairs?
Yes
What is used to perform DDL operations?
Dynamo DB API
What is used to perform DML operations?
object-oriented code
Does dynamo DB support SQL?
No
Can data be queried ?
Yes, programmatically through API
What data can it store well?
cookie states, session data, application state, personalization data, access control data, JSON, sensor and log data.
What type of latency can be expected?
single digit millisecond
Is this suited for horizontal scaling?
Yes
How would you scale horizontally on a RDMS?
Sharding
What are the two consistency models supported?
Strong consistency and eventual consistency
If you choose strong consistency, can you use a standard EBS?
No, you must use provisioned IOPS
What is strong consistency?
The updates of one user must be seen by all other users. Similar to ACID consistency.
Should classic entity-relationship model be implemented in DynamoDB?
No, data should be denormalized and flattened.
Are adh-hoc queries suitable?
No