Google Cloud Professional Cloud Architect (PCA) — IAM, Networking, Compute, Storage & Official Case Studies

High-yield Google Cloud PCA flashcards covering the exam blueprint, Resource Hierarchy, IAM Deny policies, Workload Identity Federation, Shared VPC vs. Peering, VPC Service Controls, Cloud Interconnect, Cloud Load Balancing/Armor, GKE Autopilot vs. Cloud Run, Cloud Spanner vs. AlloyDB, and the 4 PCA Case Studies.

Category
Multi-Cloud & DevOps Architecture — Microsoft Azure (AZ-104 & AZ-305), Google Cloud (PCA & PDE), Kubernetes (CKA / CKAD) & HashiCorp Terraform Associate
Level
intermediate
Languages
en → en
Cards
32
Markdown
Google Cloud Professional Cloud Architect (PCA) — IAM, Networking, Compute, Storage & Official Case Studies (.md)

Flashcards (32)

#Front (Term / Question)Back (Definition / Answer)ExampleMultiple-Choice Options
1How do VMs without external IP addresses access Google Cloud APIs (such as Cloud Storage or BigQuery) vs. downloading OS patches from the public internet?Enable 'Private Google Access' on the subnet to reach Google APIs internally, and deploy 'Cloud NAT' for outbound internet access.Private GKE worker nodes pull container images from Artifact Registry via Private Google Access (or Private Service Connect) and download third-party apt/pip packages outbound through Cloud NAT.
  • Private Google Access = internal access to Google APIs without external IPs; Cloud NAT = software-defined outbound SNAT to the public internet.
  • Enable 'Private Google Access' on the subnet to reach Google APIs internally, and deploy 'Cloud NAT' for outbound internet access.
  • Neither Private Google Access nor Cloud NAT allows unsolicited inbound connections from the internet.
2In Google Cloud Operations Suite (Cloud Logging), what are the four types of Cloud Audit Logs, and which ones are enabled by default and free of charge?Admin Activity and System Event logs are always enabled and free; Data Access (except BigQuery) and Policy Denied logs require opt-in and incur charges.To satisfy a regulatory audit requiring tracking of every user who reads objects in a sensitive Cloud Storage bucket, an architect enables `DATA_READ` and `DATA_WRITE` Data Access audit logs for `storage.googleapis.com`.
  • Admin Activity and System Event logs are always enabled and free; Data Access (except BigQuery) and Policy Denied logs require opt-in and incur charges.
  • 4 types: Admin Activity (always on, free, 400-day retention), System Event (always on, free, 400 days), Data Access (opt-in, paid, 30-day default retention), Policy Denied (paid).
  • Log Sinks (`_Required` and `_Default` buckets or custom sinks) route logs to Cloud Storage, BigQuery, Pub/Sub, or another Log Bucket.
3How do Google Cloud Customer-Managed Encryption Keys (CMEK), Customer-Supplied Encryption Keys (CSEK), and Cloud External Key Manager (EKM) differ?CMEK manages keys in Cloud KMS; CSEK supplies raw AES-256 keys per API call; EKM keeps keys in an external third-party key manager.With CSEK on Cloud Storage or Compute Engine Persistent Disks, Google holds the key only in volatile RAM during active I/O; if the customer loses their CSEK, Google cannot recover the data.
  • CMEK manages keys in Cloud KMS; CSEK supplies raw AES-256 keys per API call; EKM keeps keys in an external third-party key manager.
  • Default = Google-managed encryption; CMEK = customer controls rotation/access in Cloud KMS; CSEK = customer provides raw key on every request; EKM = keys remain outside Google Cloud.
  • Cloud HSM can back CMEK keys with FIPS 140-2 Level 3 hardware security modules.
4How do Google Cloud IAM Allow policies and IAM Deny policies interact across the four-level Resource Hierarchy (Organization -> Folders -> Projects -> Resources)?IAM policies inherit downward from Organization to Resources; any applicable IAM Deny rule always overrides any IAM Allow role binding.Even if a user holds the `roles/owner` primitive role on a child Project, an Organization-level IAM Deny policy blocking `iam.serviceAccountKeys.create` prevents them from exporting JSON keys.
  • IAM policies inherit downward from Organization to Resources; any applicable IAM Deny rule always overrides any IAM Allow role binding.
  • Allow bindings are additive down the hierarchy, but an explicit IAM Deny policy or Organization Policy constraint always wins.
  • Hierarchy order: Organization -> Folders -> Projects -> Resources.
5How do Google Cloud's Global External Application Load Balancer, Cloud Armor, and Cloud CDN work together at the network edge?The Global Application Load Balancer terminates HTTP(S) at anycast edge POPs, where Cloud Armor enforces WAF/DDoS rules and Cloud CDN serves cached assets.Attaching a Cloud Armor security policy with preconfigured OWASP Top 10 rules and Adaptive Protection blocks SQLi/XSS and Layer 7 DDoS floods at Google's edge before traffic ever reaches backend GKE pods.
  • The Global Application Load Balancer terminates HTTP(S) at anycast edge POPs, where Cloud Armor enforces WAF/DDoS rules and Cloud CDN serves cached assets.
  • Global Anycast VIP -> Cloud Armor WAF/rate-limiting -> Cloud CDN edge cache -> Backend Services (MIGs, GKE NEGs, Cloud Run Serverless NEGs) or Backend Buckets.
  • Identity-Aware Proxy (IAP) can also be enabled on the load balancer backend service for Zero Trust user authentication.
6What is Private Service Connect (PSC) in Google Cloud, and why is it increasingly preferred over VPC Network Peering for consuming managed services (like AlloyDB, Cloud SQL, or Apigee)?Private Service Connect exposes managed or third-party services via a local private IP endpoint inside the consumer VPC without CIDR overlap or peering limits.With PSC, a consumer VPC connects to a producer's AlloyDB cluster or SaaS service over a single internal IP (`10.10.0.50`), even if the consumer and producer VPCs have overlapping RFC 1918 IP ranges.
  • Private Service Connect exposes managed or third-party services via a local private IP endpoint inside the consumer VPC without CIDR overlap or peering limits.
  • Provides unidirectional private endpoint connectivity to Google APIs, managed databases, or published services in other VPCs without CIDR overlap issues.
  • Equivalent to AWS PrivateLink and Azure Private Link.
7Compare GKE Autopilot mode and GKE Standard mode regarding operational responsibility, node access, and billing.GKE Autopilot manages all worker nodes, enforces hardening, and bills per Pod resource requests; GKE Standard bills per underlying Compute Engine VM.When a team wants full Kubernetes API compatibility without managing node pools, OS upgrades, or bin-packing idle capacity, GKE Autopilot automatically provisions and scales hardened nodes per Pod specification.
  • GKE Autopilot manages all worker nodes, enforces hardening, and bills per Pod resource requests; GKE Standard bills per underlying Compute Engine VM.
  • Autopilot = Google manages nodes, SLAs cover both control plane and pods, billed per Pod resource requests; Standard = customer manages Node Pools and pays per VM.
  • GKE Standard is used when workloads require privileged host access, custom kernel modules, or specific node-level configurations not permitted in Autopilot.
8In the PCA Official Case Study 'Mountkirk Games', what architecture supports their new multi-platform multiplayer game's global transactional player state AND real-time game analytics?Run game backends on GKE behind a Global Load Balancer, store global player state in Cloud Spanner, and stream telemetry to BigQuery.Mountkirk Games previously suffered outages on their previous cloud provider when late-arriving mobile UDP/HTTP telemetry overwhelmed their ingestion pipeline and MySQL database couldn't scale horizontally for viral player spikes.
  • Game servers on GKE with Horizontal/Cluster Autoscaler; global ACID player state in Cloud Spanner; late-arriving mobile telemetry via Pub/Sub + Dataflow (watermarks/triggers) into BigQuery.
  • Run game backends on GKE behind a Global Load Balancer, store global player state in Cloud Spanner, and stream telemetry to BigQuery.
  • Uses Cloud Storage as a durable archive for raw JSON game logs.
9When choosing a NoSQL database on Google Cloud, how do Firestore (Datastore) and Cloud Bigtable differ in data model, latency, and throughput scale?Firestore is a serverless document DB with mobile SDKs and ACID transactions; Bigtable is a wide-column HBase store for petabyte sub-10ms workloads.Mobile user profiles and real-time game lobbies use Firestore, while high-frequency financial market tick data or IoT time-series streams ingesting 100,000+ writes/sec use Cloud Bigtable.
  • Firestore = serverless JSON document DB (scales to zero, strong consistency); Bigtable = node-based wide-column store for >1 TB high-throughput time-series/analytical/operational workloads.
  • Firestore is a serverless document DB with mobile SDKs and ACID transactions; Bigtable is a wide-column HBase store for petabyte sub-10ms workloads.
  • Bigtable supports single-row atomic transactions only, whereas Firestore supports multi-document ACID transactions.
10How do Spot VMs (formerly Preemptible VMs) in Google Compute Engine work, and what happens when Compute Engine reclaims a Spot VM?Spot VMs offer 60–91% discounts on spare capacity with no max runtime limit, receiving a 30-second ACPI preemption notice when reclaimed.Stateless batch rendering workers and fault-tolerant GKE Spot Node Pools register a `shutdown-script` metadata script to flush checkpoint state to Cloud Storage within the 30-second preemption window.
  • Deeply discounted spare Compute Engine capacity that can be preempted at any time with a 30-second warning.
  • Spot VMs offer 60–91% discounts on spare capacity with no max runtime limit, receiving a 30-second ACPI preemption notice when reclaimed.
  • Unlike legacy Preemptible VMs (which had a hard 24-hour max runtime), Spot VMs have no maximum runtime limit.
11Compare Google Cloud Dedicated Interconnect, Partner Interconnect, and HA VPN by capacity, physical requirements, and SLA.Dedicated Interconnect uses 10G/100G colocation links; Partner Interconnect offers 50 Mbps–50 Gbps via a carrier; HA VPN uses encrypted IPsec over internet.Achieving a 99.99% SLA requires either four redundant VLAN attachments across two metro edge availability domains (Interconnect) or two tunnels on an HA VPN gateway connected to Cloud Router with dynamic BGP.
  • Dedicated = 10 Gbps or 100 Gbps direct fiber; Partner = 50 Mbps to 50 Gbps via service provider; HA VPN = 99.99% SLA two-interface IPsec VPN.
  • Dedicated Interconnect uses 10G/100G colocation links; Partner Interconnect offers 50 Mbps–50 Gbps via a carrier; HA VPN uses encrypted IPsec over internet.
  • HA VPN can also be layered on top of Cloud Interconnect (`HA VPN over Interconnect`) for IPsec encryption over private links.
12In the PCA Official Case Study 'EHR Healthcare', what are the core business and technical requirements, and what target GCP architecture solves them?EHR Healthcare requires HIPAA-compliant hybrid connectivity and containerized microservices using Dedicated Interconnect, GKE, Cloud SQL/AlloyDB, Secret Manager, and BigQuery.To modernize EHR Healthcare's on-premises datacenter while maintaining low-latency hybrid integration and HIPAA compliance, architects pair redundant Dedicated Interconnect with GKE, Cloud Armor, Secret Manager, and AD federation via Google Cloud Directory Sync.
  • EHR Healthcare requires HIPAA-compliant hybrid connectivity and containerized microservices using Dedicated Interconnect, GKE, Cloud SQL/AlloyDB, Secret Manager, and BigQuery.
  • Hybrid healthcare SaaS provider migrating from colocation; uses Dedicated Interconnect (99.99%), GKE, Memorystore Redis, Pub/Sub, and BigQuery for predictive analytics.
  • Centralizes logs/metrics in Cloud Logging and Cloud Monitoring to replace fragmented on-premises observability tools.
13In the PCA Case Study 'EHR Healthcare', how should the architect synchronize existing on-premises Active Directory users and passwords with Google Cloud without modifying AD schemas?Use Google Cloud Directory Sync (GCDS) for one-way user/group sync from Active Directory to Cloud Identity, paired with AD FS / SAML 2.0 SSO.With GCDS + SAML SSO, Active Directory remains the single source of truth: disabling a nurse's or contractor's AD account immediately revokes their federated SAML login and Google Cloud access.
  • Use Google Cloud Directory Sync (GCDS) for one-way user/group sync from Active Directory to Cloud Identity, paired with AD FS / SAML 2.0 SSO.
  • GCDS syncs identities one-way from LDAP/Active Directory to Cloud Identity while SAML 2.0 federation handles authentication against on-premises AD.
  • Managed Service for Microsoft Active Directory can also join Windows workloads via a domain trust.
14In the 'TerramEarth' case study, how should third-party agricultural dealers securely upload multi-gigabyte telemetry bundles directly to Cloud Storage without holding persistent GCP IAM accounts?Have an authenticated backend service generate time-limited Cloud Storage Signed URLs (with `PUT`/resumable upload permission) so dealership devices upload directly to the bucket.Using a resumable upload Signed URL allows dealership service bays with intermittent rural internet links to upload 5 GB compressed sensor archives directly to regional Cloud Storage edge endpoints.
  • Issue short-lived Cloud Storage Signed URLs with resumable uploads enabled.
  • Offloads heavy binary upload traffic from application servers directly to Google Cloud Storage.
  • Have an authenticated backend service generate time-limited Cloud Storage Signed URLs (with `PUT`/resumable upload permission) so dealership devices upload directly to the bucket.
15In the 'Mountkirk Games' case study, how does the streaming analytics pipeline correctly handle mobile game clients that lose cellular connectivity and upload delayed event logs hours later?Use Cloud Pub/Sub with Apache Beam on Cloud Dataflow configured with event-time windowing, watermarks, and allowed lateness triggers before writing to BigQuery.By windowing on the embedded payload timestamp (event time) rather than ingestion arrival time (processing time), Dataflow accurately attributes delayed mobile kills and purchases to the exact match session.
  • Dataflow event-time processing with watermarks and late-data triggers reconciles out-of-order and delayed mobile telemetry.
  • Avoids bespoke batch cron jobs by unifying streaming and late-arriving data in a single Apache Beam pipeline.
  • Use Cloud Pub/Sub with Apache Beam on Cloud Dataflow configured with event-time windowing, watermarks, and allowed lateness triggers before writing to BigQuery.
16Compare Google Cloud's Committed Use Discounts (CUDs): Resource-Based CUDs vs. Spend-Based (Flexible) CUDs.Resource-based CUDs commit to regional vCPU/RAM for 1 or 3 years (up to 70% off); Spend-based CUDs commit to a minimum $/hour spend.An organization running steady Compute Engine VMs in `us-central1` purchases 3-year Resource-based CUDs (sharing them across projects via billing account discount sharing), while using Spend-based CUDs for Cloud Run and Cloud SQL.
  • Resource-based CUDs commit to regional vCPU/RAM for 1 or 3 years (up to 70% off); Spend-based CUDs commit to a minimum $/hour spend.
  • 1-year or 3-year commitments offering up to 57% (general-purpose) or 70% (memory-optimized) savings over on-demand pricing.
  • Sustained Use Discounts (SUDs) apply automatically on eligible VM families without any upfront commitment.
17In the PCA Official Case Study 'TerramEarth', how does the architecture handle both the 200,000 cellular-connected vehicles (streaming) and the 20 million unconnected vehicles (batch uploads at dealerships)?Cellular vehicles stream MQTT/HTTPS to Pub/Sub -> Dataflow -> BigQuery, while unconnected vehicles upload compressed batch files to Cloud Storage via Signed URLs.Because Apache Beam supports unified batch and streaming execution on Cloud Dataflow, TerramEarth runs the exact same transformation code over real-time Pub/Sub streams and daily Cloud Storage batch files.
  • Dual ingestion: streaming cellular telemetry via Pub/Sub + Dataflow, and batch dealership uploads via Cloud Storage (`gsutil`/Signed URLs) + Dataflow batch into BigQuery.
  • Cellular vehicles stream MQTT/HTTPS to Pub/Sub -> Dataflow -> BigQuery, while unconnected vehicles upload compressed batch files to Cloud Storage via Signed URLs.
  • Dealers and partners access predictive maintenance APIs through Apigee API Management.
18What is a Network Endpoint Group (NEG) in Google Cloud, and why do GKE and Cloud Run use `Zonal NEGs` and `Serverless NEGs`?Zonal NEGs enable container-native load balancing directly to GKE Pod IPs, while Serverless NEGs route traffic to Cloud Run or App Engine.With Container-Native Load Balancing via Zonal NEGs, the Google Cloud Application Load Balancer health-checks and sends HTTP requests directly to individual GKE Pod IP addresses.
  • Zonal NEGs = direct Pod-IP routing in GKE; Serverless NEGs = routing from Cloud Load Balancing to Cloud Run/Cloud Functions/App Engine.
  • Eliminates the extra network hop through NodePort and `iptables`/`ipvs` on GKE nodes.
  • Zonal NEGs enable container-native load balancing directly to GKE Pod IPs, while Serverless NEGs route traffic to Cloud Run or App Engine.
19When migrating VMware workloads to Google Cloud, how do Google Cloud VMware Engine (GCVE) and Migrate to Virtual Machines (Migrate for Compute Engine) differ?GCVE runs a managed native vSphere/vSAN/NSX-T private cloud on dedicated bare-metal nodes; Migrate to VMs converts VMware VMs into native Compute Engine instances.When an enterprise must vacate a datacenter in 60 days without refactoring VMware vCenter operational tooling or hypervisor-level appliances, lifting and shifting via HCX into Google Cloud VMware Engine is the fastest path.
  • GCVE runs a managed native vSphere/vSAN/NSX-T private cloud on dedicated bare-metal nodes; Migrate to VMs converts VMware VMs into native Compute Engine instances.
  • GCVE = lift-and-shift native VMware SDDC (vSphere/vSAN/NSX/HCX) with zero guest refactoring; Migrate to VMs = replatforms VMs onto native Compute Engine.
  • Migrate to Containers can further modernize compatible VM-based Linux/Windows apps directly into GKE containers.
20Compare the four Google Cloud Storage classes (Standard, Nearline, Coldline, Archive) by minimum storage duration and availability.Standard has 0-day minimum, Nearline 30 days, Coldline 90 days, and Archive 365 days—all four offer millisecond first-byte latency!Unlike AWS S3 Glacier or Azure Archive, Google Cloud Storage `Archive` class provides online millisecond access with no hours-long rehydration wait, trading higher per-GB retrieval fees for ultra-low storage cost.
  • Standard (0 days), Nearline (30 days), Coldline (90 days), Archive (365 days); all four use the same API and millisecond retrieval latency.
  • Enabling Autoclass on a bucket automatically transitions objects between Standard, Nearline, Coldline, and Archive based on access patterns.
  • Standard has 0-day minimum, Nearline 30 days, Coldline 90 days, and Archive 365 days—all four offer millisecond first-byte latency!
21What is the difference between Google Cloud IAM Policy (Allow/Deny) and Google Cloud Organization Policy Service constraints?IAM governs WHO (principals) can act on resources, whereas Organization Policy constraints govern WHAT configurations or locations are allowed.Enforcing the `constraints/gcp.resourceLocations` Organization Policy constraint to `in:eu-locations` blocks even Organization Admins from creating Compute Engine VMs or Cloud Storage buckets in US regions.
  • IAM governs WHO (principals) can act on resources, whereas Organization Policy constraints govern WHAT configurations or locations are allowed.
  • IAM controls identity permissions; Organization Policy enforces resource configuration guardrails across the hierarchy.
  • Boolean and list constraints like `iam.disableServiceAccountKeyCreation` restrict platform behavior regardless of IAM roles.
22What is the scope of a Google Cloud Virtual Private Cloud (VPC) network and its subnets?A Google Cloud VPC is a global resource spanning all regions, while each subnet is a regional resource spanning all zones.A VM in `us-central1-a` and a VM in `europe-west1-b` inside the same VPC communicate over private RFC 1918 IP addresses across Google's global Andromeda software-defined network without needing VPC Peering.
  • VPCs are global; subnets are regional (spanning all zones within a single region).
  • A Google Cloud VPC is a global resource spanning all regions, while each subnet is a regional resource spanning all zones.
  • Expanding a subnet's primary CIDR prefix (`gcloud compute networks subnets expand-ip-range`) happens online with zero downtime.
23Compare Google Cloud SQL, AlloyDB for PostgreSQL, and Cloud Spanner for relational database workloads.Cloud SQL is regional MySQL/Postgres/SQL Server; AlloyDB is high-speed regional Postgres; Cloud Spanner is globally distributed relational with horizontal writes and 99.999% SLA.A global payment ledger requiring external consistency (TrueTime), zero-downtime horizontal write scaling across continents, and five-nines availability uses Cloud Spanner; high-throughput regional PostgreSQL migrations use AlloyDB.
  • Cloud SQL = regional relational (<64 TB); AlloyDB = Google-engineered regional PostgreSQL with columnar engine; Cloud Spanner = multi-region horizontal scale relational database.
  • Cloud Spanner uses atomic clocks and GPS receivers (TrueTime API) to provide globally synchronized external consistency without cross-region read locks.
  • Cloud SQL is regional MySQL/Postgres/SQL Server; AlloyDB is high-speed regional Postgres; Cloud Spanner is globally distributed relational with horizontal writes and 99.999% SLA.
24In the 'Helicopter Racing League (HRL)' case study, why are Cloud Pub/Sub, Dataflow, and Cloud Bigtable chosen for live race sensor telemetry over Cloud SQL?Helicopter sensors generate high-velocity time-series streams requiring Pub/Sub buffering, Dataflow streaming windows, and Bigtable's sub-10ms horizontal write throughput.While Bigtable handles low-latency real-time time-series lookups for race engineers on the track, Dataflow simultaneously forks the enriched telemetry stream into BigQuery for historical crowd-engagement analytics.
  • Pub/Sub decouples bursty telemetry spikes; Dataflow processes streaming windows; Bigtable handles millions of time-series ops/sec.
  • Cloud SQL cannot scale writes horizontally to handle high-frequency IoT telemetry at sub-10ms latency.
  • Helicopter sensors generate high-velocity time-series streams requiring Pub/Sub buffering, Dataflow streaming windows, and Bigtable's sub-10ms horizontal write throughput.
25What is the role of Google Cloud Identity-Aware Proxy (IAP), and how does 'IAP TCP Forwarding' replace bastion hosts?IAP enforces Zero Trust access at the application or TCP level, tunneling SSH/RDP (`--tunnel-through-iap`) to private VMs without public IPs.Granting a developer `roles/iap.tunnelResourceAccessor` and allowing TCP ingress from Google's IAP range `35.235.240.0/20` lets them SSH securely into internal VMs with zero public IP exposure.
  • Implements Google's BeyondCorp Zero Trust model by verifying user identity and device context before proxying HTTPS or TCP (SSH/RDP) traffic.
  • IAP enforces Zero Trust access at the application or TCP level, tunneling SSH/RDP (`--tunnel-through-iap`) to private VMs without public IPs.
  • Requires firewall rule allowing ingress from `35.235.240.0/20` for IAP TCP forwarding.
26In the PCA Official Case Study 'Helicopter Racing League (HRL)', what is the reference GCP architecture for real-time telemetry ingestion, low-latency global video streaming, and ML predictions?Stream telemetry into Pub/Sub -> Dataflow -> Bigtable/BigQuery, run real-time inference on Vertex AI, and serve video via Media CDN + Cloud Storage.During live races at remote tracks, HRL buffers raw video and sensor data locally on edge appliances or uploads over high-bandwidth links into regional Cloud Storage buckets and global Pub/Sub topics.
  • Global sports streaming + real-time telemetry: Cloud Storage + Transcoder API + Cloud CDN for video; Pub/Sub + Dataflow + Bigtable/BigQuery + Vertex AI for real-time race predictions.
  • Stream telemetry into Pub/Sub -> Dataflow -> Bigtable/BigQuery, run real-time inference on Vertex AI, and serve video via Media CDN + Cloud Storage.
  • Cloud Spanner or Firestore serves global interactive fan mobile apps with millisecond latency.
27When should a Cloud Architect choose Google Cloud Run over Google Kubernetes Engine (GKE)?Choose Cloud Run for stateless HTTP/gRPC containers, web APIs, and event-driven jobs that benefit from rapid scale-to-zero and zero cluster management.A microservice handling bursty webhook traffic that sits idle overnight runs on Cloud Run with concurrency set to 80 requests per container instance, scaling down to 0 instances when idle.
  • Choose Cloud Run for stateless HTTP/gRPC containers, web APIs, and event-driven jobs that benefit from rapid scale-to-zero and zero cluster management.
  • Cloud Run is ideal for serverless stateless containers and batch jobs without Kubernetes complexity; choose GKE for complex multi-container networking, stateful sets, or custom CRDs.
  • Cloud Run supports both request-driven Services and run-to-completion Cloud Run Jobs.
28What security threat does VPC Service Controls (VPC-SC) mitigate in Google Cloud, and how does it work?VPC-SC prevents data exfiltration from managed Google APIs (like BigQuery and Cloud Storage) by wrapping Projects inside an identity-aware security perimeter.Even if an attacker steals valid IAM credentials or a developer accidentally makes a bucket public, VPC Service Controls blocks copying data from a protected BigQuery dataset to an external Project.
  • Creates a virtual service perimeter around Google Cloud APIs (`storage.googleapis.com`, `bigquery.googleapis.com`) to prevent unauthorized data exfiltration.
  • Supports Dry-Run mode, Access Levels (IP/device context), and Perimeter Bridges/Ingress/Egress rules.
  • VPC-SC prevents data exfiltration from managed Google APIs (like BigQuery and Cloud Storage) by wrapping Projects inside an identity-aware security perimeter.
29In Google Compute Engine, what is the difference between a Managed Instance Group (MIG) that is Stateless vs. Stateful?Stateless MIGs recreate identical disposable VMs for horizontal autoscaling; Stateful MIGs preserve each VM's unique name, persistent disks, and metadata across repairs.A clustered ZooKeeper or self-managed Cassandra deployment on Compute Engine uses a Stateful MIG so that if a host fails, the recreated VM reattaches the exact same Persistent Disk and private IP.
  • Stateless MIGs recreate identical disposable VMs for horizontal autoscaling; Stateful MIGs preserve each VM's unique name, persistent disks, and metadata across repairs.
  • Stateless MIGs autoscale horizontally for web/app tiers; Stateful MIGs provide autohealing and controlled updates while preserving per-VM disks and IPs.
  • Regional MIGs distribute instances across 3 zones in a region to survive zonal outages.
30Compare Google Cloud Shared VPC and VPC Network Peering for multi-project enterprise network architectures.Shared VPC shares subnets centrally from a Host Project to Service Projects within one Organization; VPC Peering connects independent VPCs anywhere.Enterprises with centralized network security teams prefer Shared VPC because network admins control subnets, routes, and firewall policies in the Host Project while developers deploy VMs/GKE in Service Projects.
  • Shared VPC = centralized network admin within one Organization; VPC Peering = decentralized VPC-to-VPC connectivity (even across Organizations), non-transitive.
  • Shared VPC shares subnets centrally from a Host Project to Service Projects within one Organization; VPC Peering connects independent VPCs anywhere.
  • Shared VPC avoids the 25-peering limit and transitive routing constraints of VPC Network Peering.
31What is the format, duration, and case-study structure of the Google Cloud Professional Cloud Architect (PCA) certification exam?50 to 60 multiple-choice and multiple-select questions in 120 minutes, including scenario questions from four official PCA case studies.Approximately 20–30% of PCA exam items reference EHR Healthcare, Helicopter Racing League (HRL), Mountkirk Games, or TerramEarth, testing architectural trade-offs across security, cost, and reliability.
  • 50-60 questions over 2 hours covering 6 domains and 4 published case studies.
  • 50 to 60 multiple-choice and multiple-select questions in 120 minutes, including scenario questions from four official PCA case studies.
  • 120-minute exam with standalone architecture questions plus 4 case studies.
32How does Workload Identity Federation in Google Cloud eliminate the security risk of exported Service Account JSON keys for external workloads?External workloads (AWS, Azure, GitHub Actions, Kubernetes) exchange native OIDC/AWS/SAML tokens via Google STS for short-lived federated credentials.A GitHub Actions pipeline presents its OIDC token to a Workload Identity Pool and impersonates a GCP Service Account to deploy Cloud Run services without storing any long-lived JSON secrets.
  • External workloads (AWS, Azure, GitHub Actions, Kubernetes) exchange native OIDC/AWS/SAML tokens via Google STS for short-lived federated credentials.
  • Exchanges external IdP tokens (OIDC/SAML/AWS) for short-lived Google access tokens without creating static Service Account keys.
  • For pods running inside GKE, GKE Workload Identity binds Kubernetes ServiceAccounts directly to IAM Service Accounts.