Practice
After watching Plan, the player prepares for Practice
- In the Practice interface
- Read step 1 of First NoSQL Database
- Read CONCEPT
- Select START LAB
- Select the arrow to the right to see the next steps

- In the Pracitce interface
- Read step 2 of First NoSQL Database
- Read CONCEPT
- Select Open AWS Console
- Select the arrow to the right to see the next steps

- In the AWS Console interface
- Find DynamoDB
- Select Amazon DynamoDB

- In the Practice interface
- Read step 3 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the DynamoDb interface

- In the Practice interface
- Read step 4 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create table interface
- Table name, enter
UserVideoHistory
- Partition key, enter
userId
, attribute String
- Sort key, enter
lastDateWatched
, attribute Number

- In the Practice interface
- Read step 5 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create table interface
- Select Default settings
- Select Create table

- In the Practice interface
- Read step 6 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the Tables interface
- View UserVideoHistory
- See Status as Active

- In the Practice interface
- Read step 7 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the UseVideoHistory interface
- Select UserVideoHistory
- Select Actions
- Select Create item

- In the Practice interface
- Read step 8 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the Create item interface
- userId, enter
12345-abcd-6789
- lastDateWatched, enter
1619156406

- In the Practicalce interface
- Read step 9 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Select Add new attribute
- Select String

- In the Practice interface
- Read step 10 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Attribute name, enter
videoId
- Value, enter
9875-djac-1859

- In the Practice interface
- Read step 11 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Select Add new attribute
- Select String

- In the Practice interface
- Read step 12 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Attribute name, enter
preferredLanguage
- Value, enter
English

- In the Practice interface
- Read step 13 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the Create item interface
- Select Add new attribute
- Select List

- In the Practice interface
- Read step 14 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Attribute, enter
supportedDeviceTypes

- In the Practice interface
- Read step 15 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- In Value, select Insert a field
- Select String

- In the Practice interface
- Read step 3 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface

- In the Practice interface
- Read step 17 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Select Insert a field
- Select String

- In the Practice interface
- Read step 18 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Create item interface
- Enter
Amazon Fire Tablet
- Select Create item

- In the Practice interface
- Read step 3 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the DynamoDB interface
- Select Explore items
- Select UserVideoHistory
- View Items returned

- In the Practice interface
- Read step 20 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the Item editor interface
- Select Add new attribute
- Select Number

- In the Practice interface
- Read step 21 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the Item editor interface
- Attribute, enter
lastStopTime
- Value, enter
90

- In the Practice interface
- Read step 22 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the UserVideoHistory interface
- Select Scan/Query items
- Select Query
- In Table or index, select UserVideoHistory
- In userID (Partition key), select 12345-abcd-6789
- In lastDateWatched (Sortkey), select Greater than, select 1609477200
- Select Run

- In the Practice interface
- Read step 23 of First NoSQL Database
- Select the arrow to the right to see the next steps

- In the UserVideoHistory interface
- View Query results from Items returned

- In the Practice interface
- Read step 3 of First NoSQL Database
- Read CONCEPT
- Select the arrow to the right to see the next steps

- In the UserVideoHistory interface
- In userId (Partition key), enter
abd5-zxcg-12385
- Select Run
- View results from Items returned

- In the Practice interface
- Read step 25 of First NoSQL Database
- Read CONCEPT
- Select the right arrow to see the next steps

- In the UserVideoHistory interface
- Select Scan
- Select Run*
- View results from Items returned

- Congratulations to the player on completing the lab
