What is the primary key used for in DynamoDB?
a) To store large files
b) To uniquely identify each item in a table
c) To enforce referential integrity
d) To join two tables together
Answer:
b) To uniquely identify each item in a table
Explanation:
In DynamoDB, the primary key is used to uniquely identify each item in a table. It can be a partition key or a combination of partition and sort keys.