Lab Information
The Nautilus DevOps team is developing a simple 'To-Do' application using DynamoDB to store and manage tasks efficiently. The team needs to create a DynamoDB table to hold tasks, each identified by a unique task ID. Each task will have a description and a status, which indicates the progress of the task (e.g., 'completed' or 'in-progress').
Your task is to:
Create a DynamoDB table named datacenter-tasks with a primary key called taskId (string).
Insert the following tasks into the table:
Task 1: taskId: '1', description: 'Learn DynamoDB', status: 'completed'
Task 2: taskId: '2', description: 'Build To-Do App', status: 'in-progress'
Verify that Task 1 has a status of 'completed' and Task 2 has a status of 'in-progress'.
Ensure the DynamoDB table is created successfully and that both tasks are inserted correctly with the appropriate statuses.
Lab Solutions
Step 1: Create the DynamoDB Table
Using AWS Console
Log in to the AWS Management Console
Navigate to DynamoDB → Tables
Click Create table
Table Configuration
Table name:
datacenter-tasks
Partition key:
taskId
Key type: String
Leave all other settings as default
Click Create table
Wait until table status becomes:
ACTIVE
SStep 2: Open the Items Section
Inside the table, click the Explore table items (or Items) tab
Click Create item
Step 3: Insert Task 1 (Learn DynamoDB)
You will see a JSON editor or form view.
Enter the following:
taskId (String):
1
Click Add new attribute
Name: description
Type: String
Value:
Learn DynamoDB
Click Add new attribute
Name: status
Type: String
Value:
completed
Final item should look like:
{
"taskId": "1",
"description": "Learn DynamoDB",
"status": "completed"
}
Click Create item
✅ Task 1 inserted successfully
Step 4: Insert Task 2 (Build To-Do App)
Click Create item again
Enter the following:
taskId (String):
2
description (String):
Build To-Do App
status (String):
in-progress
Final item:
{
"taskId": "2",
"description": "Build To-Do App",
"status": "in-progress"
}
Click Create item
✅ Task 2 inserted successfully
Step 5: Verify Items via Console
Stay in Explore table items
You should now see two rows:
taskId description status
1 Learn DynamoDB completed
2 Build To-Do App in-progress
Click each item to verify values if needed





Top comments (0)