Bird
0
0

You want to optimize costs for a DynamoDB table accessed with 1 KB items and 100 writes per second. Which access pattern reduces write capacity usage?

hard🚀 Application Q8 of 15
DynamoDB - Cost Optimization and Monitoring
You want to optimize costs for a DynamoDB table accessed with 1 KB items and 100 writes per second. Which access pattern reduces write capacity usage?
AUsing strongly consistent reads instead of writes
BWriting each item individually
CBatch writes of 5 items at once
DIncreasing item size to 4 KB
Step-by-Step Solution
Solution:
  1. Step 1: Understand write capacity unit usage

    Each write consumes 1 WCU per 1 KB item. Batch writes can reduce overhead by grouping requests.
  2. Step 2: Identify cost-saving pattern

    Batch writing 5 items at once reduces the number of write requests, lowering total WCUs consumed.
  3. Final Answer:

    Batch writes of 5 items at once -> Option C
  4. Quick Check:

    Batch writes reduce WCUs usage [OK]
Quick Trick: Batch writes reduce request count and cost [OK]
Common Mistakes:
MISTAKES
  • Thinking item size increase reduces cost
  • Confusing reads with writes
  • Ignoring batch write benefits

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes