AWS DynamoDB Interview Questions and Answers
Freshers / Beginner level questions & answers
Ques 1. What is DynamoDB?
DynamoDB is a fully managed NoSQL database service provided by AWS.
Ques 2. Explain the key-value model in DynamoDB.
DynamoDB uses a key-value model where each item (record) in the database is uniquely identified by a primary key.
Ques 3. Explain the concept of DynamoDB Local.
DynamoDB Local is a downloadable version of DynamoDB that enables local development and testing. It allows developers to test applications without incurring AWS costs.
Ques 4. What is the purpose of the 'DeleteItem' operation in DynamoDB?
The 'DeleteItem' operation removes one or more items from a table based on their primary key. It is used to delete specific items from a table.
Ques 5. What is the purpose of the 'CreateTable' operation in DynamoDB?
The 'CreateTable' operation is used to create a new table in DynamoDB. It involves specifying the table name, primary key attributes, and provisioned throughput settings.
Ques 6. What is the purpose of the 'DescribeTable' operation in DynamoDB?
The 'DescribeTable' operation provides metadata about a table, including its schema, provisioned throughput settings, and the status of any secondary indexes.
Ques 7. Explain the concept of Capacity Units in DynamoDB.
Capacity Units represent the throughput that a table can handle. Read Capacity Units (RCUs) and Write Capacity Units (WCUs) determine the amount of read and write operations a table can support.
Ques 8. What is the purpose of the 'ListTables' operation in DynamoDB?
'ListTables' provides a list of all the tables in a given AWS account and region. It does not require the use of the table's primary key.
Ques 9. Explain the concept of the 'PutItem' operation in DynamoDB.
'PutItem' creates a new item or replaces an existing item with a new one. It adds an item to the table if it does not exist, or replaces the existing item if it does.
Ques 10. What is the purpose of the 'DeleteTable' operation in DynamoDB?
'DeleteTable' is used to delete an existing table and all of its data permanently. Once deleted, a table cannot be recovered.
Ques 11. Explain the concept of the 'GetItem' operation in DynamoDB.
'GetItem' retrieves a single item from a table based on its primary key. It is used to read a specific item from the table.
Most helpful rated by users:
- What is DynamoDB?
- Explain the concept of the 'GetItem' operation in DynamoDB.
- How does DynamoDB handle transactions?