A multi-tenant application serves both read-heavy and write-heavy traffic. The team is considering using API Gateway with a Lambda backend and DynamoDB. They need to prevent throttling hotspots across tenants, while keeping cost predictable. Which architectural choice best aligns with DynamoDB and API Gateway patterns for this goal?
Answer
Use a tenant-scoped partition key in DynamoDB and enable request throttling at the API Gateway stage per tenant using usage plans
Explanation
A tenant-scoped partition key spreads load across partitions and avoids hotspotting. API Gateway usage plans (with appropriate per-tenant quotas) provide controlled throttling while keeping cost more predictable.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A company uses an S3 bucket for application logs. To meet compliance requirements, they need to ensure: (1) objects are encrypted at rest with AWS-managed keys, (2) all uploads are rejected unless encryption is in place, and (3) the bucket can still be accessed by an existing service role without updating every application. Which combination best satisfies these requirements?
View question →
A company runs an event-driven pipeline: S3 uploads trigger processing in SQS and then invoke a Lambda function that writes to DynamoDB. They observe occasional processing delays during traffic spikes and want to avoid losing messages. Which change most directly improves peak throughput without sacrificing durability?
View question →
A team is migrating an on-prem relational database to AWS. They want managed replication with minimal downtime, but they do not want to redesign the schema immediately. They also need to keep the database online during cutover. Which service combination best matches these requirements?
View question →
You must design for high availability between two AWS Regions for a critical workload. RPO must be near-zero (seconds) and RTO must be under 30 minutes. The solution must also support frequent schema changes. Which approach is most appropriate at the AWS Solutions Architect Associate level?
View question →
A VPC design uses AWS Site-to-Site VPN. The customer requires predictable failover when the VPN endpoint becomes unavailable, without changing application configuration. Which design best meets this?
View question →
A SaaS vendor hosts a single API for multiple customer accounts. They need to ensure that requests are authorized and rate-limited per customer. They also require auditability of denied requests. Which solution provides the strongest control within typical AWS integration patterns?
View question →