All Questions
Dynamodb easy

DynamoDB has a strict 400KB limit on the size of a single item. What is the recommended design pattern if you need to store larger documents (e.g., 5MB PDFs)?

  1. A Split the PDF into 13 pieces and store them as separate items in a single collection.
  2. B Store the PDF file in Amazon S3 and save the S3 Object URL ('Pointer') as an attribute in the DynamoDB item.
  3. C Use the 'SuperSize' attribute type to increase the limit to 10MB.
  4. D Zip the file into a base64 string to reduce its size below 400KB.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions