Bird
0
0

A DynamoDB table shows high ConsumedWriteCapacityUnits and WriteThrottleEvents during peak hours. You want to optimize costs while avoiding throttling. What is the best strategy?

hard🚀 Application Q9 of 15
DynamoDB - Cost Optimization and Monitoring
A DynamoDB table shows high ConsumedWriteCapacityUnits and WriteThrottleEvents during peak hours. You want to optimize costs while avoiding throttling. What is the best strategy?
AImplement on-demand capacity mode to pay per request
BDouble the provisioned write capacity permanently
CDisable CloudWatch monitoring to reduce costs
DReduce the number of write requests by batching
Step-by-Step Solution
Solution:
  1. Step 1: Analyze cost and throttling optimization

    Batching write requests reduces the number of write operations, lowering consumed capacity and throttling.
  2. Step 2: Evaluate other options

    On-demand mode may increase costs if traffic is high; doubling capacity permanently increases cost; disabling monitoring hides issues.
  3. Final Answer:

    Reduce the number of write requests by batching -> Option D
  4. Quick Check:

    Batch writes reduce capacity use and throttling cost-effectively [OK]
Quick Trick: Batch writes to lower capacity use and throttling [OK]
Common Mistakes:
MISTAKES
  • Assuming on-demand always saves money
  • Increasing capacity without traffic analysis
  • Disabling monitoring hides problems

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More DynamoDB Quizzes