Let’s Get Certified
Module 09 / 13 · Ensuring the successful operation of a cloud solution

Protect data and prove it can be restored

A bucket retains records for seven years. Compliance proposes locking the retention policy today. What evidence should they collect first?

Protect data and prove it can be restored

Use a retention policy to block early deletions. Locking it allows later extensions but prevents shortening it.

Work through the decision

A bucket retains records for seven years. Compliance proposes locking the retention policy today. What evidence should they collect first?

Check your reasoning

Test the policy on a separate bucket and confirm its duration, affected objects and approval. A lock prevents later shortening or removal. Use a separate recovery exercise for accidental loss outside the guarantee.

Part 7 · 4:16

Interpret the evidence

Retention policy lock
Prevents removing the bucket retention policy or reducing its duration after locking. Longer retention remains possible.
Lifecycle rule
An age or state condition triggers an eligible object transition or deletion, subject to retention and holds.
Customer-managed encryption key
Cloud KMS gives the customer control over the key and its access. Preserve availability for service agents and data recovery.
Database Center
Provides a fleet view of database health and configuration for investigation.
Point-in-time recovery
Given the necessary backups and logs, restore a supported database to a selected time before a bad change.

Practice the guide skills

  1. Check object access, retention, holds and lifecycle condition order before testing a transition on disposable data. Estimate storage, retrieval and operation charges.
  2. Run a bounded read using the appropriate interface for SQL engines, Bigtable and Firestore. Inspect a BigQuery or Dataflow job’s state and errors independently of result row counts.
  3. Check backup schedules, recovery windows and a test restore for the chosen managed database. Use Database Center to triage fleet health across instances.
  4. Identify the CMEK location and service identity. Verify encrypt/decrypt access and how key unavailability affects reads and restores.

Official objectives for this lesson

Validate a restored database

A ledger backup is restored into a separate test instance. The business requires all committed transactions through 16:00 UTC. Use a known checkpoint from the source to test that requirement.

Source checkpoint at 16:00    42,891 transactions    753,218.50 total
Restored checkpoint           42,890 transactions    753,168.50 total

A restore completing successfully verifies the storage operation. The checkpoint comparison shows one transaction and 50.00 missing from the required business state. Inspect the recovery timestamp and available transaction logs.

Related lesson · Recover a failed pipeline without duplicating valid writes

Knowledge check

Protect data and prove it can be restored quiz

Answer 3 questions. Check each answer for an explanation.