AWS Developer DVA-C02 · Development with AWS Services · medium

An application stores product catalog items in an Amazon DynamoDB table using Provisioned Capacity mode. Each item averages 10 KB in size. The application performs 60 strongly consistent reads per second and 40 eventually consistent reads per second. How many total Read Capacity Units (RCUs) must be provisioned on the table?

Published · Last updated · checked before publication — how we verify questions

Options

  • A300 RCUs (treating both 60 and 40 reads as strongly consistent)
  • B240 RCUs (180 RCUs for strong reads plus 60 RCUs for eventual reads)Correct answer
  • C200 RCUs (dividing 10 KB by 4 KB without rounding up to 12 KB)
  • D120 RCUs (treating all 100 reads/sec as eventually consistent)

Answer: B. 240 RCUs (180 RCUs for strong reads plus 60 RCUs for eventual reads)

In DynamoDB, 1 RCU supports 1 strongly consistent read per second (or 2 eventually consistent reads per second) for items up to 4 KB. An item of 10 KB rounds up to the next multiple of 4 KB: $\lceil 10 / 4 \rceil = 3$ units of 4 KB per item. - 60 strongly consistent reads/sec: $60 \times 3 = 180\text{ RCUs}$ - 40 eventually consistent reads/sec: $(40 / 2) \times 3 = 60\text{ RCUs}$ - Total RCUs: $180 + 60 = \mathbf{240\text{ RCUs}}$.

Why the other options are wrong

  • A. 300 RCUs (treating both 60 and 40 reads as strongly consistent) — Eventually consistent reads consume half the capacity of strongly consistent reads ((40 / 2) * 3 = 60, not 120).
  • C. 200 RCUs (dividing 10 KB by 4 KB without rounding up to 12 KB) — DynamoDB rounds item sizes up to the next 4 KB boundary (ceil(10 / 4) = 3, not 2.5).
  • D. 120 RCUs (treating all 100 reads/sec as eventually consistent) — Strongly consistent reads require 1 full RCU per 4 KB chunk (60 * 3 = 180 RCUs alone).

All Development with AWS Services questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.