{
        "title":"The Avengers",
        "year": 2012,
        "cast" : ["Mark Ruffalo", "Robert Downey, Jr."],
        "genres" : ["Action"]
    }
  •  The primary key should be a partition key of the title field.
  •  The primary key should be the title field and the partition key should be the genres field.
  •  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 created as a completely unique value, such a sequential numerical list of movie IDs. The partition key should be title field for fast lookup.

By Neha S

Leave a Reply

Your email address will not be published.