Book TOC · Chapter 0 of 8 · Next: Chapter 1

Chapter 0: The ACE Reference Stack & 10 Core Principles

Chapter Focus: A visual guide to the Google Cloud Certified Associate Cloud Engineer (ACE) architecture stack, how the core Google Cloud services fit together, and the 10 Core Architectural Principles that govern production design decisions.

1. The Master Architectural Map: All In-Scope Services of the Architecture Stack

The updated Google Cloud Associate Cloud Engineer Curriculum spans 4 Sections, 12 Subsections, and 94 Considerations, integrating foundational cloud infrastructure with modern 2026 platform capabilities—including Cloud NGFW, Google Cloud Hyperdisk, Agent Runtime on Gemini Enterprise Agent Platform, Gemini Cloud Assist, Google Antigravity, Fabric FAST, Database Center, and Cloud Hub.

Rather than memorizing services in isolation, organize the entire ACE stack across Six Logical Architectural Planes:

1. Resource Hierarchy, Identity & FinOps Plane (Sections 1.1, 1.2, 4.1, 4.2 - 40%) Resource Hierarchy & Org Policy (Organization -> Folders -> Projects) Cloud Identity, Workforce & Workload Identity Federation (Keyless OIDC/SAML) IAM Policies, Custom Roles, Service Accounts & Impersonation Cloud Billing Accounts, Budgets, Pub/Sub Alerts & BigQuery Exports 2. Compute, Containers, Serverless & AI Runtimes (Sections 2.1, 3.1 - 25%) Compute Engine VMs, Spot VMs, MIGs, OS Login, VM Manager & GPUs/TPUs Google Kubernetes Engine (GKE) (Autopilot vs. Standard, HPA/VPA, Node Pools) Cloud Run, Cloud Run functions, Eventarc & Traffic Splitting Gemini Enterprise Agent Platform: Agent Runtime, Workbench & Cloud Workstations 3. Storage, Databases, Analytics & Streaming Plane (Sections 2.2, 3.2 - 15%) Cloud Storage (Standard/Nearline/Col dline/Archive), Lifecycle Rules, Versioning, Filestore, NetApp & Lustre Relational & Transactional Databases: Cloud SQL, AlloyDB & Cloud Spanner NoSQL & Caching: Firestore, Cloud Bigtable & Memorystore Analytics & Event Streaming: BigQuery, Dataflow, Pub/Sub, Managed Kafka & Database Center 4. Enterprise Networking, Security & Delivery Plane (Sections 2.3, 3.3 - 10%) VPC Networks (Custom Mode, Shared VPC), Subnet Expansion, Static IPs & Routes VPC Firewalls & Cloud NGFW Policies (Secure Tags, Service Accounts, Priorities) Hybrid & Cross-Network Connectivity: Cloud VPN (HA VPN), Cloud Interconnect & VPC Peering Cloud Load Balancing (L7/L4, Global/Regional), Cloud DNS, Cloud NAT & Network Service Tiers 5. Infrastructure as Code & AI-Assisted Tooling Plane (Section 2.4 - 3%) Declarative IaC: Terraform, Fabric FAST, Config Connector & Helm AI-Assisted Engineering: Gemini Cloud Assist, Gemini CLI, Google Antigravity & App Design Center 6. Observability, Diagnostics & Fleet Operations Plane (Section 3.4 - 7%) Cloud Monitoring, Ops Agent, Custom Metrics, Alerting Policies & Managed Service for Prometheus Cloud Logging (Log Router, Buckets, Log Analytics), Audit Logs, VPC Flow Logs & Firewall Logs Cloud Trace, Cloud Profiler, Query Insights, Active Assist, Personalized Service Health & Cloud Hub

Complete Reference Table of In-Scope Google Cloud Services & Tooling

#
Service / Tool Name
Architectural Plane
Primary Architectural Role & Selection Trigger
1
Resource Manager (Org, Folders, Projects)
Hierarchy & Governance
Structuring enterprise hierarchies (Organization → Folders → Projects); additive IAM policy inheritance down the tree; isolating billing and quotas at the Project boundary.
2
Organization Policy Service
Hierarchy & Governance
Enforcing centralized preventive guardrails across folders/projects (e.g., constraints/compute.vmExternalIpAccess, constraints/iam.disableServiceAccountKeyCreation, constraints/gcp.resourceLocations).
3
Cloud Identity & Google Groups
Identity & Access
Managing human corporate identities and Google Groups (manually via Admin Console or automated via GCDS / SCIM); always assign IAM roles to Groups, never individual users.
4
Workforce Identity Federation
Identity & Access
Keyless browser/CLI access for human employees/contractors authenticating via external IdPs (Okta, Entra ID, OIDC/SAML) without syncing users into Cloud Identity.
5
Workload Identity Federation (WIF)
Identity & Access
Keyless authentication for machine workloads running in GKE Pods, AWS, Azure, GitHub Actions, or on-premises servers exchanging OIDC/SAML/AWS tokens for short-lived Google Cloud tokens.
6
Cloud IAM (Roles, Policies, Conditions)
Identity & Access
Binding Principals (user:, group:, serviceAccount:, principalSet:) to Predefined or Custom Roles (service.resource.verb) with optional time/attribute-based IAM Conditions.
7
Service Accounts & Impersonation
Identity & Access
Non-human identities attached to VMs/Cloud Run or assumed via --impersonate-service-account (roles/iam.serviceAccountTokenCreator) and roles/iam.serviceAccountUser.
8
Cloud Billing (Budgets, Alerts, Exports)
FinOps & Billing
Linking projects to Billing Accounts (roles/billing.user + Project Owner/Browser); setting threshold alerts (email or Pub/Sub for programmatic cost shutoffs); exporting detailed usage to BigQuery.
9
Cloud Asset Inventory
Governance & Discovery
Searching metadata across all organization resources, exporting point-in-time asset snapshots to BigQuery/Cloud Storage, and analyzing IAM policies across projects.
10
Compute Engine (VMs, Spot VMs, MIGs)
Compute & Runtimes
IaaS virtual machines with custom machine types, Spot VMs (up to 91% discount, 30s preemption notice, no SLA), Managed Instance Groups (autoscaling + autohealing from Instance Templates), OS Login, and VM Manager.
11
Persistent Disk & Google Cloud Hyperdisk
Block Storage
Zonal/Regional Persistent Disks (pd-standard, pd-balanced, pd-ssd) and Google Cloud Hyperdisk (decoupled IOPS/throughput provisioning and Hyperdisk Storage Pools for high-end databases).
12
Google Kubernetes Engine (GKE)
Containers & K8s
Managed Kubernetes in Autopilot mode (Google manages nodes, bills per Pod resource request) or Standard mode (node pool control, DaemonSets, custom kernel/machine configurations).
13
Cloud Run & Cloud Run functions
Serverless Compute
Scale-to-zero stateless containers (Cloud Run) and event-driven single-purpose functions (Cloud Run functions), supporting revision traffic splitting (--to-revisions) and min/max instance scaling.
14
Eventarc
Serverless Eventing
Standardized CloudEvents routing from 130+ Google Cloud sources (via Audit Logs, direct Cloud Storage events, or Pub/Sub) to Cloud Run, Cloud Run functions, and GKE.
15
Agent Runtime (Gemini Enterprise Agent Platform)
AI & Developer Runtimes
Formerly Vertex AI Agent Engine; fully managed serverless runtime for deploying, scaling, and operating production AI agents without managing container infrastructure.
16
Gemini Enterprise Agent Platform Workbench
AI & Developer Runtimes
Formerly Vertex AI Workbench; managed Jupyter notebook environments integrated with BigQuery, Cloud Storage, and custom service accounts/VPC networks for data scientists.
17
Cloud Workstations
AI & Developer Runtimes
Fully managed, secure container-based cloud development environments (IDEs) running inside a private VPC with zero source code stored on local developer laptops.
18
Cloud Storage
Object Storage
Global object storage with 4 storage classes (Standard, Nearline [30d], Coldline [90d], Archive [365d]), Object Lifecycle Management, Object Versioning, Retention Policies, and Uniform Bucket-Level Access.
19
Filestore, NetApp Volumes & Managed Lustre
Shared File Storage
Filestore (managed POSIX NFS for VMs/GKE ReadWriteMany); Google Cloud NetApp Volumes (enterprise SMB/NFS with ONTAP snapshots/replication); Google Cloud Managed Lustre (parallel file system for extreme HPC/AI training clusters).
20
Cloud SQL, AlloyDB & Cloud Spanner
Relational Databases
Cloud SQL (managed MySQL/PostgreSQL/SQL Server with regional HA failover); AlloyDB (4x faster PostgreSQL-compatible enterprise OLTP + analytical columnar engine); Cloud Spanner (globally distributed, horizontally scalable ACID relational DB with 99.999% multi-region SLA).
21
Firestore, Cloud Bigtable & Memorystore
NoSQL & In-Memory
Firestore (serverless document NoSQL for mobile/web sync); Cloud Bigtable (wide-column NoSQL for sub-10ms high-throughput IoT/time-series at terabyte-to-petabyte scale); Memorystore (managed Redis/Valkey/Memcached in-memory cache).
22
BigQuery, Dataflow, Pub/Sub & Managed Kafka
Analytics & Streaming
BigQuery (serverless SQL data warehouse); Dataflow (serverless Apache Beam batch/stream processing); Pub/Sub (global async messaging); Google Cloud Managed Service for Apache Kafka (drop-in managed open-source Kafka clusters).
23
Database Center & Cloud KMS (CMEK)
Data Operations & Crypto
Database Center (AI-powered unified fleet health, availability, backup, and security posture dashboard across Cloud SQL, AlloyDB, Spanner, Bigtable, Firestore); Cloud KMS for Customer-Managed Encryption Keys (CMEK).
24
VPC, Shared VPC & VPC Network Peering
Core Networking
Global VPC with regional subnets; Shared VPC (centralized Host Project network shared with Service Projects within an Organization); VPC Peering (decentralized, non-transitive Layer 3 peering across VPCs).
25
VPC Firewalls & Cloud NGFW
Network Security
Stateful ingress/egress firewall rules evaluated by priority (0–65535) and hierarchical/network Cloud Next Generation Firewall (Cloud NGFW) policies using IAM-governed Secure Tags and Service Accounts.
26
Cloud VPN & Cloud Interconnect
Hybrid Connectivity
HA VPN (IPsec over internet, 99.99% SLA with 2 tunnels); Dedicated Interconnect (10 Gbps / 100 Gbps direct fiber at colocation); Partner Interconnect (50 Mbps–50 Gbps via service provider).
27
Cloud Load Balancing & Network Service Tiers
Traffic Delivery
Global & Regional Layer 7 (Application Load Balancers) and Layer 4 (Proxy & Passthrough Network Load Balancers); Premium Tier (Google global fiber backbone, anycast IP) vs. Standard Tier (public ISP transit, regional IP).
28
Cloud DNS & Cloud NAT
Network Services
Cloud DNS (100% SLA authoritative public/private DNS zones, forwarding, peering); Cloud NAT (software-defined outbound NAT for private VMs/GKE nodes with zero inbound exposure).
29
Terraform, Fabric FAST, Config Connector & Helm
Infrastructure as Code
Terraform (declarative HCL with remote state in Cloud Storage); Fabric FAST (production-ready Terraform enterprise landing zone blueprints); Config Connector (manage GCP resources via Kubernetes CRDs); Helm (K8s chart manager).
30
Gemini Cloud Assist, Gemini CLI, Antigravity & App Design Center
AI-Assisted Engineering
Gemini Cloud Assist (natural-language root-cause analysis, asset queries, and cost/performance optimization); Gemini CLI & Google Antigravity (agentic IDE/CLI coding & infrastructure generation); Application Design Center (visual canvas generating Terraform).
31
Cloud Monitoring, Ops Agent & Managed Prometheus
Metrics & Alerting
Cloud Monitoring (metrics, uptime checks, alerting policies); Ops Agent (unified Fluent Bit + OpenTelemetry agent for VM RAM/disk/process telemetry); Google Cloud Managed Service for Prometheus (GMP) (serverless PromQL monitoring for GKE).
32
Cloud Logging, Audit Logs & Diagnostics
Logging & Fleet Health
Cloud Logging (Log Router, Sinks, Log Buckets, SQL-based Log Analytics); Cloud Audit Logs (Admin Activity, Data Access, System Event, Policy Denied); Cloud Trace, Cloud Profiler, Query Insights, Active Assist, Personalized Service Health, and Cloud Hub.

2. The 10 Core Architectural Principles of the Architecture Stack

  1. Principle 1 — Never Export Static Service Account JSON Keys When a Keyless Alternative Exists: Any option that instructs you to run gcloud iam service-accounts keys create key.json and copy it into a VM, container image, GitHub repository, or developer laptop is almost certainly a trap. Use Attached Service Accounts on GCP compute, Workload Identity Federation for GKE Pods and external clouds/CI pipelines, Workforce Identity Federation for external human IdPs, and Service Account Impersonation (--impersonate-service-account) for local developer testing.
  2. Principle 2 — Assign IAM Roles to Google Groups at the Highest Shared Hierarchy Node: Never grant IAM roles to dozens of individual user: emails one by one. Put users into Cloud Identity / Google Groups (group:devops@example.com) and bind the narrowest Predefined Role (never Basic roles like Owner or Editor) at the Folder or Project level where all target resources share access requirements. Remember: IAM allow policies are strictly additive down the hierarchy (Organization → Folder → Project → Resource), whereas Organization Policies enforce preventive guardrails that restrict what even an Owner can do.
  3. Principle 3 — Match the Compute Platform to Operational Overhead and Scaling Physics:
  4. Stateless HTTP container or webhook that must scale to zero when idle → Cloud Run (or Cloud Run functions for lightweight event snippets).
  5. Production AI agent requiring managed session state and serverless execution → Agent Runtime on Gemini Enterprise Agent Platform.
  6. Complex microservices orchestration with minimum operational overhead → GKE Autopilot.
  7. Custom OS kernel modules, privileged DaemonSets, or direct host-level GPU/machine tuning → GKE Standard or Compute Engine VMs.
  8. Fault-tolerant, stateless batch job needing maximum cost reduction → Spot VMs (never use Spot VMs for stateful quorum databases or latency-critical single-instance web servers).
  9. Principle 4 — Match the Data & Storage Service to Data Structure, Scale, and Latency:
  10. Unstructured blobs, backups, static assets, or data lake files → Cloud Storage (Standard for hot, Nearline ≥ 30d, Coldline ≥ 90d, Archive ≥ 365d).
  11. Shared POSIX NFS filesystem mounted across multiple Linux VMs or GKE Pods (ReadWriteMany) → Filestore (or NetApp Volumes for enterprise SMB/NFS + ONTAP snapshots; Managed Lustre for massive parallel HPC/AI clusters).
  12. Regional relational OLTP → Cloud SQL (MySQL/PostgreSQL/SQL Server) or AlloyDB (high-throughput enterprise PostgreSQL).
  13. Global relational OLTP with horizontal write scaling and 99.999% SLA → Cloud Spanner.
  14. Serverless NoSQL document database for web/mobile real-time sync → Firestore.
  15. High-throughput wide-column NoSQL for time-series/IoT at petabyte scale → Cloud Bigtable.
  16. Serverless petabyte-scale analytical SQL data warehouse → BigQuery.
  17. Principle 5 — Private VMs Use Private Google Access for Google APIs and Cloud NAT for the Public Internet: If a VM has no external IP address, enable Private Google Access on its VPC subnet so it can reach Cloud Storage, BigQuery, and Artifact Registry over Google's internal network at zero NAT cost. Enable Cloud NAT when that private VM needs to download OS patches or reach third-party external internet endpoints—remembering that Cloud NAT is strictly for outbound-initiated connections and never allows unsolicited inbound traffic.
  18. Principle 6 — Use Shared VPC for Centralized Enterprise Governance and VPC Peering for Decentralized Direct Peering: When multiple projects within the same Organization need to share subnets centrally managed by a network security team, choose Shared VPC (Host Project + Service Projects). Use VPC Network Peering when connecting independent VPCs (even across organizations), keeping in mind that VPC Peering is non-transitive ($A \leftrightarrow Band @@CODE3@@ ↔ C does not allow $A \leftrightarrow C$) and requires non-overlapping CIDR ranges.
  19. Principle 7 — Prefer Secure Tags in Cloud NGFW Policies Over Legacy Network Tags: Traditional Compute Engine network tags are plain strings that any user with VM edit permissions can attach to bypass firewall intent. When a workload scenario requires cryptographically governed, IAM-controlled firewall targeting across a hierarchy or VPC, use Cloud NGFW Policies with Secure Tags (bound via IAM tag bindings) or Service Accounts.
  20. Principle 8 — Budgets Alone Never Stop Spending; Pair Budget Pub/Sub Alerts with Cloud Run Functions for Hard Caps: Creating a Cloud Billing budget alert only sends notification emails by default—your VMs and BigQuery queries will continue running past 100%. To enforce an automated cost cap, configure the budget to publish notifications to a Pub/Sub topic that triggers a Cloud Run function to stop non-production VMs or unlink the project's billing account.
  21. Principle 9 — Route Logs Before They Expire via Log Router Sinks: Cloud Logging retains _Required audit logs (Admin Activity, System Event) for 400 days and _Default logs for 30 days. To retain logs for years at minimal cost, create a Log Router Sink with an inclusion filter targeting a Cloud Storage Archive bucket; to run SQL joins across logs and business tables, route the sink to BigQuery or upgrade the Cloud Logging Bucket to Log Analytics (linked to BigQuery).
  22. Principle 10 — Know Your Four Essential CLI Binaries (gcloud, kubectl, bq, cbt):
  23. gcloud manages virtually all Google Cloud control-plane resources—including Cloud Storage via gcloud storage (preferred over legacy gsutil for faster parallel transfers and unified syntax).
  24. kubectl manages Kubernetes objects inside GKE clusters (Pods, Deployments, StatefulSets, DaemonSets, Services, HPA) after you fetch cluster credentials via gcloud container clusters get-credentials.
  25. bq executes BigQuery jobs, dry-run cost estimates (bq query --dry_run), and dataset operations.
  26. cbt performs Cloud Bigtable table, column-family, and row lookups.

Book TOC · Chapter 0 of 8 · Next: Chapter 1

AwesomeGCP.com Learning

The approach taken is a question-led learning approach: you explore realistic project scenarios where you need to make decisions or take actions to achieve business goals within specific constraints. Instead of passive learning, you are challenged to think and work through the options to master the Associate Cloud Engineer (ACE) certification!

Practice ACE Questions