Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Google Cloud · Associate Data Practitioner

Choosing where to store data

Associate Data Practitioner · Lesson 4 of 16 · 20:24

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the Google Cloud Associate Data Practitioner exam, on the official exam guide. In this lesson: structured, semi-structured, and unstructured data, Cloud Storage and BigQuery, databases for applications (Cloud SQL, AlloyDB, Spanner, Firestore, Bigtable), and location types (region, dual-region, multi-region). Includes three original practice questions, with Cymbal Energy, a fictional electricity and gas supplier, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

One company, many kinds of data

Cymbal Energy now has many kinds of data: billions of meter readings, customer accounts and invoices, photos from technicians, profiles from the app, and tables for analysts. No single storage service fits them all. The data practitioner must classify each kind of data, choose a service, and choose where the data is stored.

Three kinds of data

First, classify the data. Structured data has a fixed schema of rows and columns, like invoices or customer accounts. Semi-structured data carries its own flexible structure, like JSON events or app profiles, where fields can change from one record to the next. Unstructured data has no schema at all, like photos, PDF contracts, audio, or video.

Analytics and files

Cloud Storage holds objects of any kind, like files, images, backups, and exports, at any scale: it is the home of unstructured data, and the landing zone of most pipelines. BigQuery is the serverless data warehouse: it scans huge tables with SQL, and also handles semi-structured data, with nested and repeated fields, and JSON columns. So use BigQuery to analyze data, and Cloud Storage to keep files. Neither one is built to serve many small transactions from an application.

Databases for applications

Applications need operational databases. Cloud SQL runs managed MySQL, PostgreSQL, and SQL Server, for relational data in one region, like customer accounts. AlloyDB is compatible with PostgreSQL, and built for demanding workloads, including analytical queries on live transactional data. Spanner is relational too, with strong consistency, and it scales horizontally, even across regions, for global applications. Firestore is a serverless document database, for semi-structured data like user profiles in web and mobile apps. And Bigtable is a wide-column database for huge volumes of time series or Internet of Things data, read and written by row key, with very low latency.

Location types

Then choose where the data is stored. A region, like Iowa or Frankfurt, keeps data in one place, with redundancy across its zones, at the lowest storage price. A dual-region is a pair of regions, and a multi-region, like the United States or the European Union, spans a large area: both keep data in more than one region, for higher availability. Zonal storage is the exception, offered by Cloud Storage only for Rapid buckets, which put data in one zone, next to the machines that read it, for the highest performance. And a BigQuery dataset is stored in a region or a multi-region, chosen when you create it.

Recap

Let's recap. Structured data has a fixed schema, semi-structured data carries its own, and unstructured data has none. Cloud Storage keeps files of any kind, and BigQuery analyzes data with SQL, nested fields and JSON included. Cloud SQL and AlloyDB serve relational applications, and Spanner scales them globally. Firestore stores documents for apps, and Bigtable serves huge volumes by row key, with very low latency. And data is stored in a region, a dual-region, or a multi-region, with zones only for Rapid buckets.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. Field technicians upload thousands of photos of damaged meters every day, and the photos must be kept for years at low cost. Where should they be stored?

    • A BigQuery table
    • Cloud SQL
    • Cloud Storage
    • Bigtable
    Show the answer

    Cloud Storage

    Cloud Storage keeps unstructured files, like photos, at any scale and at low cost. “A BigQuery table” is a warehouse for analyzing rows and columns, not for keeping photos. “Cloud SQL” is a relational database for application transactions. And “Bigtable” is built for rows that are read by key with low latency, not for files.

  2. Smart meters send billions of readings, each written once, then read back by meter and time, with single-digit millisecond latency for the customer app. Which service fits?

    • Cloud SQL
    • Bigtable
    • Cloud Storage
    • BigQuery
    Show the answer

    Bigtable

    Bigtable handles billions of time series rows, read by row key with very low latency. “Cloud SQL” is a relational database in one region, which would struggle at this volume. “Cloud Storage” only stores files, with no fast lookup by meter and time. And “BigQuery” is built for analytical scans, not for millisecond lookups from an app.

  3. Raw files must stay available even if a whole region goes down, and the regulator only allows two specific regions. Which Cloud Storage location type fits?

    • A dual-region with the two approved regions
    • A single region
    • A multi-region
    • A zonal Rapid bucket
    Show the answer

    A dual-region with the two approved regions

    A dual-region keeps the data in the two approved regions, and stays available if one of them fails. “A single region” would keep the data in one region, which a regional outage takes down. “A multi-region” spans a large area, with no control over which regions hold the data. And “A zonal Rapid bucket” only keeps data in a single zone.