DynamoDB MCQ Questions And Answers
DynamoDB MCQs : This section focuses on "Basics" of DynamoDB. These Multiple Choice Questions (MCQ) should be practiced to improve the DynamoDB skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. Amazon DynamoDB is a fully managed proprietary?
A. Centralised database
B. Commercial database
C. NoSQL database
D. Relational database
View Answer
Ans : C
Explanation: Amazon DynamoDB is a fully managed proprietary NoSQL database service that supports key-value and document data structures and is offered by Amazon.com as part of the Amazon Web Services portfolio.
2. How many types of primary keys does DynamoDB supports?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : A
Explanation: DynamoDB supports two types of primary keys: Partition key and sort key.
3. Which index that has the same partition key as the base table, but a different sort key?
A. Global secondary index
B. Local secondary index
C. Both A and B
D. None of the above
View Answer
Ans : B
Explanation: Local secondary index : An index that has the same partition key as the base table, but a different sort key.
4. How many attributes does DynamoDB allows?
A. 5
B. 10
C. 15
D. 20
View Answer
Ans : D
Explanation: DynamoDB allows 20 attributes.
5. Expression strings have a _____ limit.
A. 1KB
B. 2KB
C. 4KB
D. 8KB
View Answer
Ans : C
Explanation: Expression strings have a 4KB limit. Attribute expressions have a 255-byte limit. Substitution variables of an expression have a 2MB limit.
6. Which types represent a single value, and include number, string, binary, Boolean, and null?
A. Scalar
B. Document
C. Set
D. None of the above
View Answer
Ans : A
Explanation: Scalar : These types represent a single value, and include number, string, binary, Boolean, and null.
7. In Action Data Types, which represents key table and index schema?
A. Capacity
B. AttributeDefinition
C. PutRequest
D. TableDescription
View Answer
Ans : B
Explanation: AttributeDefinition : It represents key table and index schema
8. DynamoDB offers ________ low-level actions for data reading.
A. 1
B. 2
C. 3
D. 4
View Answer
Ans : D
Explanation: DynamoDB offers four low-level actions for data reading : GetItem, BatchGetItem, Scan and Query.
9. DynamoDB uses eventually consistent and strongly consistent reads to support dynamic application needs.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: DynamoDB uses eventually consistent and strongly consistent reads to support dynamic application needs.
10. DynamoDB does not supports Null values.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : B
Explanation: DynamoDB also supports Null values.
Discussion