AWS Certified Solutions Architect – Professional — Question 932

In regard to DynamoDB, when you create a table with a hash-and-range key.

Answer options

Correct answer: C

Explanation

When creating a DynamoDB table with a hash-and-range key, defining secondary indexes is entirely optional. You can choose to create Local secondary indexes or Global secondary indexes to support diverse query patterns, but they are not mandatory for the table to function. Therefore, you can successfully create and use the table without establishing any secondary indexes.