Topic 1 Question 469
A developer is creating an application that uses an Amazon DynamoDB table. The developer needs to develop code that reads all records that were added to the table during the previous day, creates HTML reports, and pushes the reports into third-party storage. The item size varies from 1 KB to 4 KB, and the index structure is defined with the date. The developer needs to minimize the read capacity that the application requires from the DynamoDB table.
Which DynamoDB API operation should the developer use in the code to meet these requirements?
Query
Scan
BatchGetItem
GetItem
ユーザの投票
コメント(1)
- 正解だと思う選択肢: A
Why Use Query? Targeted Retrieval: Since the index is defined with the date, you can use the date as the partition key or sort key (depending on how the index is designed). The Query operation allows you to specify the exact partition key (e.g., date = '2024-12-16' for the previous day).
👍 2ShakthiGCP2024/12/17
シャッフルモード