You are creating a DynamoDB table to store all movies that have been released since 1938. Your application will allow users to search by movie title and see the details of that film. Given the sample below showing the movie data that you will be importing, what is the best set of keys to apply to this table?

Digital Marketing, LinkedIn Amazon Web Services (AWS) Skill Quiz Answers

You no longer need to be worried if you are taking the LinkedIn Amazon Web Services (AWS) Skill Quiz Exam and are unsure about the proper answer to the question “You are creating a DynamoDB table to store all movies that have been released since 1938. Your application will allow users to search by movie title and see the details of that film. Given the sample below showing the movie data that you will be importing, what is the best set of keys to apply to this table?”. I have provided the right answer to your question below.

You are creating a DynamoDB table to store all movies that have been released since 1938. Your application will allow users to search by movie title and see the details of that film. Given the sample below showing the movie data that you will be importing, what is the best set of keys to apply to this table?

{

“title”: “The Avengers”,

“year”: 2012,

“cast”: [“Mark Ruffalo”, “Robert Downey, Jr.”],

“genres”: [“Action”]

}

Options

  • The primary key should be the title field and the partition key should be the genres field.
  • The primary key should be created as a completely unique value, such a sequential numerical list of movie IDs. The partition key should be title field for fast lookup.
  • The primary key should be a composite key comprised of a partition key on the title field and a sort key on the year field.
  • The primary key should be a partition key of the title field.

The Correct Answer Is:

  • The primary key should be created as a completely unique value, such a sequential numerical list of movie IDs. The partition key should be title field for fast lookup.

Conclusion

I believe I was successful in answering your query “You are creating a DynamoDB table to store all movies that have been released since 1938. Your application will allow users to search by movie title and see the details of that film. Given the sample below showing the movie data that you will be importing, what is the best set of keys to apply to this table?”. I hope you easily pass the certification exam and get the certificate as soon as possible. Have a great time! Good luck!