Topic 1 Question 551
An application includes an Amazon DynamoDB table that is named orders. The table has a primary partition key of id and a global secondary index (GSI) that is named an accountIndex. The GSI has a partition key of accountId and a sort key of orderDateTime.
A developer needs to create an AWS Lambda function to retrieve the orders that have an accountId of 100.
Which solution will meet this requirement by using the LEAST read capacity?
Define a DynamoDB API request for the GetItem action with the following parameters:

Define a DynamoDB API request for the BatchGetItem action with the following parameters:

Define a DynamoDB API request for the Scan action with the following parameters:

Define a DynamoDB API request for the Query action with the following parameters:

ユーザの投票
コメント(1)
- 正解だと思う選択肢: D
The Query action is the most efficient for retrieving items from DynamoDB when you want to retrieve data based on a partition key or both a partition key and sort key
👍 2e8868352025/02/05