Recall & Review
beginner
What is a key difference between Firebase Realtime Database and Firestore?
Realtime Database stores data as one large JSON tree, while Firestore stores data in documents organized into collections, allowing more structured and scalable data management.
Click to reveal answer
intermediate
Why should you plan your data structure carefully when migrating to Firestore?
Because Firestore charges based on document reads and writes, a well-planned structure reduces costs and improves performance by minimizing unnecessary data access.
Click to reveal answer
intermediate
What Firebase tool can help migrate data from Realtime Database to Firestore?
Firebase provides a Data Migration tool and scripts that can export data from Realtime Database and import it into Firestore, helping automate the migration process.Click to reveal answer
intermediate
How does Firestore handle offline data compared to Realtime Database?
Firestore has built-in offline support with automatic synchronization when the device reconnects, similar to Realtime Database but with improved consistency and reliability.
Click to reveal answer
advanced
What is a common challenge when migrating security rules from Realtime Database to Firestore?
Firestore uses a different security rules syntax and model, so rules must be rewritten carefully to maintain the same access controls and protect data properly.
Click to reveal answer
What data structure does Firestore use to organize data?
✗ Incorrect
Firestore organizes data into documents, which are grouped into collections, unlike Realtime Database's single JSON tree.
Which of the following is a benefit of Firestore over Realtime Database?
✗ Incorrect
Firestore supports structured queries and automatic indexing, making data retrieval more flexible and efficient.
What must you do with your Realtime Database security rules when migrating to Firestore?
✗ Incorrect
Firestore uses a different security rules language, so rules must be rewritten to fit its model.
Which Firebase feature helps keep Firestore data available offline?
✗ Incorrect
Firestore supports offline persistence, allowing apps to work without internet and sync changes later.
What is a recommended first step when migrating from Realtime Database to Firestore?
✗ Incorrect
Planning your data structure helps optimize Firestore usage and avoid costly mistakes.
Explain the main differences between Firebase Realtime Database and Firestore and why these matter when migrating.
Think about how data is stored, accessed, and secured in both databases.
You got /5 concepts.
Describe the key steps you would take to migrate an app from Realtime Database to Firestore.
Consider planning, technical changes, and validation.
You got /5 concepts.