Recall & Review
beginner
What does the attribute type 'S' represent in DynamoDB?
The 'S' attribute type stands for String. It stores text values like names or descriptions.
Click to reveal answer
beginner
What kind of data does the 'N' attribute type hold in DynamoDB?
The 'N' attribute type holds Number data. It can store integers or decimals for things like age or price.
Click to reveal answer
intermediate
Explain the 'B' attribute type in DynamoDB.
The 'B' attribute type stores Binary data. This means raw bytes like images or encrypted data.
Click to reveal answer
beginner
What does the 'BOOL' attribute type represent?
The 'BOOL' attribute type stores Boolean values: true or false. It is useful for flags or yes/no data.
Click to reveal answer
intermediate
Describe the difference between 'L' and 'M' attribute types in DynamoDB.
'L' stands for List, which is an ordered collection of values. 'M' stands for Map, which is a collection of key-value pairs, like a small dictionary.
Click to reveal answer
Which DynamoDB attribute type would you use to store a user's age?
✗ Incorrect
Age is a number, so the 'N' attribute type is the correct choice.
If you want to store a true/false flag in DynamoDB, which attribute type should you use?
✗ Incorrect
Boolean values true or false are stored using the 'BOOL' attribute type.
Which attribute type is best for storing a collection of key-value pairs?
✗ Incorrect
'M' stands for Map, which stores key-value pairs like a dictionary.
What does the 'B' attribute type store in DynamoDB?
✗ Incorrect
'B' stores binary data such as images or encrypted bytes.
Which attribute type would you use to store a list of items in order?
✗ Incorrect
'L' is used for lists, which are ordered collections of values.
Explain the main DynamoDB attribute types S, N, B, BOOL, L, and M with simple examples.
Think about what kind of data each type holds and how you might use it in real life.
You got /6 concepts.
How would you choose between using a List (L) and a Map (M) attribute type in DynamoDB?
Consider if you want just a sequence or a dictionary-like structure.
You got /4 concepts.