AWS DynamoDB Interview Questions and Answers
Ques 21. What are the limitations of DynamoDB?
Limitations include a maximum item size of 400 KB, a maximum of 256 tables per region per account, and a maximum provisioned capacity of 40,000 read and write capacity units.
Ques 22. How does DynamoDB handle eventual consistency?
DynamoDB provides both eventual and strong consistency. By default, read operations are eventually consistent, but you can request strongly consistent reads when needed.
Ques 23. What is the purpose of the 'BatchGetItem' operation in DynamoDB?
'BatchGetItem' retrieves multiple items from one or more tables using their primary keys. It allows efficient retrieval of multiple items in a single request.
Ques 24. Explain the differences between the 'UpdateItem' and 'PutItem' operations in DynamoDB.
'UpdateItem' modifies existing attributes or adds new ones to an existing item, while 'PutItem' creates a new item or replaces an existing item with a new one.
Ques 25. What is the purpose of the 'Query' operation in DynamoDB?
The 'Query' operation retrieves items from a table using a specified primary key or index key. It is more efficient than 'Scan' for retrieving a subset of items.
Most helpful rated by users:
- What is DynamoDB?
- Explain the concept of the 'GetItem' operation in DynamoDB.
- How does DynamoDB handle transactions?