Bird
0
0

You have a DynamoDB table with 5 KB items. You perform 50 eventually consistent reads per second. How many read capacity units (RCUs) do you need?

medium📝 query result Q4 of 15
DynamoDB - Cost Optimization and Monitoring
You have a DynamoDB table with 5 KB items. You perform 50 eventually consistent reads per second. How many read capacity units (RCUs) do you need?
A125 RCUs
B75 RCUs
C100 RCUs
D50 RCUs
Step-by-Step Solution
Solution:
  1. Step 1: Calculate RCUs per read for 5 KB item

    Each eventually consistent read consumes ceil(item_size / 4 KB) * 0.5 RCU. For 5 KB, ceil(5/4)=2 * 0.5 = 1 RCU per read.
  2. Step 2: Calculate total RCUs for 50 reads

    50 reads * 1 RCU = 50 RCUs.
  3. Final Answer:

    50 RCUs -> Option D
  4. Quick Check:

    RCUs needed = 50 [OK]
Quick Trick: Round item size up to 4 KB blocks for RCUs [OK]
Common Mistakes:
MISTAKES
  • Not rounding item size up correctly
  • Using strongly consistent read cost
  • Multiplying incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes