0
0
AWScloud~5 mins

Creating a DynamoDB table in AWS - Quick Revision & Summary

Choose your learning style9 modes available
Recall & Review
beginner
What is Amazon DynamoDB?
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.
Click to reveal answer
beginner
What is a primary key in a DynamoDB table?
A primary key uniquely identifies each item in a DynamoDB table. It can be a simple primary key (partition key) or a composite primary key (partition key and sort key).
Click to reveal answer
intermediate
Why do you need to specify read and write capacity units when creating a DynamoDB table?
Read and write capacity units define the throughput capacity for the table, controlling how many reads and writes per second the table can handle. This helps manage performance and cost.
Click to reveal answer
intermediate
What is the difference between on-demand and provisioned capacity modes in DynamoDB?
On-demand capacity automatically adjusts to your workload and charges per request, while provisioned capacity requires you to specify read/write units and is better for predictable workloads.
Click to reveal answer
advanced
What is a Global Secondary Index (GSI) in DynamoDB?
A Global Secondary Index is an index with a partition key and optional sort key that can be different from the base table's primary key, allowing efficient queries on different attributes.
Click to reveal answer
Which of the following is required when creating a DynamoDB table?
APrimary key definition
BVPC configuration
CSubnet group
DIAM user password
What does a partition key in DynamoDB do?
AEncrypts data
BDefines table backup schedule
CDistributes data across partitions
DLimits table size
Which capacity mode charges you based on the number of reads and writes you perform?
ABurst capacity
BProvisioned capacity
CReserved capacity
DOn-demand capacity
What is the purpose of a sort key in a DynamoDB table?
ATo sort items with the same partition key
BTo set read capacity
CTo define table region
DTo encrypt data
Which feature allows querying a DynamoDB table using an alternate key?
ALocal Secondary Index
BGlobal Secondary Index
CPrimary Key
DBackup and Restore
Explain the steps to create a DynamoDB table with a simple primary key.
Think about what you need to uniquely identify items and how you want to handle capacity.
You got /4 concepts.
    Describe the difference between provisioned and on-demand capacity modes in DynamoDB and when to use each.
    Consider workload predictability and cost management.
    You got /4 concepts.