Amazon DynamoDB Interview Questions
Fully managed NoSQL on AWS: partition & sort keys, single-table design, GSIs vs LSIs, provisioned vs on-demand capacity, consistency models, Query vs Scan, DynamoDB Streams, DAX caching, transactions, hot partitions, global tables and auto scaling.
61 questions
Popular Searches
1. What is Amazon DynamoDB and what problems does it solve?
easyDynamoDB Fundamentals 6 mins2. What is the difference between DynamoDB and a relational database?
mediumDynamoDB vs Other Databases 7 mins3. What is the difference between DynamoDB and MongoDB?
mediumDynamoDB vs Other Databases 7 mins4. What is a partition key in DynamoDB and how does it distribute data?
mediumData Modeling 6 mins5. What is the difference between a partition key and a sort key in DynamoDB?
mediumData Modeling 6 mins6. What is a composite primary key in DynamoDB?
easyData Modeling 5 mins7. How does DynamoDB partitioning and data distribution work under the hood?
hardData Distribution 7 mins8. What are secondary indexes in DynamoDB (GSI vs LSI)?
mediumIndexing 6 mins9. When should you use a Global Secondary Index versus a Local Secondary Index?
mediumIndexing 6 mins10. What is read and write capacity in DynamoDB (provisioned vs on-demand)?
mediumCapacity & Throughput 7 mins11. What are read capacity units and write capacity units in DynamoDB?
mediumCapacity & Throughput 7 mins12. What is the difference between eventually consistent and strongly consistent reads in DynamoDB?
mediumConsistency Models 7 mins13. What is single-table design in DynamoDB and why is it recommended?
hardData Modeling 7 mins14. How do you model one-to-many and many-to-many relationships in DynamoDB?
hardData Modeling 7 mins15. What is the difference between Query and Scan operations in DynamoDB?
mediumOperations 6 mins16. Why should you avoid Scan operations in DynamoDB?
mediumData Access Patterns 6 mins17. What are DynamoDB Streams and what are they used for?
mediumChange Data Capture 6 mins18. How does DynamoDB integrate with AWS Lambda for event-driven processing?
mediumServerless Integration 7 mins19. What is DynamoDB Time to Live (TTL) and when do you use it?
easyData Lifecycle 6 mins20. What is DynamoDB Accelerator (DAX) and how does it improve performance?
mediumPerformance & Caching 7 mins21. How does DynamoDB handle transactions (TransactWriteItems)?
hardTransactions & Consistency 8 mins22. What is optimistic locking in DynamoDB and how do conditional writes work?
mediumConcurrency Control 6 mins23. What is a hot partition in DynamoDB and how do you avoid it?
mediumPerformance & Scaling 7 mins24. How do you design partition keys for even data distribution in DynamoDB?
hardData Modeling 8 mins25. What are global tables in DynamoDB and how does multi-region replication work?
hardReplication & High Availability 7 mins26. How does auto scaling work in DynamoDB?
mediumCapacity & Performance 6 mins27. How do you handle pagination in DynamoDB queries?
mediumQuerying & Access Patterns 6 mins28. What are the item size limits and other quotas in DynamoDB?
mediumLimits & Quotas 6 mins29. When should you choose DynamoDB over other AWS databases?
mediumArchitecture & Trade-offs 7 mins30. What are common DynamoDB anti-patterns and best practices?
hardBest Practices 8 mins31. A production DynamoDB table is throttling — how do you diagnose and fix it?
hardDynamoDB Operations & Troubleshooting 8 mins32. How do you correctly handle UnprocessedItems in BatchWriteItem and UnprocessedKeys in BatchGetItem?
hardDynamoDB Operations & Troubleshooting 8 mins33. How do you configure AWS SDK retries and timeouts for a latency-sensitive DynamoDB client?
hardDynamoDB Operations & Troubleshooting 8 mins34. When would you choose Kinesis Data Streams for DynamoDB over DynamoDB Streams?
hardDynamoDB Change Data Capture 8 mins35. How can a global secondary index break writes to the base table, and how do you design around it?
hardDynamoDB Indexing 8 mins36. How do you design a DynamoDB backup and restore strategy with PITR and on-demand backups?
hardDynamoDB Backup & Recovery 8 mins37. Your DynamoDB bill is rising faster than traffic — how do you find and reduce the cost?
hardDynamoDB Cost Optimisation 8 mins38. How do you restrict a caller to only their own DynamoDB items using IAM?
hardDynamoDB Security 9 mins39. How do you test DynamoDB-backed code locally and in CI without weakening the tests?
hardDynamoDB Testing 9 mins40. How do you change a DynamoDB table's partition key with no downtime?
hardDynamoDB Data Migration 9 mins41. How do you run analytics over a DynamoDB table without hurting production traffic?
hardDynamoDB Analytics & Integration 9 mins42. How do you harden a DynamoDB table for encryption, network isolation and auditability?
hardDynamoDB Security 9 mins43. What are the real trade-offs of single-table design, and when would you not use it?
hardDynamoDB Data Modelling 9 mins44. How does DynamoDB adaptive capacity work, and why can you still get throttled?
hardDynamoDB Performance 9 mins45. What is a sparse global secondary index and when would you reach for one?
mediumDynamoDB Indexing 8 mins46. What is index overloading in DynamoDB and what does it cost you?
hardDynamoDB Indexing 9 mins47. How do you make DynamoDB writes idempotent using condition expressions?
mediumDynamoDB Consistency & Writes 9 mins48. What are the practical limits of DynamoDB transactions, and how do you handle a cancelled transaction?
hardDynamoDB Consistency & Writes 10 mins49. What ordering guarantees do DynamoDB Streams give, and where do they end?
hardDynamoDB Streams 10 mins50. How do you build a DynamoDB Streams consumer that tolerates redelivery?
hardDynamoDB Streams 10 mins51. When does a DynamoDB TTL item actually disappear, and what must the application do about it?
mediumDynamoDB Operations & Troubleshooting 9 mins52. How would you run a full table scan safely with parallel segments and make it resumable?
hardDynamoDB Operations & Troubleshooting 10 mins53. How do you estimate DynamoDB capacity for a new workload before it launches?
mediumDynamoDB Capacity & Cost 9 mins54. An item is approaching the 400 KB limit — how do you restructure it?
hardDynamoDB Data Modelling 10 mins55. You restore a DynamoDB table from a backup — what does the restore not bring back?
hardDynamoDB Backup & Recovery 10 mins56. A DynamoDB query is far more expensive than expected — how do you find out why?
hardDynamoDB Capacity & Cost 9 mins57. What is the difference between a key condition and a filter expression, and why does it matter for cost?
mediumDynamoDB Query & Scan 9 mins58. How would you model high-volume time-series data in DynamoDB?
hardDynamoDB Data Modelling 10 mins59. How do you maintain accurate counters and aggregates in DynamoDB?
hardDynamoDB Data Modelling 10 mins60. How do you publish events reliably when writing to DynamoDB?
hardDynamoDB Streams 11 mins61. How would you keep a full version history of an item in DynamoDB?
hardDynamoDB Data Modelling 10 mins