A company is managing a NoSQL database on-premises to host a critical component of an application, which is starting to have scaling issues.
The company wants to migrate the application to Amazon DynamoDB with the following considerations:
– Optimize frequent queries
– Reduce read latencies
– Plan for frequent queries on certain key attributes of the table
Which solution would help achieve these objectives?
A . Create global secondary indexes on keys that are frequently queried. Add the necessary attributes into the indexes.
B . Create local secondary indexes on keys that are frequently queried. DynamoDB will fetch needed attributes from the table.
C . Create DynamoDB global tables to speed up query responses. Use a scan to fetch data from the table.
D . Create an AWS Auto Scaling policy for the DynamoDB table.
Answer: A