What is the maximum size allowed for a single item in DynamoDB, including all attribute names and values?
Think about the official documented limit for item size in DynamoDB.
DynamoDB limits the total size of an item, including attribute names and values, to 400 KB.
Which of the following is a true statement about storing very large items close to the 400 KB limit in DynamoDB?
Think about how size affects throughput and latency in databases.
Large items consume more read/write capacity units and can increase latency because more data is transferred and processed.
Given this JSON item stored in DynamoDB, which option correctly calculates the total item size?
{"UserId": "12345", "Profile": {"Name": "Alice", "Bio": "A short bio."}}Remember that DynamoDB counts bytes, not characters, and includes attribute names and nested attributes.
DynamoDB calculates item size by summing the UTF-8 encoded bytes of all attribute names and values, including nested attributes.
You have items that exceed the 400 KB limit in DynamoDB. Which approach is best to handle this situation?
DynamoDB does not allow increasing item size limits. Think about splitting data logically.
Since DynamoDB has a fixed 400 KB item size limit, splitting large items into smaller linked items is the recommended approach.
A developer tries to insert this item but gets a ValidationException error:
{"OrderId": "001", "Details": {"Description": "A very long text exceeding 400 KB..."}}What is the most likely cause?
Consider DynamoDB limits on item size and attribute types.
DynamoDB enforces a 400 KB limit on item size. Large nested attributes can cause the item to exceed this limit, resulting in a ValidationException.