Chapter 6
- 4
TTL will only help if it can remove older records; therefore, this won't immediately help and is incorrect.
DAX may improve performance but it is not the most cost-efficient option.
DynamoDB Streams will not help any performance issue.
Autoscaling is the correct answer, as the issue is a restriction of provisioned capacity units.
- 1
An item is 3 KB, so you need one RCU per two items in eventually consistent mode, and three WCUs per item as standard write. This gives you 50 RCUs and 30 WCUs.
- 4
25 GB is provided free for each account when using DynamoDB.
- 2
An LSI can only be provisioned when the table is created.
A GSI can contain different keys to the base table.
- 3
This error is seen when using DAX and not when using DynamoDB, so autoscaling won't help.
This error is seen when using DAX and not when using DynamoDB, so on-demand won't help.
This is a DAX throttling error...