Service cheat sheets
Databases, caching and storage
DynamoDB capacity math, ElastiCache engines, Aurora and RDS, S3 limits and Storage Gateway types with the numbers the exam asks about.
DynamoDB
| Fact | Value |
|---|---|
| Item size | 400 KB maximum |
| Read capacity unit | One strongly consistent read of up to 4 KB per second. Eventually consistent reads cost half |
| Write capacity unit | One write of up to 1 KB per second |
| Transactions | Cost twice a standard read or write |
| Capacity modes | On-demand for spiky or unknown traffic, provisioned with auto scaling for steady |
| Indexes | LSI only at table creation and shares the partition. GSI can be added later with its own capacity |
| Recovery | PITR keeps 35 days. On-demand backups are kept until you delete them |
| Global tables | Multi-Region, multi-active, last writer wins |
| Streams | 24 hours of change records |
| DAX | Write-through cache for microsecond reads, same API |
ElastiCache and relational
| Service | Fact |
|---|---|
| ElastiCache Valkey or Redis OSS | Persistence, replication, Multi-AZ failover, sorted sets, pub/sub, Global Datastore |
| ElastiCache Memcached | Simple, multi-threaded, no persistence or replication, scales by sharding |
| Aurora | Storage replicated six ways across three AZs, up to 15 replicas, Global Database for cross-Region |
| Aurora Serverless v2 | Scales capacity in fine steps for variable load |
| RDS Multi-AZ | Standby for failover and not for reads. Read replicas are for scaling reads |
| RDS Proxy | Pools connections, helps Lambda and failover time |
| Redshift | Columnar warehouse. Spectrum queries S3 without loading |
Object and file storage
| Service | Fact |
|---|---|
| S3 object size | Up to 5 TB. A single PUT up to 5 GB, so use multipart above that |
| S3 consistency | Strong read-after-write for all operations |
| S3 Object Lock | Governance or compliance retention plus legal holds, needs versioning |
| S3 replication | SRR or CRR, needs versioning, only new objects unless you run batch replication |
| Storage Gateway | File Gateway for NFS or SMB to S3, Volume Gateway for iSCSI, Tape Gateway for virtual tape |
| EFS | Regional shared NFS for Linux, scales automatically |
| FSx | Windows File Server for SMB, Lustre for HPC, NetApp ONTAP and OpenZFS for those protocols |
Multi-AZ is not a read replica
An RDS Multi-AZ standby cannot serve reads. If the question needs more read capacity, the answer is a read replica or Aurora replicas, and if it needs failover, it is Multi-AZ.
Related
- Purpose-built databases: the full decision tree.
- Caching: CloudFront, DAX and ElastiCache in layers.
- Data transfer: Storage Gateway and the other transfer services.
- DynamoDB, RDS and Aurora, ElastiCache, S3 and EBS, EFS, FSx and Storage Gateway: the service pages.