AWS DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. Designed for modern applications that require consistent, single-digit millisecond latency, DynamoDB is perfect for use cases like e-commerce, gaming, IoT, and real-time analytics. It simplifies the process of handling large amounts of data by offering features like auto-scaling, global tables, and built-in security.
This collection of 200+ MCQs covers everything from basic concepts to advanced features of DynamoDB, ensuring learners at all levels can strengthen their knowledge. Whether you are just starting out or preparing for AWS certifications, these questions will help you test your understanding of topics like data modeling, indexing, performance optimization, and integration with other AWS services.
Sample MCQs
- What type of database is DynamoDB?
a) Relational
b) NoSQL
c) Hierarchical
d) Graph
Answer: b) NoSQL - Which key is mandatory when creating a table in DynamoDB?
a) Partition Key
b) Sort Key
c) Primary Key
d) Foreign Key
Answer: a) Partition Key - What does a Global Secondary Index (GSI) allow you to do?
a) Retrieve data faster than Query operations
b) Use an alternative partition key for queries
c) Perform ACID transactions
d) Add TTL to items
Answer: b) Use an alternative partition key for queries - What is the default consistency model for DynamoDB?
a) Eventual Consistency
b) Strong Consistency
c) Causal Consistency
d) Read-After-Write Consistency
Answer: a) Eventual Consistency - Which AWS service accelerates read performance for DynamoDB?
a) AWS Lambda
b) DynamoDB Accelerator (DAX)
c) AWS CloudFront
d) AWS S3
Answer: b) DynamoDB Accelerator (DAX) - What is the purpose of the TTL (Time to Live) feature in DynamoDB?
a) Backup data
b) Expire items after a specific time
c) Encrypt data
d) Archive logs
Answer: b) Expire items after a specific time - Which operation retrieves multiple items in a single request?
a) PutItem
b) BatchGetItem
c) Scan
d) Query
Answer: b) BatchGetItem - What does the term “hot key” refer to in DynamoDB?
a) Frequently accessed partition key
b) Keys with encryption enabled
c) Global keys
d) Keys used in GSI
Answer: a) Frequently accessed partition key - What is the maximum size of an item in DynamoDB?
a) 256 KB
b) 400 KB
c) 512 KB
d) 1 MB
Answer: b) 400 KB - Which feature enables real-time processing of changes in DynamoDB?
a) DynamoDB Streams
b) Global Tables
c) Auto-scaling
d) Multi-region Replication
Answer: a) DynamoDB Streams