Site icon i2tutorials

DynamoDB – Quiz

This Quiz contains totally 25 Questions each carry 1 point for you.

1. Which AWS service is a fully managed NoSQL database service?
Aurora
RDS
DynamoDB
Redshift

Correct!

Wrong!

2. What is the primary unit of data storage in DynamoDB?
Item
Attribute
Table
Key

Correct!

Wrong!

3. Which of the following is NOT a DynamoDB data type?
String
Binary
JSON
Number

Correct!

Wrong!

4. What is the primary key of a DynamoDB table composed of?
Partition key only
Sort key only
Partition key and sort key
Either partition key or sort key

Correct!

Wrong!

5. How many global secondary indexes (GSIs) can a DynamoDB table have?
2
5
10
20

Correct!

Wrong!

6. What is the default read and write capacity mode for a new DynamoDB table?
On-demand
Provisioned
Auto Scaling
Reserved

Correct!

Wrong!

7. Which of the following is NOT a best practice for designing DynamoDB partition key values?
Use high-cardinality attributes
Use evenly distributed values
Use long string values
Use attribute values with a large range

Correct!

Wrong!

8. What is the main advantage of using single-table design in DynamoDB?
Cost savings
Easier management
Increased performance
All of the above

Correct!

Wrong!

9. When should you use a composite primary key in DynamoDB?
When you need to store multiple items with the same partition key
When you need to uniquely identify an item
When you want to optimize the table size
When you want to optimize read and write capacity

Correct!

Wrong!

10. What is the maximum item size in DynamoDB?
400 KB
400 MB
40 MB
4 MB

Correct!

Wrong!

11. What type of read operation retrieves a single item from a DynamoDB table?
BatchGetItem
GetItem
Query
Scan

Correct!

Wrong!

12. Which operation allows writing multiple items across multiple tables in a single request?
BatchWriteItem
PutItem
UpdateItem
DeleteItem

Correct!

Wrong!

13. What type of index in DynamoDB allows you to query data with any attribute as the partition key?
Local secondary index (LSI)
Global secondary index (GSI)
Primary index
Composite index

Correct!

Wrong!

14. What feature can you use in DynamoDB to automatically scale read and write capacity to match application demand?
Auto Scaling
On-demand capacity mode
Provisioned capacity mode
Elastic Scaling

Correct!

Wrong!

15. Which caching solution can be used to improve the read performance of DynamoDB?
DynamoDB Accelerator (DAX)
ElastiCache
CloudFront
AWS Amplify

Correct!

Wrong!

16. What data consistency model does DynamoDB support?
Eventually consistent reads
Strongly consistent reads
Both a & b
Neither a nor b

Correct!

Wrong!

17. What is DynamoDB Streams?
A backup service for DynamoDB
A feature that captures table activity
A data replication service for DynamoDB
A querying tool for DynamoDB

Correct!

Wrong!

18. Can you change the provisioned throughput of a DynamoDB table after it is created?
yes
No

Correct!

Wrong!

19. Can you add a local secondary index to an existing DynamoDB table?
yes
No

Correct!

Wrong!

20. What is over-provisioning in DynamoDB?
Setting read and write capacity too low
Setting read and write capacity too high
Using too many indexes
Storing too much data in a single item

Correct!

Wrong!

21. Which operation can be used to prevent a write operation from overwriting an existing item?
Conditional write
Atomic write
Consistent write
Buffered write

Correct!

Wrong!

22. Which operation in DynamoDB retrieves multiple items from one or more tables?
BatchGetItem
GetItem
Query
Scan

Correct!

Wrong!

23. What happens if a write request in DynamoDB exceeds the provisioned write capacity?
The request is queued
The request is immediately retried
The request fails with a ProvisionedThroughputExceededException
The request is redirected to a backup table

Correct!

Wrong!

24. What is one way to handle hot partitions in DynamoDB?
Increase the read and write capacity
Use a more evenly distributed partition key
Use a different table
Use a more randomly distributed sort key

Correct!

Wrong!

25. How does DynamoDB Accelerator (DAX) improve read performance?
By increasing the read capacity units (RCUs) of the table
By storing frequently accessed data in memory
By using a more efficient query engine
By compressing the data to reduce I/O

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

Where to go ?

Quizzes
DynamoDB – Quiz

You got %%score%% of %%total%% right

%%description%%

%%description%%

Loading...

Exit mobile version