Google Associate Cloud EngineerEnsuring successful operation of a cloud solutionMedium

A company is deploying a new application on Google Cloud that requires persistent storage for its database. The application needs high availability and strong consistency across multiple zones within a region. Which storage option should the company choose to meet these requirements?

  1. ACloud Spanner
  2. BFilestore Basic
  3. CPersistent Disk Regional
  4. DCloud Storage Nearline
Show answer & explanation

Correct answer: A. Cloud Spanner

Cloud Spanner is a globally distributed, strongly consistent, relational database service built for high availability and transactional consistency at scale, making it suitable for multi-zone deployments requiring strong consistency.

Why the other options are wrong

  • B. Filestore Basic is a managed file storage service, not a relational database, and while it offers regional availability, it doesn't provide strong consistency across multiple zones for a database.
  • C. Persistent Disk Regional provides block storage for VMs with regional replication, but it's not a database service itself and requires managing instance-level replication for strong consistency.
  • D. Cloud Storage Nearline is an object storage class designed for infrequently accessed data and does not provide a relational database or strong consistency for live applications.

Cloud Spanner

A fully managed, mission-critical relational database service that offers transactional consistency, high availability, and global scale.

  • Globally distributed
  • Strongly consistent
  • Relational database

Memory trick: Spanner stretches across zones, keeping data tight.

More Ensuring successful operation of a cloud solution questions