All Questions
Dynamodb medium

A developer runs a `Scan` on a 50GB table. The first response returns only 20 items. What is the technical mechanism causing this limited result set?

  1. A The Scan operation is limited by the client's available CPU power.
  2. B Pagination Boundary: DynamoDB enforces a strict 1MB limit per API response. The database stops scanning once 1MB of data is processed, requiring the developer to loop using the `LastEvaluatedKey` for further results.
  3. C The database has detected a potential security threat and truncated the results.
  4. D It is an intentional delay to force developers to upgrade to a more expensive tier.

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

Get the app

Related questions