A mobile app needs a document database that syncs to clients. What fits?
Why B is the answer
Firestore
Firestore is the document database.
In detail
- Firestore is a document database that syncs to clients.
- Offline support helps mobile apps.
Use case
An illustrative scenario, not a real incident.
A notes app stores documents in Firestore, and they sync to users' phones.
See it in different ways
flowchart TD
A{"Access pattern"} -->|"Analytics in SQL"| B["BigQuery"]
A -->|"Huge key lookups"| C["Bigtable"]
A -->|"Global relational consistency"| D["Spanner"]
A -->|"Regional relational app"| E["Cloud SQL or AlloyDB"]
A -->|"Objects and files"| F["Cloud Storage"]
A -->|"In-memory cache"| G["Memorystore"]mindmap
root((Stores))
BigQuery
Analytics
Bigtable
Key lookups at scale
Spanner
Global relational
AlloyDB
PostgreSQL
Firestore
Mobile documents
Memorystore
Microsecond cache
Cloud Storage
ObjectssequenceDiagram participant P0 as Phone participant P1 as Firestore participant P2 as Tablet P0->>P1: Save note P1->>P2: Sync
Key point: Firestore is a document database.
Why the other options are wrong
- A. Pub/Sub
- Pub/Sub carries messages.
- C. BigQuery
- BigQuery is for analytics.
- D. Dataproc
- Dataproc runs Spark.

