An educational institution runs a student voting application during the annual student council election. The application experiences a sudden, unpredictable surge in database writes for a single day, but remains completely idle for the rest of the year. The system uses an Amazon DynamoDB table. Which capacity mode should the solutions architect choose to minimize costs while preventing write throttling?
- On-Demand capacity modeAnswer
- BProvisioned capacity mode with Auto Scaling enabled
- CProvisioned capacity mode set to a high fixed capacity baseline
- DProvisioned capacity mode with a Compute Savings Plan applied
Answer
On-Demand capacity mode
On-Demand capacity mode is ideal for highly unpredictable and spiky workloads with long periods of inactivity. It provides instant scaling to handle traffic bursts without throttling and incurs zero cost when the database is idle, satisfying both performance and cost constraints.
Step-by-Step Solution
Key Concept
DynamoDB capacity planning for unpredictable and sporadic workloads
Estimated Time:45s