Q60 — AWS DVA-C02 Ch.3
Question 60 of 100 | ← Chapter 3
A developer is building an application that uses Amazon DynamoDB. The developer wants to retrieve a specific item from the database using a single API call. Which DynamoDB API call meets these requirements while minimizing impact on the database?
- A. BatchGetItem ✓
- B. GetItem
- C. Scan
- D. Query
Correct Answer: A. BatchGetItem
Explanation
BatchGetItem retrieves up to 100 items from one or more tables in a single call. This API requires the primary key values of the items to be retrieved. Because BatchGetItem retrieves items in bulk, it has the lowest impact on the database compared to GetItem, Scan, or Query APIs, which may require more API calls to retrieve the same number of items.