AWS Certified Solutions Architect – Professional — Question 373
In DynamoDB, to get a detailed listing of secondary indexes on a table, you can use the ______ action.
Answer options
- A. BatchGetItem
- B. TableName
- C. DescribeTable
- D. GetItem
Correct answer: C
Explanation
The DescribeTable action returns metadata about the specified table, including details about its schema, creation date, and any global or local secondary indexes. In contrast, GetItem and BatchGetItem are data plane operations used to retrieve actual items from the table. TableName is a parameter used in API requests rather than an executable action.