What are the two types of primary keys in DynamoDB?

What are the two types of primary keys in DynamoDB?

a) Simple key and complex key
b) Partition key and sort key
c) Foreign key and composite key
d) Private key and public key

Answer:

b) Partition key and sort key

Explanation:

DynamoDB uses two types of primary keys: the partition key (simple primary key) and the composite primary key, which is a combination of the partition key and sort key.

Reference:

DynamoDB Quiz – MCQ Questions and Answers

Scroll to Top