Book TOC · Chapter 0 of 7 · Next: Chapter 1
Chapter 0: The PCSE Reference Stack & 10 Core Principles
Chapter Focus: A visual guide to the Google Cloud Certified Professional Cloud Security Engineer (PCSE) 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: The Google Cloud Security Stack
The official Google Cloud Professional Cloud Security Engineer (PCSE) Curriculum spans 5 Sections, 14 Subsections, and 70 Considerations. Rather than memorizing services in isolation, organize the entire Google Cloud security ecosystem across Five Integrated Defense-in-Depth Planes:
Complete Reference Table of In-Scope PCSE Security Services & Controls
# | Google Cloud Service / Control | Architecture Domain | Primary Security Responsibility in production |
|---|---|---|---|
1 | Cloud Identity & Google Admin Console | 1.1, 1.3 | Enterprise identity directory, Super Admin management, session length controls, password policies, and FIDO2 Security Key 2SV enforcement. |
2 | Google Cloud Directory Sync (GCDS) | 1.1 | One-way authoritative synchronization of users/groups from on-premises Active Directory/LDAP to Cloud Identity (protected by Exclusion Rules and Deletion Limits). |
3 | Admin SDK Directory API & Dynamic Groups | 1.1, 1.4 | Programmatic user/group lifecycle automation ( users.insert with Domain-Wide Delegation) and CEL-based automated group membership queries. |
4 | Workforce Identity Federation | 1.1, 1.3 | Keyless browser/CLI federation for external human users (contractors/partners) via external SAML/OIDC IdPs without syncing accounts into Cloud Identity. |
5 | Service Accounts & Short-Lived Credentials | 1.2 | Workload identities hardened via iam.disableServiceAccountKeyCreation, roles/iam.serviceAccountTokenCreator impersonation, and OIDC/OAuth tokens. |
6 | Workload Identity Federation (WIF) & GKE Workload Identity | 1.2 | Keyless authentication for machine workloads running in AWS, Azure, GitHub Actions, on-premises, or GKE Pods ( KSA bound to GSA). |
7 | IAM Allow Policies, IAM Conditions & Custom Roles | 1.4 | Least-privilege RBAC/ABAC evaluated via request.time, resource.name, and tags; Custom Roles when predefined roles violate separation of duties. |
8 | IAM Deny Policies | 1.4 | Explicit permission blocklists evaluated before any IAM Allow binding; even roles/owner cannot override an applicable IAM Deny rule. |
9 | Access Context Manager (ACM) & Endpoint Verification | 1.4, 2.2 | Context-aware Access Levels evaluating source IP CIDRs, geographic regions, and device posture (OS version, disk encryption, screen lock). |
10 | Policy Intelligence (Recommender, Analyzer, Troubleshooter) | 1.4 | IAM Recommender (rightsizes unused roles), Policy Analyzer ("Who has access to X?"), and Policy Troubleshooter ("Why did principal Y's call fail?"). |
11 | Privileged Access Manager (PAM) | 1.4 | Just-in-Time (JIT), time-bound elevation to privileged IAM roles via Entitlements, manual approval workflows, and mandatory audit justifications. |
12 | Resource Hierarchy & Organization Policy Service | 1.5, 4.1 | Hierarchical inheritance ( Organization → Folders → Projects → Resources) and preventive guardrails (pre-built constraints + CEL Custom Constraints). |
13 | Cloud Next Generation Firewall (Cloud NGFW) | 2.1, 2.2 | Hierarchical/Network firewall policies with goto_next delegation, Service Account/Secure Tag targets, Layer 7 IPS Threat Prevention, and TLS Inspection. |
14 | Identity-Aware Proxy (IAP) | 2.1 | Zero-Trust HTTPS and TCP/SSH ( 35.235.240.0/20) proxy verifying identity (roles/iap.httpsResourceAccessor / tunnelResourceAccessor) and ACM context. |
15 | Google Cloud Armor | 2.1 | Global edge DDoS mitigation and Layer 7 WAF (OWASP Top 10 sqli-stable/xss-stable rulesets, Adaptive Protection, throttle vs. rate_based_ban, Preview mode). |
16 | Secure Web Proxy (SWP) & Certificate Authority Service (CAS) | 2.1 | Managed egress Layer 7 proxy filtering outbound HTTPS by FQDN URL lists and caller Service Account, using CAS private CAs for TLS inspection. |
17 | Cloud DNS Security (DNSSEC, Response Policies, Private Zones) | 2.1, 2.3 | DNSSEC (with DS records at registrar) for public zones, DNS Response Policies to block malware domains, and split-horizon private zones for VIP routing. |
18 | Shared VPC & VPC Network Peering | 2.2, 2.3 | Shared VPC centralizes network governance in a Host Project ( roles/compute.networkUser on subnets); VPC Peering provides non-transitive data-plane peering. |
19 | VPC Service Controls (VPC-SC) | 2.2, 3.1, 3.3 | API-level service perimeter around multi-tenant Google APIs (GCS, BigQuery, Vertex AI) blocking data exfiltration; supports Dry-Run, Ingress/Egress rules, and Bridges. |
20 | HA VPN & Cloud Interconnect (with MACsec) | 2.3 | Hybrid connectivity: HA VPN (99.99% SLA IPsec), HA VPN over Cloud Interconnect (IPsec over L3 VLANs), and MACsec for line-rate L2 Dedicated Interconnect encryption. |
21 | Private Google Access (PGA) & Private Service Connect (PSC) | 2.3 | PGA ( private.googleapis.com vs. restricted.googleapis.com 199.36.153.4/30); PSC for private consumer-to-producer endpoints across overlapping CIDRs. |
22 | Cloud NAT | 2.1, 2.3 | Managed outbound-only source NAT for private VMs/GKE nodes without external IPs; supports manual static IP allocation for third-party allowlisting. |
23 | Sensitive Data Protection (Cloud DLP) | 3.1, 3.3, 5.1 | Inspection (built-in/custom regex InfoTypes, sampling triggers) and de-identification (Redaction, Masking, FPE-FFX, Deterministic AES-SIV, Crypto-Hash). |
24 | Secret Manager | 3.1 | Centralized, versioned secret storage with IAM separation ( secretAccessor vs. secretAdmin) and automated rotation via Pub/Sub + Cloud Functions. |
25 | Cloud KMS, Cloud HSM & Cloud External Key Manager (EKM) | 3.2 | Default Encryption, CMEK (software keys), Cloud HSM (FIPS 140-2 Level 3 hardware keys), Cloud EKM (external keys never imported to GCP), and CSEK. |
26 | Confidential Computing (Confidential VM & Confidential GKE) | 3.2 | Hardware-rooted encryption in use (RAM encrypted via AMD SEV / SEV-SNP / Intel TDX) with zero application code changes required. |
27 | Vertex AI Security & Model Armor | 3.3 | Private Vertex AI Workbench notebooks, custom training Service Accounts, CMEK, VPC-SC perimeters, Differential Privacy (DP-SGD), and Model Armor prompt guardrails. |
28 | Artifact Analysis, Cloud Build & Binary Authorization | 4.1 | Automated container CVE scanning ( On-Demand Scanning), Cloud KMS cryptographic attestations in CI/CD, and deploy-time admission enforcement on GKE/Cloud Run. |
29 | VM Manager (OS Patch Management) & Shielded VMs/GKE | 4.1 | Automated OS patch deployments with disruption budgets; Shielded VMs/Nodes enforcing UEFI Secure Boot, vTPM, and Integrity Monitoring. |
30 | Cloud Audit Logs, Log Router, VPC Flow Logs & Cloud IDS | 4.2 | Immutable Admin Activity (400d) vs. opt-in Data Access (30d) logs; Aggregated Sinks ( includeChildren); Log Views; Packet Mirroring; and Cloud IDS. |
31 | Security Command Center (SCC Standard vs. Premium) | 4.1, 4.2 | Security Health Analytics (CSPM + custom CEL modules), Event Threat Detection (Premium log/runtime threat detection), Mute Rules, and Pub/Sub SIEM streaming. |
32 | Assured Workloads, Access Transparency & Access Approval | 5.1 | Turnkey compliance folders (FedRAMP High, IL4, CJIS, EU Sovereignty), near-real-time Google support audit logs (Access Transparency), and explicit pre-approval (Access Approval). |
2. The 10 Core Architectural Principles of the Architecture Stack
Before you tackle your first challenge in Chapter 1, internalize these 10 Core Architectural Principles. Whenever you are torn between two plausible-sounding options In Google Cloud architectures, these laws eliminate 80% of look-alike service comparisons immediately:
- Principle 1 — Never Create Static Service Account Keys When Federation or Impersonation Exists: Any option proposing downloading a JSON key file, storing long-lived keys in GitHub Secrets/AWS Secrets Manager, or rotating static keys via cron jobs when a keyless path exists is a trap. Always choose Workload Identity Federation (external clouds/CI/CD), GKE Workload Identity (Pods), or Service Account Impersonation (
roles/iam.serviceAccountTokenCreator)—and enforceconstraints/iam.disableServiceAccountKeyCreationglobally. - Principle 2 — Network Firewalls Cannot Stop API Data Exfiltration; Only
VPC Service ControlsCan: Standard VPC firewall rules inspect VM packet flows, not multi-tenant Google API calls (storage.googleapis.com,bigquery.googleapis.com). When a scenario asks how to prevent a malicious insider or compromised credential from copying data to an external personal Cloud Storage bucket or BigQuery dataset, the answer is always VPC Service Controls (VPC-SC) paired withrestricted.googleapis.com(199.36.153.4/30). - Principle 3 — Match the De-Identification Transform to the Downstream Schema & Join Constraints:
- Need to mask all but the last 4 digits for support tickets? → Character Masking.
- Need to join two BigQuery tables on a de-identified column (referential integrity) without strict legacy column length limits? → Deterministic Encryption (
CryptoDeterministicConfig/ AES-SIV). - Legacy database column strictly requires a 16-digit numeric or 9-digit SSN format and length? → Format-Preserving Encryption (
FPE-FFX). - Irreversible one-way analytics de-identification? → Cryptographic Hashing (
CryptoHashConfig) or Redaction / Bucketing. - Principle 4 — Match the Key Management Solution to the Exact Regulatory Boundary:
- Zero operational overhead, standard compliance → Google Default Encryption.
- Customer control over rotation schedule, key destruction (crypto-shredding), and audit logs → CMEK (Cloud KMS Software Keys).
- Strict
FIPS 140-2 Level 3hardware validation requirement → Cloud HSM. - Strict sovereignty rule that key material must never enter Google Cloud servers → Cloud External Key Manager (Cloud EKM).
- Principle 5 —
IAM DenyOverridesIAM Allow, andOrganization PoliciesRestrict Resources (Not Principals): In IAM policy evaluation, an explicit IAM Deny policy always trumps any IAM Allow binding (evenroles/owner)—use it when you must block a specific permission (e.g.,iam.serviceAccountKeys.create) across principals. Conversely, Organization Policy constraints (constraints/compute.vmExternalIpAccess,constraints/gcp.resourceLocations) govern what resource configurations can exist, regardless of who calls the API. - Principle 6 — Isolate Duties Across the Resource Hierarchy & Shared VPC: Never grant developers
Project OwnerorProject Editorin production. Group projects into environment Folders (Prod,Non-Prod), manage users via synced Google Groups (never individual user bindings), and use Shared VPC so Network Admins control subnets/firewalls in the Host Project while developers deploy VMs in Service Projects using subnet-levelroles/compute.networkUser. - Principle 7 — Match the Log Sink Destination to the Consumer Pattern:
- Long-term multi-year compliance archival at lowest cost (7-year HIPAA/PCI retention) → Cloud Storage (
Archivestorage class) with Bucket Lock (WORM). - Retrospective SQL querying, relational joins, and forensic investigation → BigQuery (or Log Analytics linked dataset).
- Real-time streaming to an external SIEM (Splunk, QRadar, Chronicle) → Cloud Pub/Sub.
- Capture all current and future projects across the hierarchy → Aggregated Log Sink at the Organization/Folder node with
includeChildren = true. - Principle 8 — Admin Activity Logs Are Always On (400 Days); Data Access Logs Must Be Explicitly Enabled (30 Days): If an auditor asks why
storage.objects.get(DATA_READ) events are missing during a breach investigation, it is because Data Access audit logs are disabled by default (except for BigQuery) to prevent volume/cost spikes. EnableDATA_READ/DATA_WRITEin IAM Audit Config and useexemptedMembersonly for trusted high-volume service accounts. - Principle 9 — Protect Data In-Use with
Confidential Computingand Boot Integrity withShielded VMs: Do not confuse Shielded VMs / Shielded GKE Nodes (which verify kernel/bootloader signatures at boot via Secure Boot and vTPM) with Confidential Computing (Confidential VM/Confidential GKE Nodes), which encrypts data in-use inside RAM using hardware memory encryption (AMD SEV / Intel TDX). - Principle 10 — Preserve Volatile Forensics First, Isolate via Network Second, Never Reboot: When responding to an active VM compromise (such as cryptomining detected by SCC Event Threat Detection), never stop, reboot, or delete the instance first (which destroys volatile RAM/process state). Instead: (1) Isolate the VM by applying deny-all ingress/egress firewall rules (quarantine tag/service account), (2) Snapshot the persistent disk for forensic analysis in a clean quarantine project, and (3) Terminate/replace the workload only after evidence is preserved.
Book TOC · Chapter 0 of 7 · 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 Professional Cloud Security Engineer (PCSE) certification!