Google News
logo
DynamoDB - Quiz(MCQ)

DynamoDB : Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability.

DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so that you don't have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling. DynamoDB also offers encryption at rest, which eliminates the operational burden and complexity involved in protecting sensitive data.. More Info Click Here

A)
5
B)
10
C)
15
D)
20

Correct Answer :   20


Explanation : DynamoDB Allows 20 Attributes.

A)
SQL
B)
NoSQL
C)
MySQL
D)
All of the above

Correct Answer :   NoSQL


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.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   2


Explanation : DynamoDB uses Two types of Primary keys :

* Partition Key
* Partition key and Sort Key

A)
2
B)
3
C)
4
D)
5

Correct Answer :   2


Explanation : DynamoDB supports two types of secondary indexes: Global secondary index and Local secondary index.

A)
Clear primary key
B)
Dependent primary key
C)
Composite primary key
D)
None of the above

Correct Answer :   Composite primary key


Explanation : The partition key and Sort Key is also known as Composite primary key.

A)
18 January 2014
B)
18 January 2012
C)
18 January 2010
D)
18 January 2007

Correct Answer :   18 January 2012


Explanation : Amazon DynamoDB Initial release date: 18 January 2012

A)
sort key
B)
partition key
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   partition key


Explanation : This straightforward primary key consists of a single property known as the "partition key."

A)
Primary
B)
Secondary
C)
Composite
D)
None of the above

Correct Answer :   Secondary


Explanation : Secondary indexes enable you to query table data using a different key.

A)
Global secondary indexes
B)
Local secondary indexes
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Global secondary indexes


Explanation : Partition and sort keys may differ from table keys in the Global secondary index.

A)
6
B)
5
C)
4
D)
3

Correct Answer :   3


Explanation : DynamoDB offers three ways to conduct operations: a web-based Graphical interface, a JavaScript shell, and your preferred programming language.

A)
Units
B)
Sections
C)
Partitions
D)
Segments

Correct Answer :   Partitions


Explanation : Partitions are used by DynamoDB to store data.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   False


Explanation : The usage of reserved words as names is not prohibited by DynamoDB.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explanation : A DynamoDB table has no default TTL value.

A)
100 MB
B)
50 MB
C)
10 MB
D)
1 MB

Correct Answer :   1 MB


Explanation : With DynamoDB, the maximum size of an object is 1 MB.

A)
Local secondary indexes
B)
Global secondary indexes
C)
Can Not Say
D)
None of the above

Correct Answer :   Local secondary indexes


Explanation : Secondary indexes index has the same partition key as the table, but its sort key is different.

A)
Strongly consistent
B)
Eventually consistent
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explanation : To satisfy the demands of dynamic applications, DynamoDB employs eventually consistent and strongly consistent reads.

A)
1KB
B)
2KB
C)
4KB
D)
8KB

Correct Answer :   4KB


Explanation : A read capacity unit is a single consistent read per second for items no larger than 4KB. A write capacity unit is a single write per second for items no bigger than 1KB.

A)
31
B)
63
C)
127
D)
255

Correct Answer :   255


Explanation : Names must conform to a minimum of 3 characters in length, and a maximum of 255.

A)
1KB
B)
2KB
C)
4KB
D)
8KB

Correct Answer :   4KB


Explanation : Expression strings have a 4KB limit. Attribute expressions have a 255-byte limit. Substitution variables of an expression have a 2MB limit.

A)
Set
B)
Scalar
C)
Document
D)
None of the above

Correct Answer :   Scalar


Explanation : Scalar : These types represent a single value, and include number, string, binary, Boolean, and null.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explanation : False, Eventually Consistent readings do not always return current data.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explanation : The strongly consistent reads always deliver current data.

A)
6
B)
5
C)
4
D)
3

Correct Answer :   3


Explanation : Each data type in DynamoDB falls into one of the 3 Categories :

* Scalar
* Document
* Set

A)
Query
B)
PutItem
C)
Scan
D)
GetItem

Correct Answer :   Scan


Explanation : A scan operation reads all of the elements in the table.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   Yes


Explanation : Yes, DynamoDB supports Null values.

A)
Increment atomic operation
B)
Decrement atomic operation
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explanation : Amazon DynamoDB supports atomic increment and decrement operations.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   No


Explanation : Currently, Amazon DynamoDB is unable to remove the table's local secondary indexes once they have been established.

A)
Set
B)
Scalar
C)
Document
D)
None of the above

Correct Answer :   Document


Explanation : Document types represent a complex structure possessing nested attributes, and include lists and maps.

A)
Schema less
B)
Schema Full
C)
Mix
D)
None of the above

Correct Answer :   Schema less


Explanation : DynamoDB tables are Schema less.

A)
List
B)
Sets
C)
Map
D)
None of the above

Correct Answer :   Sets


Explanation : Sets must-have elements of the same type, whether they be numbers, strings, or binary.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   5


Explanation : For Table Maintenance, DynamoDB provides five low-level operations:

* CreateTable
* ListTable
* Update Table
* Describe table
* Delete Table

A)
CreateTable
B)
ListTable
C)
Describe table
D)
Update Table

Correct Answer :   Describe table


Explanation : Describe table operation returns table metadata such as status, size, and indexes.

A)
2
B)
3
C)
4
D)
6

Correct Answer :   4


Explanation : For data reading, DynamoDB provides four low-level operations:

* GetItem
* BatchGetItem
* Scan
* Query

34 .
Which of the following data-reading action in DynamoDB receives a primary key and returns the corresponding item's attributes?
A)
GetItem
B)
Scan
C)
Query
D)
BatchGetItem

Correct Answer :   GetItem


Explaination : GetItem action receives a primary key and returns the corresponding item's attributes.

35 .
You may generate an access key and a secret key by establishing a user in Amazon IAM (Identity Access Management).
A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explaination : You may generate an access key and a secret key by establishing a user in Amazon IAM (Identity Access Management).

A)
200KB
B)
400KB
C)
600KB
D)
800KB

Correct Answer :   400KB


Explanation : String : They are Unicode using UTF-8, with a minimum length of >0 and maximum of 400KB.

A)
Capacity
B)
PutRequest
C)
TableDescription
D)
AttributeDefinition

Correct Answer :   AttributeDefinition


Explanation : AttributeDefinition : It represents key table and index schema

A)
TableDescription
B)
PutRequest
C)
LocalSecondaryIndex
D)
ProvisionedThroughput

Correct Answer :   PutRequest


Explanation : PutRequest : It represents PutItem requests

A)
It is scalable
B)
It is durable and highly available
C)
It provides the users high throughput at very low latency.
D)
All of the above

Correct Answer :   All of the above


Explanation : All of the above are benefits of using Amazon DynamoDB

A)
Projection
B)
Estimation
C)
Forecasted
D)
None of the above

Correct Answer :   Projection


Explanation : A projection is a collection of properties that are transferred or anticipated from a table to an index.

A)
Yes
B)
No
C)
Can Not Say
D)
None of the above

Correct Answer :   No


Explanation : No, Without the key pair, you cannot connect to EC2 instances.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   False


Explanation : Binary and binary set properties are not supported by the DynamoDB/EMR connection.

A)
Amazon's MapReduce
B)
Amazon's Hive MapReduce
C)
Amazon's Elastic MapReduce (EMR)
D)
None of the above

Correct Answer :   Amazon's Elastic MapReduce (EMR)


Explanation : Amazon's Elastic MapReduce (EMR) service allows you to handle large amounts of data rapidly and effectively.

A)
EMR
B)
CloudWatch
C)
CloudMonitor
D)
CloudTrail

Correct Answer :   CloudTrail


Explanation : CloudTrail logs low-level API calls from or for DynamoDB in an account and sends them to an S3 bucket.

45 .
Which of the following data-reading action, does many GetItem calls on various items using primary keys, with the option of using one or more tables?
A)
Scan
B)
Query
C)
GetItem
D)
BatchGetItem

Correct Answer :   BatchGetItem


Explaination : BatchGetItem does many GetItem calls on various items using primary keys, with the option of using one or more tables.

A)
2
B)
3
C)
4
D)
5

Correct Answer :   4


Explanation : DynamoDB offers four low-level actions for data modification:

* PutItem
* BatchWriteItem
* UpdateItem
* DeleteItem

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explanation : DynamoDB often ensures consistency across all copies in less than a second.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   False


Explanation : Batch writes can alter things across several tables.

A)
5
B)
6
C)
7
D)
No Limit

Correct Answer :   5


Explanation : A maximum of five global secondary indexes are permitted per table.

A)
4
B)
5
C)
6
D)
No Limit

Correct Answer :   5


Explanation : A maximum of five local secondary indexes are permitted per table.

A)
DataPipelineDefaultRole
B)
DataPipelineDefaultResourceRole
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   DataPipelineDefaultRole


Explanation : DataPipelineDefaultRole includes all of the activities you've given the pipeline permission to do.

A)
Sharding
B)
Data Shifting
C)
Data Pipeline
D)
None of the above

Correct Answer :   Data Pipeline


Explanation : Data Pipeline can export and import data to and from a table, file, or S3 bucket.

A)
True
B)
False
C)
Can Not Say
D)
None of the above

Correct Answer :   True


Explanation : Tags are not supported by DynamoDB.

A)
1
B)
2
C)
3
D)
4

Correct Answer :   2


Explanation : To utilize Data Pipeline, you must have two IAM roles:

* DataPipelineDefaultRole
* DataPipelineDefaultResourceRole

A)
Scan
B)
Query
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)


Explanation : Global Secondary Index supports the API functions "Query" and "Scan."

A)
10GB
B)
50GB
C)
100GB
D)
250GB

Correct Answer :   10GB


Explanation : Tables using a local secondary index must adhere to a size restriction of 10GB per partition key value.