Build a mobile to‑do app that syncs between devices, supports offline access, and pushes real-time updates while minimizing operational overhead. Which database approach do you use?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Firestore as the database. Configure Firestore offline persistence to cache a copy of the Firestore data. Listen to document changes to update applications whenever there are document changes..
Why this is the answer
Firestore is ideal for this scenario because it's a NoSQL document database designed for mobile and web applications, offering built-in real-time synchronization and offline capabilities. Its client libraries handle data synchronization and offline persistence automatically, minimizing operational overhead. Listening to document changes directly provides real-time updates. Cloud SQL for MySQL is a relational database and would require significant custom development for real-time synchronization, offline access, and conflict resolution, increasing operational overhead. Bigtable is a wide-column NoSQL database optimized for large analytical workloads, not typically suited for real-time mobile app synchronization and offline features. Implementing SQLite on each device with Cloud Storage for synchronization would require extensive custom development for real-time updates, conflict resolution, and managing data consistency, which is complex and error-prone.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed