DBS-C01 · Question #143
A company has an application that uses an Amazon DynamoDB table to store user data. Every morning, a single-threaded process calls the DynamoDB API Scan operation to scan the entire table and…
The correct answer is B. Use four threads and parallel DynamoDB API Scan operations. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Parallel
Question
A company has an application that uses an Amazon DynamoDB table to store user data. Every morning, a single-threaded process calls the DynamoDB API Scan operation to scan the entire table and generate a critical start-of-day report for management. A successful marketing campaign recently doubled the number of items in the table, and now the process takes too long to run and the report is not generated in time. A database specialist needs to improve the performance of the process. The database specialist notes that, when the process is running, 15% of the table's provisioned read capacity units (RCUs) are being used. What should the database specialist do?
Options
- AEnable auto scaling for the DynamoDB table.
- BUse four threads and parallel DynamoDB API Scan operations.
- CDouble the table's provisioned RCUs.
- DSet the Limit and Offset parameters before every call to the API.
How the community answered
(30 responses)- A13% (4)
- B77% (23)
- C3% (1)
- D7% (2)
Explanation
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Parallel
Topics
Community Discussion
No community discussion yet for this question.