Overview

This is the master note for the Associate Cloud Engineer certification learning path. The plan emphasizes Python automation while ensuring 100% coverage of exam objectives. Use this as your Map of Content (MOC) linking to individual phase notes, runbooks, and tool documentation.

Budget: $500 | Timeline: 9-10 weeks | Focus: Python Automation + Full Exam Coverage


Progress Dashboard

Exam Section Coverage

SectionWeightStatusNotes
1. Setup~23%πŸ”² Not StartedPhases 1-2
2. Implementation~30%πŸ”² Not StartedPhases 3-5
3. Operations~27%πŸ”² Not StartedPhases 6-7
4. Security~20%πŸ”² Not StartedPhases 2, 8

Phase Progress

PhaseTopicStatusDeliverables
1Foundation & SetupπŸ”²4 tools
2IAM & Service AccountsπŸ”²2 tools
3Compute & GKEπŸ”²6 tools
4Storage & DatabasesπŸ”²3 tools
5Terraform & HelmπŸ”²2 configs
6VPC, Firewall, LBπŸ”²4 tools
7Logging & MonitoringπŸ”²4 tools
8Custom Roles & Workload IdentityπŸ”²2 tools

Budget Tracker

PhaseAllocatedSpentResources
1-2$5$0APIs only
3$150$0Compute + GKE
4$100$0Cloud SQL + Storage
5β€”$0Included above
6$50$0Networking
7$25$0Monitoring
8$20$0Security config
Buffer$150$0Unexpected
Total$500$0

Phase 1: Foundation & Environment Setup

Duration: Week 1 | Exam Coverage: Section 1.1, 1.2

1.1 The Control Plane Setup

Exam Topics: Setting up cloud projects, enabling APIs, resource hierarchy

Concepts to Master:

  • Google Cloud resource hierarchy: Organization β†’ Folders β†’ Projects β†’ Resources
  • Application Default Credentials (ADC) for local development
  • API enablement and project configuration

Setup Commands:

gcloud init
gcloud auth application-default login
python -m venv gcp-automation
source gcp-automation/bin/activate
pip install google-cloud-resource-manager google-cloud-billing

Automation Project: Resource Hierarchy Explorer

FieldValue
PurposeAuthenticate and visualize project structure
Librarygoogle-cloud-resource-manager
InputsADC credentials
OutputsTree view of org/folders/projects
Exam Mapping1.1: Creating a resource hierarchy

Features to implement:

  • Authenticate using ADC
  • List all accessible projects
  • Display folder/organization structure
  • Check enabled APIs per project

Status: πŸ”² Complete


1.2 Billing Configuration & Cost Control

Exam Topics: Creating billing accounts, linking projects, budgets, alerts, exports

Concepts to Master:

  • Billing accounts vs. projects relationship
  • Budget alerts and programmatic notifications
  • Billing export to BigQuery for analysis

Automation Project: Budget Guardian

FieldValue
PurposeMonitor and manage billing programmatically
Librarygoogle-cloud-billing, google-cloud-billing-budgets
InputsBilling account ID
OutputsBudget status, alerts configuration
Exam Mapping1.2: All billing objectives

Features to implement:

  • List billing accounts and linked projects
  • Retrieve current budget configurations
  • Create budgets with email alerts programmatically
  • Query billing export data in BigQuery

Status: πŸ”² Not Started


1.3 Cloud Identity & Organization Policies

Exam Topics: Managing users/groups, organizational policies

Concepts to Master:

  • Cloud Identity for user/group management
  • Organization policies and constraints
  • Constraint types: boolean, list, custom

Automation Project: Policy Auditor

FieldValue
PurposeAudit organization policies for compliance
Librarygoogle-cloud-org-policy
InputsOrganization ID
OutputsPolicy compliance report
Exam Mapping1.1: Applying organizational policies

Features to implement:

  • List all organization policies in effect
  • Identify constraints at each hierarchy level
  • Export compliance report

Status: πŸ”² Not Started


1.4 Quotas & Regional Availability

Exam Topics: Assessing quotas, requesting increases, product availability

Automation Project: Quota Dashboard

FieldValue
PurposeMonitor quota utilization and regional availability
Librarygoogle-cloud-service-usage
InputsProject ID, target regions
OutputsQuota health report
Exam Mapping1.1: Assessing quotas, confirming availability

Features to implement:

  • List all Compute Engine quotas
  • Identify quotas >80% utilized
  • Check service availability in target regions

Status: πŸ”² Not Started


Phase 2: Identity & Access Management

Duration: Week 2 | Exam Coverage: Section 4.1, 4.2

2.1 IAM Fundamentals

Exam Topics: Viewing/creating IAM policies, role types

Concepts to Master:

  • IAM policy binding model: Member + Role + Resource
  • Role types: Basic, Predefined, Custom
  • Policy inheritance through resource hierarchy
  • Deny policies for explicit denials

Automation Project: IAM Analyzer

FieldValue
PurposeAudit IAM policies and identify security issues
Librarygoogle-cloud-iam, google-cloud-resource-manager
InputsProject ID
OutputsSecurity recommendations
Exam Mapping4.1: Viewing/creating IAM policies, role types

Features to implement:

  • Retrieve IAM policy for a project
  • List all members and their roles
  • Flag overly permissive bindings (basic roles)
  • Recommend predefined role replacements

Status: πŸ”² Not Started


2.2 Service Account Management

Exam Topics: Creating SAs, minimum permissions, impersonation, short-lived credentials

Concepts to Master:

  • Service accounts as both identity and resource
  • Impersonation vs. key files (prefer impersonation)
  • Short-lived credentials with generateAccessToken
  • Workload Identity for GKE

Setup Tasks:

  • Create automation-bot@PROJECT.iam.gserviceaccount.com
  • Grant roles/compute.instanceAdmin.v1
  • Grant yourself roles/iam.serviceAccountTokenCreator

Automation Project: Secure Credential Manager

FieldValue
PurposeManage service accounts without key files
Librarygoogle-auth, google-cloud-iam-credentials
InputsTarget SA email, required scopes
OutputsShort-lived access token
Exam Mapping4.2: All service account objectives

Key Pattern β€” Impersonation:

from google.auth import impersonated_credentials
target_credentials = impersonated_credentials.Credentials(
    source_credentials=source_credentials,
    target_principal='automation-bot@PROJECT.iam.gserviceaccount.com',
    target_scopes=['https://www.googleapis.com/auth/cloud-platform'],
    lifetime=3600
)

Features to implement:

  • Create service accounts programmatically
  • Assign IAM roles with least privilege
  • Generate short-lived tokens via impersonation
  • Test token by making API call as SA

Status: πŸ”² Not Started


Phase 3: Compute Resources

Duration: Weeks 3-4 | Exam Coverage: Section 2.1, 3.1

3.1 Compute Engine Fundamentals

Exam Topics: Launching instances, availability policy, SSH keys, OS Login, VM Manager

Concepts to Master:

  • Machine types: predefined, custom, shared-core
  • Availability policies: live migration, automatic restart
  • OS Login for centralized SSH access
  • VM Manager for patch management

Automation Project: VM Lifecycle Manager

FieldValue
PurposeManage VM lifecycle and reduce costs
Librarygoogle-cloud-compute
InputsProject ID, max runtime threshold
OutputsList of stopped VMs, cost savings
Exam Mapping2.1: Launching instances; 3.1: Viewing/managing instances

Features to implement:

  • List all running instances across zones
  • Identify instances running > threshold
  • Check OS Login enablement
  • Stop/delete idle instances based on labels

Status: πŸ”² Not Started


3.2 Managed Instance Groups & Autoscaling

Exam Topics: Instance templates, autoscaled MIGs, Spot VMs, custom machine types

Concepts to Master:

  • Instance templates as immutable blueprints
  • MIG autoscaling policies: CPU, LB, custom metrics
  • Spot VMs and preemption handling

Automation Project: Spot VM Fleet Manager

FieldValue
PurposeDeploy and monitor Spot VM fleets
Librarygoogle-cloud-compute
InputsTemplate config, MIG settings
OutputsFleet status, preemption logs
Exam Mapping2.1: MIGs, Spot VMs, custom machine types

Features to implement:

  • Create instance template for Spot VMs
  • Deploy MIG with autoscaling
  • Monitor preemption events
  • Track cost savings

Status: πŸ”² Not Started


3.3 Snapshots & Images

Exam Topics: Create/view/delete snapshots, schedule snapshots

Automation Project: Backup Automation

FieldValue
PurposeAutomated backup with retention policies
Librarygoogle-cloud-compute
InputsDisk names, retention days
OutputsBackup compliance report
Exam Mapping3.1: Working with snapshots and images

Features to implement:

  • Create snapshots of specified disks
  • Apply retention policies (delete old snapshots)
  • Create snapshot schedules programmatically
  • Generate backup compliance reports

Status: πŸ”² Not Started


3.4 Google Kubernetes Engine (GKE)

Exam Topics: kubectl, GKE Autopilot/Standard, regional/private clusters, node pools, Artifact Registry

Concepts to Master:

  • GKE Autopilot vs. Standard mode
  • Private clusters for security
  • Node pools and autoscaling
  • Workload Identity for Pod authentication
  • Artifact Registry integration

Essential kubectl Commands:

kubectl get pods -A
kubectl describe pod <name>
kubectl logs <pod>
kubectl apply -f deployment.yaml
kubectl scale deployment <name> --replicas=3
kubectl rollout status deployment/<name>
kubectl get nodes
kubectl get services

Automation Project: GKE Cluster Manager

FieldValue
PurposeProgrammatic GKE cluster management
Librarygoogle-cloud-container
InputsCluster config
OutputsCluster status, node pool info
Exam Mapping2.1: GKE deployment; 3.1: GKE operations

Features to implement:

  • Create GKE Autopilot cluster programmatically
  • Retrieve cluster credentials
  • List nodes, Pods, Services
  • Manage node pools (add, resize, delete)

Status: πŸ”² Not Started


3.5 Kubernetes Workloads

Exam Topics: Pods, Services, StatefulSets, HPA, VPA, Autopilot resource requests

Concepts to Master:

  • Deployment strategies: rolling update, blue-green
  • Horizontal Pod Autoscaler (HPA)
  • Vertical Pod Autoscaler (VPA)
  • Autopilot resource requests/limits

Automation Project: Workload Optimizer

FieldValue
PurposeOptimize Kubernetes workload configurations
Librarykubernetes (Python client)
InputsCluster context
OutputsOptimization recommendations
Exam Mapping3.1: Pod autoscaling, resource requests

Features to implement:

  • List Deployments and resource configs
  • Identify Pods without resource limits
  • Apply HPA configurations
  • Monitor scaling events

Status: πŸ”² Not Started


3.6 Cloud Run & Serverless

Exam Topics: Cloud Run deployment, traffic splitting, autoscaling, Eventarc

Concepts to Master:

  • Cloud Run for stateless containers
  • Cloud Run functions for event-driven code
  • Eventarc for event routing
  • Traffic splitting for gradual rollouts

Automation Project: Event-Driven Pipeline

FieldValue
PurposeProcess Cloud Storage events automatically
LibraryCloud Functions + Firestore + Pub/Sub
InputsFile upload to GCS bucket
OutputsProcessed data in Firestore
Exam Mapping2.1: Serverless + Eventarc

Deployment Command:

gcloud functions deploy file-processor \
  --gen2 \
  --runtime=python311 \
  --trigger-event-filters="type=google.cloud.storage.object.v1.finalized" \
  --trigger-event-filters="bucket=YOUR_BUCKET"

Features to implement:

  • Cloud Function triggered on GCS upload
  • Process file and write to Firestore
  • Send notification via Pub/Sub
  • Deploy new Cloud Run revisions
  • Configure traffic splitting (90/10)
  • Auto-rollback on high error rate

Status: πŸ”² Not Started


Phase 4: Storage & Data Solutions

Duration: Week 5 | Exam Coverage: Section 2.2, 3.2

4.1 Cloud Storage

Exam Topics: Storage classes, lifecycle management, data loading, multi-region

Concepts to Master:

  • Storage classes: Standard, Nearline, Coldline, Archive
  • Object lifecycle management rules
  • Transfer Service for migrations
  • Multi-region vs. dual-region buckets

Automation Project: Storage Lifecycle Manager

FieldValue
PurposeOptimize storage costs with lifecycle policies
Librarygoogle-cloud-storage
InputsBucket names, age thresholds
OutputsCost savings report
Exam Mapping2.2: Storage products; 3.2: Lifecycle management

Features to implement:

  • List buckets and storage classes
  • Analyze object age distribution
  • Apply lifecycle rules (transition to Coldline)
  • Calculate cost savings

Status: πŸ”² Not Started


4.2 Database Solutions

Exam Topics: Cloud SQL, BigQuery, Firestore, Spanner, Bigtable, AlloyDB, backup/restore

Concepts to Master:

  • Choosing the right database for workload type
  • Cloud SQL for relational workloads
  • BigQuery for analytics
  • Firestore for document data
  • Spanner for global consistency

Cloud SQL Connector Pattern (no SSL cert management):

from google.cloud.sql.connector import Connector
connector = Connector()
conn = connector.connect(
    "project:region:instance",
    "pg8000",
    user="postgres",
    password="secret",
    db="mydb"
)

Automation Project: Database Operations Suite

FieldValue
PurposeUnified database management across GCP services
Librarycloud-sql-python-connector, google-cloud-bigquery, google-cloud-firestore
InputsConnection configs
OutputsQuery results, backup status
Exam Mapping2.2: Data products; 3.2: Queries, backup/restore

Features to implement:

  • Connect to Cloud SQL via secure connector
  • Trigger on-demand backups before migrations
  • Query BigQuery and export results
  • Manage Firestore documents
  • (Extended) Spin up Memorystore, connect, tear down
  • (Extended) Create Dataflow job from template

Status: πŸ”² Not Started


4.3 Data Loading & Transfer

Exam Topics: Command-line upload, load from GCS, Storage Transfer Service

Automation Project: Data Pipeline

FieldValue
PurposeAutomated data ingestion to BigQuery
Librarygoogle-cloud-storage, google-cloud-bigquery
InputsLocal files or GCS paths
OutputsLoaded tables, validation results
Exam Mapping2.2: Loading data; 3.2: Reviewing job status

Features to implement:

  • Upload local files to GCS
  • Trigger BigQuery load job
  • Monitor job status until completion
  • Validate loaded data with query
  • (Extended) Create Pub/Sub topic and publish messages

Status: πŸ”² Not Started


Phase 5: Infrastructure as Code

Duration: Week 6 | Exam Coverage: Section 2.4

5.1 Terraform Fundamentals

Exam Topics: IaC tooling, versioning, state management, updates

Concepts to Master:

  • Terraform resource lifecycle
  • Remote state in Cloud Storage
  • Modules for reusability
  • Terraform vs. Config Connector vs. Deployment Manager

State Backend Configuration:

terraform {
  backend "gcs" {
    bucket = "YOUR_STATE_BUCKET"
    prefix = "terraform/state"
  }
}

Project: Complete Infrastructure Stack

Create Terraform configurations for:

  • VPC with custom subnets
  • Firewall rules with secure tags
  • Cloud NAT for private instances
  • Compute Engine instance with OS Login
  • GKE Autopilot cluster
  • Cloud SQL instance
  • Cloud Storage bucket with lifecycle rules

Status: πŸ”² Not Started


5.2 Helm for Kubernetes

Exam Topics: Helm as IaC tooling

Tasks:

  • Install Helm
  • Deploy application using Helm chart
  • Create custom chart for your application

Status: πŸ”² Not Started


Phase 6: Networking

Duration: Week 7 | Exam Coverage: Section 2.3, 3.3

6.1 VPC & Subnets

Exam Topics: Custom VPC, Shared VPC, adding/expanding subnets

Concepts to Master:

  • Auto mode vs. custom mode VPCs
  • Shared VPC for multi-project networking
  • Secondary IP ranges for GKE
  • Subnet expansion (can only expand, not shrink)

Automation Project: Network Inventory

FieldValue
PurposeDocument and monitor network topology
Librarygoogle-cloud-compute
InputsProject ID
OutputsNetwork documentation
Exam Mapping2.3: VPC creation; 3.3: Subnet management

Features to implement:

  • List all VPCs and subnets
  • Calculate IP address utilization
  • Identify subnets needing expansion
  • Document network topology

Status: πŸ”² Not Started


6.2 Firewall & Security

Exam Topics: Cloud NGFW policies, ingress/egress rules, secure tags, service accounts in rules

Concepts to Master:

  • Firewall rules vs. firewall policies
  • Secure tags for fine-grained control
  • Service account targeting
  • Hierarchical firewall policies

Automation Project: Firewall Auditor

FieldValue
PurposeAudit firewall rules for security issues
Librarygoogle-cloud-compute
InputsProject ID
OutputsSecurity compliance report
Exam Mapping2.3: Cloud NGFW policies

Features to implement:

  • List all firewall rules and policies
  • Identify overly permissive rules (0.0.0.0/0)
  • Check for deprecated network tags
  • Generate compliance reports

Status: πŸ”² Not Started


6.3 Hybrid Connectivity

Exam Topics: Cloud VPN, VPC Peering, Cloud Interconnect

Concepts to Master:

  • Classic VPN vs. HA VPN
  • VPC Peering for GCP-to-GCP
  • Cloud Interconnect for dedicated connections
  • Cloud Router for dynamic routing

Automation Project: Connectivity Checker

FieldValue
PurposeMonitor hybrid connectivity health
Librarygoogle-cloud-compute
InputsVPN/Peering configurations
OutputsConnectivity status
Exam Mapping2.3: Network connectivity

Features to implement:

  • List VPC peerings and status
  • Check VPN tunnel status
  • Monitor connectivity health
  • Alert on tunnel down events

Status: πŸ”² Not Started


6.4 Load Balancing

Exam Topics: Choosing and deploying load balancers

Concepts to Master:

  • Global vs. regional load balancers
  • External vs. internal load balancers
  • HTTP(S), TCP/UDP, Network LB types
  • Backend services and health checks

Tasks:

  • Deploy HTTP(S) Load Balancer with Terraform
  • Configure health checks
  • Test failover behavior

Status: πŸ”² Not Started


6.5 DNS & NAT

Exam Topics: Cloud DNS, Cloud NAT

Concepts to Master:

  • Public vs. private DNS zones
  • Cloud NAT for outbound connectivity
  • DNS peering and forwarding

Automation Project: DNS Manager

FieldValue
PurposeManage DNS records programmatically
Librarygoogle-cloud-dns
InputsZone name, record configs
OutputsDNS records
Exam Mapping3.3: Cloud DNS and Cloud NAT

Features to implement:

  • List all DNS zones and records
  • Create/update DNS records
  • Validate DNS resolution

Status: πŸ”² Not Started


6.6 Network Service Tiers

Exam Topics: Differentiating Network Service Tiers

Concepts to Master:

  • Premium Tier: Google’s global network, cold-potato routing
  • Standard Tier: Public internet, hot-potato routing
  • Cost vs. performance tradeoffs

Status: πŸ”² Not Started


Phase 7: Monitoring & Operations

Duration: Week 8 | Exam Coverage: Section 3.4

7.1 Cloud Monitoring

Exam Topics: Alerts, custom metrics, Ops Agent, Managed Prometheus, Active Assist

Concepts to Master:

  • Metric types: built-in, custom, Prometheus
  • Alert policies and notification channels
  • Uptime checks
  • Active Assist recommendations

Custom Metric Example:

from google.cloud import monitoring_v3
client = monitoring_v3.MetricServiceClient()
series = monitoring_v3.TimeSeries()
series.metric.type = "custom.googleapis.com/my_metric"
# ... add data points and write

Automation Project: Custom Metrics Pipeline

FieldValue
PurposeSend custom metrics and manage alerts as code
Librarygoogle-cloud-monitoring
InputsMetric data, alert configs
OutputsDashboards, alert policies
Exam Mapping3.4: Alerts, custom metrics, Ops Agent

Features to implement:

  • Send custom metrics to Cloud Monitoring
  • Create alert policies programmatically
  • Retrieve Active Assist recommendations
  • Generate dashboards
  • (Extended) Ingest Prometheus metrics from GKE
  • (Extended) Build β€œRecommendation Executor” for Active Assist

Status: πŸ”² Not Started


7.2 Cloud Logging

Exam Topics: Log buckets, log routers, filtering, audit logs, export to BigQuery

Concepts to Master:

  • Log routing architecture
  • Log sinks for export
  • Structured logging best practices
  • Audit log types: Admin Activity, Data Access, System Event

Structured Logging Pattern:

import google.cloud.logging
client = google.cloud.logging.Client()
client.setup_logging()
 
import logging
logging.info("Processing started", extra={
    "json_fields": {
        "correlation_id": "abc-123",
        "operation": "file_process"
    }
})

Automation Project: Structured Logger

FieldValue
PurposeCentralized logging framework for all tools
Librarygoogle-cloud-logging
InputsLog messages with metadata
OutputsStructured logs in Cloud Logging
Exam Mapping3.4: Log buckets, routers, audit logs

Features to implement:

  • Use Cloud Logging client for structured logs
  • Include correlation IDs for tracing
  • Route specific logs to separate sinks
  • Export to BigQuery for analysis

Status: πŸ”² Not Started


7.3 Cloud Diagnostics

Exam Topics: Cloud Trace, Cloud Profiler, Query Insights

Concepts to Master:

  • Distributed tracing with Cloud Trace
  • Performance profiling with Cloud Profiler
  • SQL performance with Query Insights

Automation Project: Trace-Enabled Application

FieldValue
PurposeAdd observability to Cloud Run application
Libraryopentelemetry-exporter-gcp-trace
InputsHTTP requests
OutputsTraces in Cloud Trace
Exam Mapping3.4: Cloud diagnostics

Features to implement:

  • Add OpenTelemetry instrumentation to Flask app
  • Export traces to Cloud Trace
  • Enable Query Insights on Cloud SQL
  • Create trace-based alerts

Status: πŸ”² Not Started


7.4 Service Health & Gemini Cloud Assist

Exam Topics: Personalized Service Health dashboard, Gemini Cloud Assist

Tasks:

  • Configure Service Health notifications
  • Explore Gemini Cloud Assist in console
  • (Extended) Build recommendation executor that pulls Gemini insights

Status: πŸ”² Not Started


Phase 8: Advanced Security

Duration: Week 9 | Exam Coverage: Section 4.1, 4.2 (advanced)

8.1 Custom IAM Roles

Exam Topics: Defining custom IAM roles

Concepts to Master:

  • When to use custom vs. predefined roles
  • Permission dependencies
  • Role lifecycle and versioning

Automation Project: Role Manager

FieldValue
PurposeCreate and manage custom IAM roles
Librarygoogle-cloud-iam
InputsPermission list
OutputsCustom role definition
Exam Mapping4.1: Custom IAM roles

Features to implement:

  • Create custom roles with specific permissions
  • Test role permissions
  • Document role configurations

Status: πŸ”² Not Started


8.2 Workload Identity

Exam Topics: Using service accounts with GKE applications

Concepts to Master:

  • Workload Identity federation
  • Kubernetes SA bound to GCP SA
  • No key files in containers

Tasks:

  • Enable Workload Identity on GKE cluster
  • Configure Kubernetes service account
  • Deploy application using Workload Identity

Status: πŸ”² Not Started


8.3 Cloud Asset Inventory & Gemini

Exam Topics: Configuring Cloud Asset Inventory, Gemini Cloud Assist

Automation Project: Asset Compliance Checker

FieldValue
PurposeQuery and audit cloud assets for compliance
Librarygoogle-cloud-asset
InputsAsset types, compliance rules
OutputsCompliance report
Exam Mapping1.1: Cloud Asset Inventory

Features to implement:

  • Enable Cloud Asset Inventory
  • Run asset queries
  • Check for compliance violations
  • Generate compliance reports

Status: πŸ”² Not Started


Runbook Template

Use this template for each automation tool you build:

## [Tool Name] Runbook
 
### Purpose
What does this tool do and why?
 
### Exam Mapping
- Section X.X: [Specific exam objective]
 
### Prerequisites
- Required IAM roles
- APIs that must be enabled
- Dependencies
 
### Inputs
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
 
### Usage
\`\`\`bash
python tool_name.py --project my-project
\`\`\`
 
### Outputs
What the tool produces (reports, changes, etc.)
 
### Interpreting Results
How to read and act on the output
 
### Troubleshooting
Common errors and solutions
 
### Related Tools
Links to related automation in this vault

Quick Reference: gcloud Commands

Project & Config

gcloud config set project PROJECT_ID
gcloud config list
gcloud projects list
gcloud services enable SERVICE_NAME

IAM

gcloud iam roles list
gcloud projects get-iam-policy PROJECT_ID
gcloud iam service-accounts create NAME
gcloud iam service-accounts keys create

Compute

gcloud compute instances list
gcloud compute instances create NAME --machine-type=e2-micro
gcloud compute ssh INSTANCE_NAME
gcloud compute snapshots create NAME --source-disk=DISK

GKE

gcloud container clusters create NAME --autopilot
gcloud container clusters get-credentials NAME
kubectl get pods -A
kubectl apply -f manifest.yaml

Cloud Run

gcloud run deploy SERVICE --image=IMAGE
gcloud run services update-traffic SERVICE --to-revisions=REV=50

Storage

gsutil mb gs://BUCKET_NAME
gsutil cp FILE gs://BUCKET/
gsutil lifecycle set LIFECYCLE.json gs://BUCKET

Networking

gcloud compute networks create NAME --subnet-mode=custom
gcloud compute firewall-rules create NAME --allow=tcp:22
gcloud dns managed-zones create NAME --dns-name=DOMAIN

Monitoring

gcloud logging read "resource.type=gce_instance"
gcloud monitoring policies create --policy-from-file=POLICY.yaml

Exam Tips

Key Themes

  1. Least Privilege β€” Always choose the most restrictive option that works
  2. Managed Services β€” Prefer GCP-managed over self-managed when possible
  3. Automation β€” Console is for viewing; CLI/API for doing
  4. Cost Optimization β€” Spot VMs, committed use, lifecycle policies
  5. Security by Default β€” Private clusters, OS Login, no key files

Common Traps

  • Basic roles (Owner/Editor/Viewer) are almost never the right answer
  • Service account keys are rarely needed (use impersonation)
  • Auto-mode VPCs have limitations vs. custom
  • Cloud SQL backups are automatic but point-in-time recovery needs enabling

Time Management

  • 2 hours for ~50 questions β‰ˆ 2.5 min per question
  • Flag and move on; return to flagged questions
  • Read all options before answering

Cost Optimization Checklist

  • Set budget alerts at 25%, 50%, 75%, 90%
  • Stop Cloud SQL when not studying
  • Use GKE Autopilot (pay per Pod)
  • Use Spot VMs for Compute Engine
  • Delete resources after each phase
  • Use terraform destroy liberally
  • Leverage free tiers (Cloud Functions, Cloud Run, BigQuery)

Weekly Review Template

Week of: [DATE]

Phase Focus:

Completed:

In Progress:

Blocked:

Budget Spent This Week: $

Key Learnings: 1.

Next Week Goals: 1.


Official Documentation

Practice

This Vault

  • Link to your code repository
  • Link to Terraform configs
  • Link to Python scripts folder