DVA-C02 · Question #75
DVA-C02 Question #75: Real Exam Question with Answer & Explanation
The correct answer is A: Create an Amazon DynamoDB table. Configure the table with a primary key that consists of the. Amazon DynamoDB is suited for storing inconsistent attributes data across items. Option B is wrong. This solution does not help get items with the condition of the combination, title and release year.
Question
A developer wants to store information about movies. Each movie has a title, release year, and genre. The movie information also can include additional properties about the cast and production crew. This additional information is inconsistent across movies. For example, one movie might have an assistant director, and another movie might have an animal trainer. The developer needs to implement a solution to support the following use cases: - For a given title and release year, get all details about the movie that has that title and release year. - For a given title, get all details about all movies that have that title. - For a given genre, get all details about all movies in that genre. Which data store configuration will meet these requirements?
Options
- ACreate an Amazon DynamoDB table. Configure the table with a primary key that consists of the
- BCreate an Amazon DynamoDB table. Configure the table with a primary key that consists of the
- COn an Amazon RDS DB instance, create a table that contains columns for title, release year, and
- DOn an Amazon RDS DB instance, create a table where the primary key is the title and all other
Explanation
Amazon DynamoDB is suited for storing inconsistent attributes data across items. Option B is wrong. This solution does not help get items with the condition of the combination, title and release year.
Community Discussion
No community discussion yet for this question.