Google Cloud Engineer interview question · Most asked

Compare Google Cloud's database options: Cloud SQL, AlloyDB, Spanner, Firestore and Bigtable.

Comparison Asked in Cloud Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Cloud SQL: managed MySQL, PostgreSQL and SQL Server for typical relational apps. AlloyDB: PostgreSQL-compatible with higher performance and analytics acceleration. Spanner: relational and strongly consistent at global scale with very high availability. Firestore: serverless document database for app backends and mobile sync. Bigtable: wide-column store for huge, low-latency key-based workloads such as time series and IoT.

Longer Answer

Need Choose
Standard relational app, regional Cloud SQL
Heavy PostgreSQL workloads, mixed OLTP/analytics AlloyDB
Global relational scale, 99.999% multi-region Spanner
Mobile/web documents, offline sync, serverless Firestore
Massive throughput by row key, time series Bigtable
Analytics over large datasets BigQuery (a warehouse, not an OLTP store)
Cache Memorystore (Redis or Valkey)

Key Points

  • Cloud SQL for typical relational apps.
  • AlloyDB for demanding PostgreSQL.
  • Spanner for global, strongly consistent scale.
  • Firestore for documents; Bigtable for wide-column at scale.
  • BigQuery for analytics.

Explanation

What interviewers look for

Picking by consistency, scale, data model and cost rather than naming everything.

More Google Cloud Engineer questions

← All Google Cloud Engineer questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake