0
0
GCPcloud~5 mins

Firestore document model in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a Firestore document?
A Firestore document is a single record in a Firestore database. It stores data as key-value pairs and is similar to a row in a table but more flexible.
Click to reveal answer
beginner
How are Firestore documents organized?
Documents are organized into collections. Each collection contains multiple documents, and documents can contain subcollections, creating a tree-like structure.
Click to reveal answer
intermediate
Can Firestore documents contain nested data?
Yes, documents can contain nested objects and arrays as values, allowing complex data structures inside a single document.
Click to reveal answer
intermediate
What is the maximum size of a Firestore document?
A Firestore document can be up to 1 MiB (1,048,576 bytes) in size, including all fields and nested data.
Click to reveal answer
beginner
How does Firestore handle document IDs?
Each document has a unique ID within its collection. IDs can be auto-generated by Firestore or set manually by the user.
Click to reveal answer
What is the basic unit of data storage in Firestore?
ATable
BDocument
CRow
DBucket
How are documents grouped in Firestore?
AIn collections
BIn tables
CIn buckets
DIn rows
What is the maximum size allowed for a Firestore document?
A5 MiB
B10 MiB
C1 MiB
D100 KiB
Can Firestore documents contain arrays and nested objects?
AYes
BNo
COnly arrays
DOnly nested objects
How are document IDs assigned in Firestore?
ABy collection name
BOnly manually
COnly auto-generated
DManually or auto-generated
Explain how Firestore organizes data using documents and collections.
Think of folders (collections) containing files (documents).
You got /4 concepts.
    Describe the types of data Firestore documents can hold and any size limits.
    Consider what fits inside a single document.
    You got /3 concepts.