Study guide · Flashcards & memory notes

Professional Cloud Database Engineer Flashcards & Memory Notes

44 recall cards for exam guide v1.2: choose the engine, operate it, migrate it, calculate capacity, and prove the available deployment.

Exam guide v1.24 decks · 44 cardsNo sign-up required

How to use these cards: Say the answer before you flip the card. Revisit misses tomorrow. Progress stays in this open page only. The explanations live in the core notes.

Study mode

Choose a deck, flip each card, and mark what you already know.

All flashcards

Select a question to reveal its answer.

Deck 1 · Design

Capacity, placement, connectivity, and engine choice.

11 cards
1.1What does a Cloud SQL regional failover keep?

The current committed data, including a bad delete. Point-in-time recovery is what returns an earlier moment.

1.2What is the recovery point of a cross-region read replica?

The replication lag at the moment you promote it. A replica that exists and is hours behind misses a one-minute RPO.

1.3When do you choose Spanner instead of Cloud SQL?

When relational transactions must scale horizontally or across regions with strong consistency. Size the key before you add nodes.

1.4When do you choose AlloyDB instead of Spanner?

When the application is PostgreSQL and needs more operational read or scan capacity. Writes stay on the primary. Read pools scale reads.

1.5What does transaction-mode pooling break?

A stable server session between transactions. LISTEN, session-level advisory locks, and session-scoped temporary state are incompatible. Named prepared statements need explicit pooler support.

1.6What does a customer-managed key add, and not add?

You control the Cloud KMS key, and the key location must fit the database. Disabling the key can make the data unreadable. IAM is still required.

1.7Where do embeddings belong when the answer must match the current tenant row?

Beside the operational row, with a tenant filter before similarity. A vector score is not an access check.

1.8What does an organization location policy do to an existing instance?

It can block new resources in disallowed locations. It does not automatically move an instance that is already there.

1.9Which Bigtable storage type fits large sequential scans?

HDD. Choose SSD when the workload is low-latency random access. The row key still has to match the query.

1.10What is Memorystore allowed to be?

A cache in front of a durable system of record. A Redis failover can lose the last seconds. It is not the ledger.

1.11How do you size nine months of storage runway?

Current bytes plus nine months of measured growth, then the required headroom. Example: (2,048 GiB + 9 × 120 GiB) × 1.20 is about 3.7 TiB.

Deck 2 · Operate

Access, queries, backups, and cost.

11 cards
2.1How do IAM and a database user differ?

IAM allows a principal to call a Google Cloud API. A database user is the login and the privileges the engine checks.

2.2When is an index the wrong fix for a slow query?

When the time is lock wait. Find the transaction holding the lock. Another copy of the same index does not release it.

2.3How long is Spanner point-in-time recovery?

One hour by default and at most seven days. A longer undo needs a backup retained for that period.

2.4How long is Firestore point-in-time recovery?

When enabled, seven days: any timestamp in the past hour and one-minute snapshots beyond that. With PITR disabled, versions are available for only one hour.

2.5What does a green export job prove?

That a file was written. A restore test proves the file can become a database.

2.6What is Bigtable garbage collection?

Deletion of old cells. It is not a backup. If you needed the cell, garbage collection has already removed it.

2.7What sets the Cloud SQL for PostgreSQL PITR window?

Retained transaction logs plus a usable backup. Enterprise supports 1–7 log days and Enterprise Plus 1–35; backup retention must cover the logs.

2.8What does a backup-job success metric miss?

Whether anyone has restored it, and whether the newest restorable copy is inside the recovery-point objective.

2.9Why is failover the wrong response to a failed backup?

Failover moves to the current standby. It does not create the missing copy, and it can add an outage.

2.10What belongs in a cross-engine design?

A system of record and a reconciliation of the fields the other engine copies. CPU on either database will not show a missing email.

2.11How do you test a four-hour restore objective?

Divide recoverable bytes by observed restore throughput, then add validation and client cutover. A 3 TB restore at 200 GB/hour already takes about 15 hours before those steps.

Deck 3 · Migrate

Downtime, conversion, and fallback.

11 cards
3.1Which downtime fits a dump and load?

An extended outage long enough for the copy. A few-minute cutover needs continuous replication instead.

3.2Which tool cuts an application over to a Google Cloud database?

Database Migration Service. Datastream is change capture for a destination such as BigQuery, not the checkout failover path.

3.3Which way does reverse replication run?

From Google Cloud back to the source, so a fallback can include writes made after cutover. Test it before you promise it.

3.4What do matching row counts fail to prove?

That the next sequence value is free, that deletes were applied, and that a business total survived conversion.

3.5What must happen to sequences before new writes?

Set them above the highest migrated key. The first insert otherwise collides.

3.6Why do Oracle empty strings matter on the way to PostgreSQL?

Oracle treats an empty string as null. Predicates and uniqueness can change unless conversion decides how those values land.

3.7When can the source be decommissioned?

After validation has passed and the fallback window is closed. Deleting it at cutover removes the way back.

3.8What can a copied trigger do during replay?

Fire a payment or another side effect again. Disable side-effect triggers on the destination until cutover, or make them idempotent.

3.9What does a staging bucket in the wrong region break?

A residency rule that covers every copy, not only the final instance. Put the migration landing zone in an approved location.

3.10How can a two-day initial copy still be a short outage?

The source stays online during the copy. Downtime is the final pause after lag is inside the allowed loss.

3.11How long is a 4 TB copy at 800 Mb/s?

About 11.1 hours before overhead: 32 terabits divided by 0.8 gigabits per second is 40,000 seconds. Add catch-up and validation time.

Deck 4 · Deploy

Provision, scale reads, and prove recovery.

11 cards
4.1What do you turn on for Cloud SQL zone survival?

Regional high availability, a standby in another zone. A zonal instance plus a wiki note does not meet the requirement.

4.2What does a failover test prove, and not prove?

That clients can reconnect to the current standby. It does not undo a delete, and it does not prove a cross-region promotion.

4.3What is an AlloyDB read pool for?

Read scale. Writes stay on the primary. Two or more nodes make the read pool highly available, but primary high availability remains a separate setting.

4.4What should automation include besides the empty instance?

Availability, backups, flags, users, replicas, the maintenance window, and a notification channel. A later console edit can be reverted on the next apply.

4.5Which Bigtable routing sees your own latest write?

Single-cluster routing, with all relevant app profiles targeting the same cluster. Multi-cluster failover can return stale data; row-affinity improves locality but does not guarantee consistency.

4.6What makes a replica miss a read-your-writes screen?

Lag. Send that read to the primary. Screens that tolerate the lag can stay on the replica.

4.7What does a promotion omit?

Client connection strings. Repoint pools and confirm writes. The promote button does not edit every application.

4.8Which three drills cover zone loss, region loss, and a bad delete?

A failover, a cross-region promotion, and a point-in-time restore. One of them does not stand in for the others.

4.9What connection budget belongs with autoscaling?

A cap per revision, and a pooler only if the application does not need session state. Unlimited pools turn a successful failover into a connection outage.

4.10When is today's replica lag not enough evidence?

When a larger write volume is coming and nothing alerts at the RPO. Rehearse the new volume and alert before you rely on the replica.

4.11How do you cap 30 application instances against 400 usable connections?

Floor 400 ÷ 30 to 13 connections per instance, for 390 total. Fourteen each would use 420 and consume the reserve.

Memory notes

Groupings for exam guide v1.2.

Availability is not history

Regional HA fails over to current data. A cross-region replica recovers a region at the cost of its lag. Point-in-time recovery returns an earlier moment. A backup job is not a restore test.

Engines

  • Cloud SQL regional MySQL, PostgreSQL, or SQL Server
  • AlloyDB PostgreSQL reads, scans, and the primary
  • Spanner relational scale and strong consistency
  • Bigtable and Firestore key or document access
  • Memorystore cache, not the ledger

Connections

Private Service Connect or Private Service Access removes a public IP. IAM database authentication replaces a long-lived password. Transaction pooling does not preserve one server session between transactions. CMEK location has to fit the database.

Numbers to calculate

Forecast storage as current bytes plus growth and headroom. Estimate transfer and restore duration from observed throughput. Reserve operational connections before dividing the remainder across the maximum application instances.

Migration

Database Migration Service cuts a database over. Datastream feeds changes to another system. Reset sequences. Test reverse replication before the fallback window. Matching row counts are not a sign-off.

Deployment proof

Put HA, replicas, backups, and alerts in code. Test failover, promotion, and restore separately. Repoint clients. Cap connections when instances scale out.

Guide scope

v1.2 weights design at about 32 percent, operations at 25, migration at 23, and deployment at 20. Recheck the live certification page and guide before booking because Google can revise objectives and product behavior.

Continue the Professional Cloud Database Engineer study path

Test the cards with a timed practice exam.

Professional Cloud Database Engineer hub →
Available

Overview

Exam format, section weights, and a study plan.

Available

Core Notes

Reference notes for design, operations, migration, and highly available deployment.

Available · You are here

Flashcards & Memory Notes

44 recall cards in four decks.

Available

Practice Exams

200 original questions with explanations and a score report by section.

Professional Cloud Architect

A learning path for the current Google Cloud Professional Cloud Architect exam guide, including case studies version 6.1.

Associate Cloud Engineer

A learning path for the Google Cloud Associate Cloud Engineer exam guide that went live on June 30, 2026.

Apply concepts in the Scenario Workshop →