Interview Prep/AWS/S3, RDS and DynamoDB

DynamoDB throws ProvisionedThroughputExceededException for one user's activity. Why, and what's the fix?

IntermediateScenarioS3, RDS and DynamoDB
Answer

Situation read → A hot partition: one partition key takes disproportionate traffic.

What I'd do →

  1. Look at CloudWatch Contributor Insights for the hot key
  2. Redesign the key to spread load, such as adding a shard suffix user#17
  3. Switch to on-demand mode if the pattern is unpredictable
  4. Add DAX for read-heavy hotspots
  5. Add SDK backoff

Why → Throughput is divided among partitions, so even keys matter more than total capacity.

Interview tip → Adaptive capacity helps but does not fix a skewed design.

aws All AWS questions Roadmap: AWS core services

More on S3, RDS and DynamoDB