Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In Amazon DynamoDB, which API call is optimal for retrieving multiple specific items with minimal database impact using a single request?
A
BatchGetItem - Efficient for fetching multiple items with known primary keys across one or more tables.
B
GetItem - Intended for retrieving a single item using its primary key, not designed for multiple items.
C
Scan - Scans the entire table, inefficient for specific items and can cause higher load.
D
Query - Retrieves items based on a partition key, not suitable for varied primary key combinations in one call.