The attribute-definitions must include AttributeType (S, N, or B). Here, AttributeType is missing.
Step 2: Verify other parts
KeyType is present, throughput values are valid, and table name is valid. So the error is due to missing AttributeType.
Final Answer:
Missing AttributeType in attribute-definitions -> Option B
Quick Check:
AttributeType required in attribute-definitions [OK]
Hint: Always specify AttributeType with AttributeName [OK]
Common Mistakes:
Omitting AttributeType in attribute-definitions
Confusing KeyType with AttributeType
Assuming throughput values cause error
5. You want to create a DynamoDB table named Employees with a composite primary key: EmployeeId (string) as partition key and Department (string) as sort key. Which command correctly creates this table?