
Answer-first summary for fast verification
Answer: movie_id
Overall explanation Correct option: DynamoDB stores data as groups of attributes, known as items. Items are similar to rows or records in other database systems. DynamoDB stores and retrieves each item based on the primary key value, which must be unique. Items are distributed across 10-GB storage units, called partitions (physical storage internal to DynamoDB). DynamoDB uses the partition key’s value as an input to an internal hash function. The output from the hash function determines the partition in which the item is stored. Each item’s location is determined by the hash value of its partition key.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a developer for 'Movie Gallery', a company that has recently migrated its operations to the cloud, your current task involves setting up a database using NoSQL technology to store movies listed for public viewing. In the process of designing this database with Amazon DynamoDB, you must determine the appropriate partition key.
Which of the following unique attributes would meet this requirement?
A
producer_name
B
movie_id
C
lead_actor_name
D
movie_language
No comments yet.