logo

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"]}

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"]}

题目类型: 技术面试题

这是一道技术面试题,常见于澳洲IT公司面试中。

难度: medium

分类: Cloud, DevOps

标签: AWS, Skill Assessment

参考答案摘要

选项 [ ] 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 com...

本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。

← 返回面试题库

<p>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?</p><pre><code class="language-json">{ &quot;title&quot;: &quot;The Avengers&quot;, &quot;year&quot;: 2012, &quot;cast&quot;: [&quot;Mark Ruffalo&quot;, &quot;Robert Downey, Jr.&quot;], &quot;genres&quot;: [&quot;Action&quot;]}</code></pre>

Mediumaws

想查看完整答案?

登录匠人学院学习中心,获取 STAR 格式回答和详细技术解析

前往学习中心查看答案