AWS SAP-C02 · Question 55 · Domain 3.3: Performance Improvement
An application uses Amazon DynamoDB. The development team notices that a specific query is consuming a massive amount of Read Capacity Units (RCUs). The query searches for users by their 'EmailAddress' attribute, which is not the partition key or sort key of the table. The table has 10 million items. How can the Architect optimize the performance and cost of this query?
An application uses Amazon DynamoDB. The development team notices that a specific query is consuming a massive amount of Read Capacity Units (RCUs). The query searches for users by their 'EmailAddress' attribute, which is not the partition key or sort key of the table. The table has 10 million items. How can the Architect optimize the performance and cost of this query?
Answer options:
Create a Global Secondary Index (GSI) on the table with 'EmailAddress' as the partition key. Update the application to query the GSI.
Create a Local Secondary Index (LSI) on the table with 'EmailAddress' as the sort key.
Enable DynamoDB Accelerator (DAX) to cache the results of the query.
Increase the provisioned RCUs for the table to handle the load.
How to approach this question
Full Answer
Common mistakes
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5
75 questions · hints · full answers · grading
Expert