Skill 4.3.3
Determining cost-effective AWS database services with appropriate use cases (for example, DynamoDB compared with Amazon RDS, serverless)
Key Concepts
DynamoDB is cost-effective for key-value access at any scale: on-demand mode for unpredictable or spiky traffic (pay per request), provisioned with auto scaling (and reserved capacity) for steady traffic. It needs no instance management.
RDS suits relational workloads with steady load: right-size, use Reserved Instances, gp3 storage and Graviton instance classes. Aurora Serverless v2 suits variable or intermittent relational workloads and dev/test databases, scaling in fine-grained ACUs (and down to zero when paused).
Caching with ElastiCache or DAX can reduce the size or number of database instances or DynamoDB capacity needed. Read replicas cost a full instance each, so caching is often cheaper for read-heavy hot data.