0
0
DynamoDBquery~5 mins

Attribute types (S, N, B, BOOL, L, M) in DynamoDB - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AN (Number)
BS (String)
CB (Binary)
DBOOL (Boolean)
If you want to store a true/false flag in DynamoDB, which attribute type should you use?
AL (List)
BM (Map)
CBOOL (Boolean)
DB (Binary)
Which attribute type is best for storing a collection of key-value pairs?
AM (Map)
BL (List)
CS (String)
DN (Number)
What does the 'B' attribute type store in DynamoDB?
ABoolean values
BBinary data
CNumbers
DLists
Which attribute type would you use to store a list of items in order?
AM (Map)
BBOOL (Boolean)
CS (String)
DL (List)
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.