ExamQuestions.com

Register
Login
AWS Certified Database Specialty Exam Questions

Amazon

AWS Certified Database Specialty

141 / 145

Question 141:

A database specialist is doing a code review of code implemented by a team developer. A sample of the code is given below:
aws dynamodb create-table \
 --table-name Donations \
 --attribute-definitions \
 AttributeName=Organization,AttributeType=S \
 AttributeName=User,AttributeType=S \
 --key-schema \
 AttributeName=Organization,KeyType=HASH \
 AttributeName=User,KeyType=RANGE \
--provisioned-throughput \
ReadCapacityUnits=10,WriteCapacityUnits=5
Which statement is true about the schema attributes?

Answer options:

A.User attribute is the primary key. Organization attribute is the sort key.
B.User attribute is the partition key. Organization attribute is the sort key.
C.Organization attribute is the primary key. User attribute is the sort key.
D.Organization attribute is the partition key. User attribute is the sort key.