Bird
0
0

A DynamoDB table in provisioned mode has 5 read capacity units and 5 write capacity units. If your application performs 10 strongly consistent reads and 3 writes per second, what will happen?

medium📝 query result Q4 of 15
DynamoDB - Cost Optimization and Monitoring
A DynamoDB table in provisioned mode has 5 read capacity units and 5 write capacity units. If your application performs 10 strongly consistent reads and 3 writes per second, what will happen?
AReads are throttled, writes succeed
BBoth reads and writes are throttled
CWrites are throttled, reads succeed
DAll requests succeed without throttling
Step-by-Step Solution
Solution:
  1. Step 1: Calculate capacity usage for reads and writes

    Strongly consistent reads consume 2 read units each. 10 reads x 2 = 20 read units needed, but only 5 provisioned.
  2. Step 2: Compare writes usage

    3 writes per second require 3 write units, which is less than 5 provisioned, so writes succeed.
  3. Final Answer:

    Reads are throttled, writes succeed -> Option A
  4. Quick Check:

    Provisioned capacity exceeded for reads only = throttling reads [OK]
Quick Trick: Strongly consistent reads cost double read units [OK]
Common Mistakes:
MISTAKES
  • Ignoring strongly consistent read cost
  • Assuming writes throttle first
  • Thinking all requests succeed regardless

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes