Book TOC · Chapter 0 of 8 · Next: Chapter 1
Chapter 0: The PAA Reference Architecture Stack & Core Architecture Principles
How Each Consolidated Chapter Teaches the Exam Takeaways
Every chapter in this compact edition is structured around five high-retention learning layers:
- Domain Overview and Reference Architecture: A system-level Mermaid diagram and mental map establishing how the domain's services interact in production.
- Foundational Primitives & Default Behaviors: A high-speed synthesis of core service primitives, default behaviors, and foundational visual mental models.
- Consideration-by-Consideration Consolidated Takeaways: Every official Exam Guide consideration (
1.1a,1.1b, ...) taught through an Architectural Briefing, Curated Best-Fit Visual Illustrations, Takeaway Pillars (Scenario Trigger → Winning Architecture → Exam Traps to Reject), and Consolidated Golden Rules. - Multi-Constraint Production Architecture Patterns: High-complexity production scenarios combining security, scale, latency, and FinOps constraints.
- Head-to-Head Trade-Off Clinics & Rapid Pattern-Trigger Cheat Sheets: Side-by-side comparison matrices and
If the prompt says X → Select Ylookup tables.
1. The Master Map: All 28 In-Scope Tools of the PAA Exam
Page 4 of the official Google Cloud Professional Agentic Architect Exam Guide defines 28 tools and services that are explicitly in scope. Rather than memorizing them alphabetically, organize them in your mind across Six Architectural Planes:
The 28 In-Scope Tools at a Glance
# | Official Exam Tool Name | Architectural Plane | Primary Exam Responsibility |
|---|---|---|---|
1 | Agent Development Kit (ADK) | Custom Agent Plane | Open-source code-first framework for building deterministic & LLM-driven agents, multi-agent hierarchies, tool wrappers, and evalset tests. |
2 | Agent evaluation | Evaluation Plane | Assessing trajectory accuracy, tool selection, groundedness, and response quality via ADK evalset, Gen AI Evaluation Service, and custom autoraters. |
3 | Agent Gateway | Security & Governance | Centralized ingress/egress proxy for monitoring agent traffic, enforcing rate limits/quotas, injecting W3C Trace Context headers, and mediating external MCP calls. |
4 | Agent Identity | Security & Governance | Dedicated principal identities (Service Accounts) per agent to enforce least privilege and bind Principal Access Boundary (PAB) policies. |
5 | Agent Registry | Governance & Discovery | Centralized enterprise catalog for publishing, discovering, versioning, and governing agents ( Agent Cards), MCP servers, and approved tools. |
6 | Agent Retrieval and Vector Search 1.0 | Knowledge & RAG | Low-latency ANN vector indexing (streaming vs. batch updates), hybrid search (dense + sparse BM25), metadata filtering, and semantic reranking. |
7 | Agent Runtime (formerly Agent Engine) | Compute Runtime | Fully managed runtime for deploying stateful ADK/LangGraph agents with built-in managed sessions, Memory Bank integration, and auto-scaling. |
8 | Agent Search (formerly Vertex AI Search) | Low-Code & Enterprise Data | Out-of-the-box enterprise search & grounding engine supporting document-level ACL propagation, identity federation, and multimodal indexing. |
9 | Agentic protocols (A2A, MCP) | Protocol Fabric | MCP for North–South agent-to-tool/resource integration; A2A for East–West peer-to-peer autonomous agent negotiation and task handoffs. |
10 | Agents CLI in Agent Platform | Developer & Ops Plane | Command-line toolchain to scaffold, configure skills/plugins, run local emulations, execute evalset pipelines, and govern/scale deployed agents. |
11 | Antigravity (CLI, SDK, App) | Agentic Coding Plane | Agentic AI development environment supporting MCP servers, custom Skills ( SKILL.md), Plugins, deterministic Extension Hooks, Rules, and Subagents. |
12 | Auth Manager (OAuth 2.0) | Security & Identity | Managing OAuth 2.0 Client Credentials (machine-to-machine) and On-Behalf-Of (OBO) token exchange flows for secure agent-to-tool execution. |
13 | BigQuery | Enterprise Data Store | Petabyte-scale serverless data warehouse queried by analytics agents via prebuilt Google Cloud MCP servers, Data Agent Kit, or read-only SQL tools. |
14 | Cloud Run | Compute Runtime | Serverless scale-to-zero container platform ideal for stateless agent APIs (paired with external checkpointers) and remote SSE/HTTP MCP servers. |
15 | Cloud SQL | Enterprise Data Store | Managed relational database (PostgreSQL/MySQL/SQL Server) accessed securely via parameterized MCP tools and IAM database authentication. |
16 | Cloud Storage | Enterprise Data Store | Object storage for raw unstructured/multimodal RAG corpora, large intermediate agent artifacts (passing GCS URIs instead of raw blobs in state), and golden datasets. |
17 | Firestore | State & Session Store | Serverless, low-latency NoSQL document database used as an external checkpointer and transactional session state store for multi-turn agents. |
18 | Gemini Enterprise | Low-Code Experience | Enterprise workspace and low-code Agent Designer for orchestrating business workflows, prompt templates, and grounded enterprise connectors. |
19 | Gemini LLMs | Foundation Models | Multimodal reasoning models ( Gemini Pro for complex planning/coding/long-context; Gemini Flash / Flash-Lite for low-latency routing and high-volume subtasks). |
20 | Google Cloud Observability | Observability Plane | Cloud Logging (structured JSON audit/trajectory logs) and Cloud Trace (end-to-end W3C distributed latency graphs across multi-agent hops). |
21 | Google Kubernetes Engine (GKE) | Compute & Sandbox Plane | Container orchestration for self-hosted open-weight models on GPUs/TPUs, high-density stateful fleets, and GKE Sandbox ( gVisor) code execution isolation. |
22 | Memorystore for Redis | State & Caching Store | Sub-millisecond in-memory store for high-frequency agent state checkpointing, distributed locks, and Semantic Caching of frequent LLM responses. |
23 | Model Armor | Security & Guardrails | Runtime AI firewall that inspects inputs, retrieved RAG context, and outputs to block prompt injections, jailbreaks, toxic content, and sensitive data leaks. |
24 | Model Context Protocol (MCP) servers | Protocol Fabric | Standardized servers exposing Tools (actions), Resources (read-only context/schemas), and Prompts over local stdio or remote SSE/HTTP. |
25 | Model Garden | Foundation Models | Curated repository to discover, test, fine-tune, and deploy proprietary (Gemini, Claude) and open-source/open-weight (Gemma, Llama, Mistral) models. |
26 | RAG Engine | Knowledge & RAG | Managed orchestration framework for document ingestion, layout-aware chunking, embedding generation, vector storage, and grounded retrieval. |
27 | Sensitive Data Protection | Security & Privacy | Discovering, classifying, masking, and de-identifying PII/PHI/PCI data in training/evaluation logs, RAG pipelines, and inline agent payloads. |
28 | Skill Registry | Developer & Ops Plane | Centralized repository for packaging, versioning, and sharing modular Agent Skills (following progressive disclosure) across teams and agents. |
2. The 10 Core Architecture Principles of the Professional Agentic Architect Exam
Internalize these 10 Core Architecture Principles. Whenever you are torn between two plausible-sounding options on the exam, these laws will almost always break the tie:
- Principle 1 — Deterministic Controls Always Beat Prompt Instructions for Security: Never rely on a system prompt or workspace rule ("Never run destructive commands", "Do not query the payroll table") to enforce security. Adversarial prompt injection can bypass natural language instructions. Always choose Pre-Tool Execution Hooks, IAM / Agent Identity, Principal Access Boundary (PAB) policies, or Model Armor.
- Principle 2 — Never Use Static Keys; Always Use Short-Lived Federated or OAuth Tokens: Any option proposing static Service Account JSON keys, hardcoded API keys in prompts/env vars, or shared Basic Auth is an immediate distractor. Choose Workload Identity Federation, Auth Manager (OAuth 2.0), or short-lived OIDC/IAM Bearer tokens.
- Principle 3 — Externalize State on Serverless Compute: Cloud Run containers are ephemeral and scale horizontally; session affinity is best-effort and never guarantees state survival. Always externalize multi-turn checkpoints to Agent Runtime Managed Sessions, Cloud Firestore, or Memorystore for Redis—and pass large binary artifacts via Cloud Storage URIs rather than stuffing megabytes into the state object.
- Principle 4 — Use
MCPfor Deterministic Tools/Resources (North–South) andA2Afor Peer Reasoning Agents (East–West): Never wrap a stateless SQL query or REST API in an autonomous A2A agent (wastes tokens and latency). Conversely, when two independent, goal-directed agents across frameworks or projects must negotiate subtasks and hand off control, use Agent2Agent (A2A) with Agent Cards in Agent Registry. - Principle 5 — Separate Short-Term Working Session State from Long-Term Episodic/Semantic Memory: Keep active turn-by-turn scratchpad variables and sliding-window history in Managed Sessions (with strict TTLs), and asynchronously distill durable user preferences and cross-session facts into Agent Platform Memory Bank.
- Principle 6 — Match Multi-Agent Topology to Task Dependency:
- Zero data dependency between subtasks + latency constraint → Parallel (Scatter-Gather).
- Strict stage-by-stage dependency (
$A→ B → C$) → Sequential Pipeline. - Single intent classification to 1 of
$N$ specialists → Router / Dispatcher. - Generate → Critique/Test → Refine until passing → Cyclic Graph / Reflection Loop with a mandatory max iteration counter.
- Principle 7 — Progressive Disclosure Prevents Context Bloat: Whether loading 50 runbooks in Antigravity (Agent Skills
SKILL.mdfrontmatter) or exposing 40 APIs to an ADK agent (dynamic tool retrieval / MCPtools/list), never dump all schemas or documentation into the system prompt on every turn. And if a static context payload is legitimately huge (e.g., a 500-page legal corpus or 20MB schema queried repeatedly), enable Vertex AI Context Caching. - Principle 8 — Identity Propagation Must Preserve End-User ACLs: When an enterprise agent queries shared knowledge stores (Agent Search, Google Drive MCP servers, HR databases), never use a single privileged agent service account to fetch data for all users. Propagate the end-user's identity via OAuth 2.0 On-Behalf-Of (OBO) token exchange or native Agent Search ACL enforcement.
- Principle 9 — Evaluate the Trajectory, Not Just the Final String: An agent can hallucinate the right final answer after calling the wrong tools or failing to ground in retrieved context. In CI/CD (ADK
evalset) and production (Gen AI Evaluation Service), evaluate Tool Selection Precision/Recall, Trajectory In-Order Match, and the RAG Triad (Context Relevance, Groundedness/Faithfulness, Answer Relevance). - Principle 10 — Defense-in-Depth Requires Both
Model ArmorandSensitive Data Protection: Use Model Armor to block direct/indirect prompt injections, jailbreaks, and toxic outputs, and pair it with Sensitive Data Protection (SDP) to inspect, classify, and redact/de-identify sensitive PII/PHI in prompts, RAG chunks, and tool responses.
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 Professional Agentic Architect (PAA) certification!