In DynamoDB, an ___ is created with the table and shares its partition-key attribute while using a different sort-key a…