Skip to main content
InterviewHubPRO
Section Overview
Q1

Question 1 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

2%
Amazon DynamoDB (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is Amazon DynamoDB and how does its data model work?

junior LevelCode ExampleDynamoDB

In Simple Words: Amazon DynamoDB is a fully managed, serverless NoSQL key-value and document database designed for single-digit millisecond latency at any scale:

  • Tables: Similar to a relational table, but schema-less except for the primary key.
  • Items: Similar to a row in SQL; an item is a collection of attributes. Items can have differing attributes (up to 400KB per item).
  • Attributes: Similar to columns/fields; can be scalar (String, Number, Binary, Boolean, Null) or complex (List, Map, StringSet, NumberSet).
typescript
// AWS SDK v3: PutItem Example
import { DynamoDBClient, PutItemCommand } from "@aws-sdk/client-dynamodb";

const client = new DynamoDBClient({ region: "us-east-1" });
await client.send(new PutItemCommand({
  TableName: "Users",
  Item: {
    userId: { S: "usr_101" },
    email: { S: "alex@example.com" },
    age: { N: "28" },
    roles: { SS: ["admin", "editor"] }
  }
}));