QuestionQ12

Troubleshooting and Optimization

A developer is building an application that uses Amazon DynamoDB. The developer wants to retrieve multiple specific items from the database with a single API call.

Which DynamoDB API call will meet these requirements with the MINIMUM impact on the database?

  • A BatchGetItem
  • B GetItem
  • C Scan
  • D Query
Explanation

BatchGetItem is the DynamoDB API designed to retrieve multiple specific items in a single call with minimal database impact. Unlike Query (which searches by condition) or Scan (which reads the entire table), BatchGetItem efficiently fetches only the requested items by key.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!