Recall & Review
beginner
What is Firebase Realtime Database?
Firebase Realtime Database is a cloud-hosted NoSQL database that stores data as one large JSON tree and syncs data in real-time to connected clients.
Click to reveal answer
beginner
What is Firestore in Firebase?
Firestore is a flexible, scalable NoSQL database that stores data in documents organized into collections, supporting richer queries and offline support.
Click to reveal answer
intermediate
Which Firebase database is better for complex queries and why?
Firestore is better for complex queries because it supports indexed queries, compound queries, and more advanced filtering compared to Realtime Database.
Click to reveal answer
intermediate
When should you choose Realtime Database over Firestore?
Choose Realtime Database if you need simple data syncing with low latency and your data structure is simple, like a single JSON tree.
Click to reveal answer
beginner
What is a key difference in data structure between Realtime Database and Firestore?
Realtime Database stores data as one large JSON tree, while Firestore stores data in documents grouped into collections, allowing more structured data.
Click to reveal answer
Which Firebase database supports offline data persistence by default?
✗ Incorrect
Firestore supports offline data persistence by default on mobile and web clients, allowing apps to work offline seamlessly.
Which database uses a JSON tree to store data?
✗ Incorrect
Realtime Database stores data as one large JSON tree, making it simple but less structured.
For which scenario is Firestore more suitable?
✗ Incorrect
Firestore supports complex queries and structured data with documents and collections.
Which database generally has lower latency for simple real-time updates?
✗ Incorrect
Realtime Database is optimized for low-latency real-time syncing of simple data.
Which Firebase database supports automatic scaling better for large datasets?
✗ Incorrect
Firestore is designed to scale automatically for large datasets and high traffic.
Explain the main differences between Firebase Realtime Database and Firestore.
Think about how data is stored and how you might query it.
You got /5 concepts.
Describe a scenario where you would choose Realtime Database over Firestore and why.
Imagine a chat app with simple messages.
You got /4 concepts.