Recall & Review
beginner
What is Firestore?
Firestore is a cloud database that stores data in documents and collections, allowing apps to sync data in real time.
Click to reveal answer
beginner
Why does Firestore performance need planning?
Because Firestore charges by reads, writes, and bandwidth, and some data patterns can slow down queries or increase costs.
Click to reveal answer
intermediate
How can Firestore data structure affect performance?
Poorly designed data structures can cause slow queries or high read counts, like having very large documents or unindexed fields.
Click to reveal answer
intermediate
What is a common cause of slow Firestore queries?
Queries without proper indexes or queries that scan many documents instead of targeting specific ones can be slow.
Click to reveal answer
beginner
How does Firestore billing relate to performance?
More reads and writes increase cost, so efficient queries and data design help reduce both latency and expenses.
Click to reveal answer
What can cause Firestore queries to be slow?
✗ Incorrect
Queries without proper indexes must scan many documents, causing slow performance.
Why should you plan Firestore data structure?
✗ Incorrect
Planning data structure helps reduce unnecessary reads and writes, lowering costs.
What happens if a Firestore document is very large?
✗ Incorrect
Large documents take longer to read and increase bandwidth costs.
How does Firestore charge users?
✗ Incorrect
Firestore billing depends on the number of document reads, writes, and data transferred.
What is a best practice to improve Firestore performance?
✗ Incorrect
Indexes speed up queries by allowing Firestore to find data quickly.
Explain why planning Firestore performance is important.
Think about how Firestore charges and how data structure affects speed.
You got /4 concepts.
Describe how Firestore data structure impacts query performance and cost.
Consider how data layout affects how much Firestore reads and writes.
You got /4 concepts.