Google ACE: Reliability, Backup and Disaster Recovery — Study Guide

Part of the Google Associate Cloud Engineer — Study Guide. Practice with verified answers in the Google exam hub, or take timed practice tests on ExamRoll.io.

Overview

Reliability, backup, and disaster recovery on Google Cloud require intentional design across failure domains, data protection mechanisms, traffic management, and operational readiness. This section explains how to structure services across zones and regions, how to protect and restore stateful data, and how to validate recovery objectives with disciplined runbooks and continuous resilience testing. It also outlines DR strategy trade-offs and capacity planning to ensure the platform can recover within defined recovery time (RTO) and recovery point (RPO) objectives.

Failure Domains and Regional Design

Example:

Data Protection: Databases, Storage, and Compute

Example:

Example:

Example lifecycle to move to Coldline after 90 days and delete after 365 days:

Traffic, Capacity, and Dependency Resilience

Resilience Operations and Continuous Improvement

Practical Problem Scenario

Brightlane Retail operates an e-commerce platform in us-central1 with strict availability and a four-hour RPO for order data. Leadership requires surviving a zonal outage without downtime and a regional outage with minimal customer impact.

Approach:

  1. Implement a regional MIG with HTTP autohealing and a global HTTP(S) Load Balancer

    • Rationale: A regional MIG spreads instances across zones, and application-level HTTP health checks enable self-healing after three failed checks of 10 seconds each. The global load balancer automatically removes unhealthy VMs and fails traffic to healthy zones.
    • Commands: gcloud compute health-checks create http app-hc –check-interval=10s –timeout=5s –unhealthy-threshold=3 –request-path=/healthz gcloud compute instance-groups managed update web-rmig –region=us-central1 –health-check=app-hc –initial-delay=60
  2. Enable Cloud SQL HA with cross-region read replica and PITR

    • Rationale: Regional HA provides zonal survivability with automatic failover. A read replica in us-east1 provides regional DR with non-zero but bounded RPO. Enabling PITR (binary logging for MySQL) addresses logical corruption by allowing restore to a point in time.
    • Commands: gcloud sql instances patch orders-mysql –enable-bin-log –backup-start-time=03:00 gcloud sql instances create orders-replica –master-instance-name=orders-mysql –region=us-east1
  3. Protect object assets with Dual-Region Cloud Storage and lifecycle policies

    • Rationale: Product images and static assets are stored in a dual-region bucket for regional resilience. Lifecycle transitions move older artifacts to Coldline to optimize cost, and versioning plus retention policies prevent accidental deletion of critical assets.
    • Steps: Enable Object Versioning, set a 30-day retention policy for critical buckets, and apply lifecycle rules to transition to Coldline after 90 days and delete after one year for non-critical build artifacts.
  4. Schedule PD snapshots and create machine images for stateful services

    • Rationale: Incremental snapshots of VM disks provide fast crash-consistent restore options. Machine images capture boot and config to accelerate rehydration of app servers during a region failover. Snapshot schedules ensure consistent, policy-driven backups.
    • Commands: gcloud compute resource-policies create snapshot-schedule daily-2am –max-retention-days=14 –on-source-disk-delete=apply-retention-policy –start-time=02:00 gcloud compute disks add-resource-policies app-disk-1 –resource-policies=daily-2am gcloud compute machine-images create app-mi-2024-09-01 –source-instance=app-vm-template
  5. Define RTO/RPO and codify DR runbooks and IaC

    • Rationale: Set service-level RTO of 15 minutes for web/API and four-hour RPO for orders. Runbooks specify traffic failover procedures, Cloud SQL promotion of read replica, DNS contingencies, and verification steps. Infrastructure as code (Terraform/Deployment Manager) ensures deterministic rebuilds and reduces manual error.
  6. Provision capacity and quotas in the secondary region

    • Rationale: Create reservations for critical VM shapes, pre-provision a standby load balancer backend, SSL certificates, NAT capacity, and verify quotas for Compute, SQL, forwarding rules, and KMS in us-east1. This prevents capacity starvation during failover.
  7. Validate recovery through chaos drills and document improvements

    • Rationale: Quarterly zonal-failure drills validate MIG and LB behavior; semiannual regional evacuation promotes the read replica in us-east1, points the global LB to us-east1 backends, and measures RTO/RPO. Findings drive improvements such as reducing manual steps or increasing replica capacity.

By following these steps, Brightlane Retail achieves zonal high availability with automated self-healing and a regional DR posture with defined, tested runbooks, ensuring that order data meets a four-hour RPO and application services recover within targeted RTO bounds.


Security · All domains · Cost Management

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Google →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product