Google Cloud PMLE Study Guide
Reference updated 2026-09-30
How to read this map
Implementation styles
- Visual/no-code: graphical interface.
- Low-code/configuration-first: templates and managed settings.
- SQL/declarative: describe the desired operation with SQL.
- Notebook/interactive code: develop in executable cells.
- Code-first SDK/framework: implement custom logic.
- Infrastructure/operations: configure and operate runtime infrastructure.
- API consumption: invoke a managed capability.
Scaling models
- Automatic, including scale-to-zero
- Automatic within configured bounds
- Optional/configured autoscaling
- Service-managed elasticity
- Fixed/provisioned capacity
- Job-scoped temporary capacity
Cost categories
- Compute-time: processing duration × resources.
- Provisioned capacity: allocated resources, potentially while idle.
- Data volume: bytes stored, processed, or transferred.
- Request/API/model usage: requests, predictions, tokens, or model units.
- Workflow/downstream usage: services invoked by an orchestrator or tool.
Interactive platform map
Open a branch to compare products and decision characteristics.
Compute / Application Runtime
Cloud Run
can use Agent Platform features
Compute Engine
GKE (Google Kubernetes Engine)
Build / CI/CD/CT (continuous integration / delivery / training)
Cloud Build
Artifact Registry
Data / Analytics
Pub/Sub
Dataflow
Managed Service for Apache Spark (Dataproc)
Document AI
BigQuery
Partitioned tables
BigQuery ML
Logistic regression
labs: predict yes/no outcomes
Linear regression
Gemini Enterprise Agent Platform
Models
Model Garden
Gemini models
multimodal
Context caching
Gemini model customization / tuning
Supervised fine-tuning
Preference tuning
produces a tuned Gemini model
Train ML models
Agent Platform AutoML
Agent Platform Serverless Training
training job types
CustomTrainingJob
training data
supported ML frameworks
TensorFlow (TF)
PyTorch
model artifacts
MLOps / Orchestration
Agent Platform ML Metadata
Agent Platform Experiments
Agent Platform TensorBoard
Agent Platform Pipelines
TensorFlow Extended (TFX)
TensorFlow Data Validation (TFDV)
example ML lifecycle
Cloud Composer (Managed Apache Airflow)
Development Environments / Notebooks
Colab Enterprise
Agent Platform Workbench
Deploy / Serve Models
Model Registry
Agent Platform Inference
Online inference endpoint
Batch inference job
Build agents
Agent Studio
ADK
Managed Agents API
Run agents
Agent Runtime
Data / Features
Agent Platform Feature Store
course lab DataFrame workflow
Grounding / Retrieval
Agent Search
Agent Platform Vector Search
Agent Retrieval
RAG
Govern / secure
Agent Identity
Agent Gateway
Model Armor
Evaluate / monitor
Gen AI Evals
evaluation methods
AutoSxS (Automatic Side-by-Side)
ROUGE
BLEU
Model Monitoring
Implementation approach map
These are common starting points, not exclusive interfaces. A production workflow often combines several approaches.
| Implementation approach | Typical starting points | What the learner or engineer primarily does |
|---|---|---|
| Visual/no-code | Agent Studio, AutoML, Model Garden | Select, configure, test, or compare through a graphical interface. |
| Low-code/configuration-first | Cloud Build, Artifact Registry, Pub/Sub, Dataflow templates, Managed Service for Apache Spark, Document AI processors, managed endpoints, Agent Runtime, Model Monitoring | Configure managed resources, templates, jobs, or deployment settings. |
| SQL/declarative | BigQuery, BigQuery ML, Feature Store data preparation | Express data preparation, training, evaluation, or prediction through SQL. |
| Notebook/interactive code | Colab Enterprise, Agent Platform Workbench | Explore data and develop code incrementally in executable notebooks. |
| Code-first SDK/framework | Cloud Build steps, Model Garden code examples, TensorFlow, PyTorch, KFP / TFX pipelines, ADK, Apache Beam, Serverless Training, Gemini SDKs, custom RAG, Gen AI Evals | Implement custom application, build, pipeline, training, agent, retrieval, or evaluation logic. |
| Infrastructure/operations | Cloud Run, Compute Engine, GKE, customizable Workbench environments | Package, deploy, network, scale, and operate runtime infrastructure. |
| API consumption | Artifact Registry, Gemini models, Document AI, Pub/Sub, inference endpoints, Agent Runtime, Feature Store, ML Metadata | Send requests to an existing managed capability and consume its response. |
Common ML problem and model types
Some entries below describe a problem type while others describe a model family that can solve one or more problem types.
| Problem or model | What it does | Typical output | Example |
|---|---|---|---|
| Binary classification | Chooses between two classes. | Yes/no or 0/1 | Will a customer buy or not? |
| Multiclass classification | Chooses among three or more classes. | One category | Cat, dog, or bird |
| Logistic regression | Common model for classification. | Probability or class | Spam versus not spam |
| Linear regression | Predicts a numeric value. | Number | Taxi fare or sales amount |
| k-means clustering | Groups similar examples without labels. | Cluster or group | Customer segmentation |
| DNN classifier or regressor | Uses a deep neural network for classification or regression. | Class or number | More complex nonlinear problems |
| XGBoost | Uses boosted decision trees for classification or regression. | Class or number | Tabular machine learning |
| ARIMA+ | Performs time-series forecasting. | Future numeric values | Future sales |
| Matrix factorization | Learns relationships for recommendations. | Ranked recommendations | Products or movies a user may like |
| Anomaly detection | Identifies unusual examples or behavior. | Normal or anomalous | Fraud or abnormal behavior |
Google Cloud AI service decision guide
Use this as a starting point, then validate regional availability, security requirements, expected scale, and the current pricing model before implementation. Cost guidance is intentionally qualitative because rates change.
| Need | Preferred starting point | Why it fits | Main trade-off | Main cost driver |
|---|---|---|---|---|
| Stateless web app, API, or agent service | Cloud Run | Serverless containers with minimal infrastructure administration | Less runtime and networking control than GKE or VMs | Allocated CPU/memory, instance time, and requests (compute-time + request/API/model usage) |
| Kubernetes or complex multi-service system | GKE | Container orchestration and deployment-topology control | More operational complexity | Cluster and workload compute (provisioned capacity + compute-time) |
| Direct OS, VM, driver, or hardware control | Compute Engine | Maximum infrastructure customization | Greatest administration burden and idle-capacity risk | Provisioned VM, accelerator, disk, and network resources (provisioned capacity + data volume) |
| Automate reproducible builds and tests | Cloud Build | Managed containerized build steps and source-triggered automation | Requires build configuration and does not replace the runtime | Build duration, worker machine, storage, and transfer (compute-time + data volume) |
| Store versioned container images and packages | Artifact Registry | Central handoff between software builds and deployment targets | Stores artifacts but does not build or run them | Artifact storage, transfer, and optional scanning (data volume + request/API/model usage) |
| Decouple event producers from consumers | Pub/Sub | Scalable asynchronous messaging | Moves messages but does not perform substantial transformations | Message throughput, retention, and transfer (data volume) |
| Transform batch or streaming data at scale | Dataflow | Managed Apache Beam execution and autoscaling workers | Requires pipeline design and operational monitoring | Worker compute, shuffle, streaming, and data movement (compute-time + data volume) |
| Run existing Spark or Hadoop workloads on a managed cluster | Managed Service for Apache Spark (Dataproc) | Managed cluster creation, Spark job submission, and worker resizing | More cluster management than Dataflow | Master/worker VMs, disks, and cluster runtime (provisioned capacity + compute-time + data volume) |
| Extract structured data from forms, invoices, IDs, or other documents | Document AI | Managed OCR, classification, splitting, parsing, and entity extraction | Processor configuration and output quality still require validation | Pages processed and processor type (data volume + request/API/model usage) |
| Analyze and prepare warehouse data with SQL | BigQuery | Serverless analytical warehouse close to structured data | Not designed as a low-latency operational database | Storage and query/slot consumption (data volume + compute-time) |
| Train a supported model directly over BigQuery data | BigQuery ML | SQL training, evaluation, and prediction without moving data | Smaller modeling surface than custom code | BigQuery processing and any remote-model usage (compute-time + request/API/model usage) |
| Build a custom model with minimal ML code | Agent Platform AutoML | Managed model selection and tuning | Less algorithm and architecture control | Training compute and prediction resources (compute-time + request/API/model usage) |
| Run custom training code without managing servers | Agent Platform Serverless Training | Managed CPU/GPU/TPU training jobs | More engineering work than AutoML | Job duration and selected compute/accelerators (compute-time) |
| Compare parameters, metrics, and artifacts across runs | Agent Platform Experiments | Organizes evidence needed to select a configuration | Tracks runs but does not execute training or pipelines | Associated training, pipeline, storage, and TensorBoard resources (workflow/downstream usage) |
| Visualize and compare training metrics over time | Agent Platform TensorBoard | Managed experiment dashboards that can be shared with a team | Visualizes logged metrics but does not execute training or deployment | TensorBoard plus associated training resources (workflow/downstream usage) |
| Trace datasets, executions, models, and downstream artifacts | Agent Platform ML Metadata | Maintains a queryable lineage graph across the ML lifecycle | Records metadata and relationships; it does not execute workflows or store artifact contents | Associated pipeline, training, and artifact-storage services (workflow/downstream usage) |
| Automate a repeatable ML lifecycle | Agent Platform Pipelines | Connects preparation, training, evaluation, registration, and deployment | Additional workflow design and component maintenance | Pipeline execution plus every invoked service (workflow/downstream usage) |
| Collaborative notebook with minimal setup | Colab Enterprise | Managed collaboration and low environment-management burden | Less environment control than Workbench | Notebook runtime and selected compute (compute-time + data volume) |
| Customizable Jupyter environment | Agent Platform Workbench | VM-level environment and dependency control | Provisioned environment requires more management | VM, accelerator, disk, and idle runtime (provisioned capacity + data volume) |
| Immediate predictions | Online inference endpoint | Managed low-latency prediction API | Available serving capacity can create idle cost | Provisioned serving resources and traffic (provisioned capacity + request/API/model usage) |
| High-volume predictions that can wait | Batch inference job | No continuously available endpoint required | Results are asynchronous | Temporary prediction compute and data processing (compute-time + data volume) |
| Low-code agent or prompt application | Agent Studio | Faster visual configuration and testing | Less code-level customization | Model, tool, and deployed runtime usage (request/API/model usage + workflow/downstream usage) |
| Code-first custom agent | ADK | Greater control over tools, orchestration, and application logic | More development and testing responsibility | Model, tool, and runtime usage (workflow/downstream usage) |
| Deploy an agent with minimal runtime administration | Agent Runtime | Managed agent execution integrated with Agent Platform | Less infrastructure control than Cloud Run or GKE | Runtime, session, model, and tool usage (compute-time + request/API/model usage) |
| Ground responses in private or current knowledge | RAG / retrieval | Retrieves relevant enterprise context before model generation | Adds ingestion, retrieval-quality, latency, and evaluation work | Embedding, indexing, retrieval, storage, and model inference (data volume + request/API/model usage) |
| Reusable offline and low-latency online features | Agent Platform Feature Store | Shared definitions and consistent feature serving | Additional resources beyond direct BigQuery access | BigQuery plus online Bigtable serving (data volume + provisioned capacity) |
Product-by-stage MLOps and LLMOps matrix
Products are columns; lifecycle stages are rows.
The panels form one end-to-end lifecycle. A product appears only at stages where it has a direct or supporting role.
A. Data preparation and feature pipeline
| Pipeline stage | Cloud Storage | Pub/Sub | BigQuery | Dataflow | Apache Beam | Dataproc / Spark | Document AI | TFDV | Feature Store |
|---|---|---|---|---|---|---|---|---|---|
| 1. Acquire / ingest | Land files, images, CSVs, audio, and documents. | Receive and buffer live events. | Use existing analytical tables as source data. | Read batch or streaming sources. | Provides source connectors in the pipeline code. | Load files for cluster processing or HDFS. | Accept PDFs and images for processing. | — | — |
| 2. Store / organize | Durable object storage. | Retains messages temporarily; not the durable system of record. | Store structured analytical data. | Write processed output to storage. | Defines source and sink I/O. | HDFS is used inside the course Spark workflow. | Send extracted structure to downstream storage. | — | Registry plus offline/online feature access. |
| 3. Transform / preprocess | Read raw objects and write processed objects. | Supplies streaming events. | Transform warehouse data with SQL. | Execute managed batch or streaming transformations. | Define one portable batch/stream processing model. | Execute distributed Spark/Hadoop workloads. | OCR, classify, split, and extract document data. | Receives prepared examples for validation. | Prepare feature values before registration or ingestion. |
| 4. Validate data / schema | Supply CSV or TFRecord inputs. | — | Query and inspect source data. | Apply validation logic within a processing pipeline. | Express custom validation transforms. | Perform distributed quality checks when implemented in Spark. | Validate extraction quality before downstream use. | StatisticsGen → SchemaGen → ExampleValidator. | Protect feature quality and training/serving consistency. |
| 5. Engineer / serve features | Source or export feature data. | Can transport real-time feature events. | Prepare and retain offline feature values. | Build scalable feature transformations. | Define reusable transformation code. | Distributed feature preparation for Spark workloads. | — | Validate feature distributions and anomalies. | Register definitions; serve historical or low-latency values. |
| 6. Prepare retrieval knowledge | Store enterprise documents and objects. | Feed newly arriving content into an ingestion workflow. | Supply structured enterprise knowledge. | Clean and enrich content before indexing. | Define custom ingestion processing. | Optional distributed preparation at large scale. | Convert documents into structured content. | — | — |
B. Development, model selection, and training
| Pipeline stage | Workbench | Colab Enterprise | TensorFlow | PyTorch | BigQuery ML | AutoML | Serverless Training | Model Garden | Gemini | Agent Studio |
|---|---|---|---|---|---|---|---|---|---|---|
| 7. Explore / prototype | Customizable Jupyter/VM environment. | Managed collaborative notebooks. | Prototype TensorFlow/Keras models. | Prototype PyTorch models. | Train and test supported models with SQL. | Configure a managed training experiment. | Prepare custom training code and job settings. | Discover and test available models. | Test multimodal prompts and responses. | Visually prototype prompts and agents. |
| 8. Select an approach / model | Compare custom-code options. | Compare notebook experiments. | Choose for TensorFlow-centered custom ML. | Choose for PyTorch-centered custom ML. | Choose when supported ML can remain beside BigQuery data. | Choose managed model search with less algorithm control. | Choose when custom code and managed infrastructure are both required. | Select a foundation or open model. | Choose Gemini for multimodal foundation-model capability. | Choose for visual/low-code agent development. |
| 9. Train a classical/custom model | Develop and submit training work. | Develop experiments collaboratively. | Build/train through TensorFlow or Keras. | Build/train a PyTorch model. | CREATE MODEL and train with SQL. | Managed training, model selection, and tuning. | Run custom CPU/GPU/TPU training jobs. | Supplies candidate models rather than executing custom training. | — | — |
| 10. Prompt / tune a foundation model | Develop SDK-based prompt or tuning code. | Explore prompts in notebooks. | — | — | — | — | Can support custom training code when applicable. | Choose the base model. | Prompt design, prompt engineering, or model tuning. | Adjust prompts/system settings and test behavior visually. |
| 11. Produce a candidate | Hand custom work to training/pipelines. | Hand prototype code to production tooling. | Produce TensorFlow model artifacts. | Produce PyTorch model artifacts. | Produce a BigQuery ML model. | Produce a managed trained model. | Write artifacts to Cloud Storage; optionally import to Model Registry. | Provides the selected base model. | Produce a prompted or tuned model behavior. | Produce an agent/prompt configuration. |
C. MLOps orchestration, evidence, and release
| Pipeline stage | Agent Platform Pipelines | KFP | TFX | Experiments | TensorBoard | ML Metadata | Model Registry | Cloud Build | Artifact Registry |
|---|---|---|---|---|---|---|---|---|---|
| 12. Orchestrate the workflow | Execute the component DAG serverlessly. | Define a general containerized ML pipeline. | Define a TensorFlow-centered structured-data pipeline. | Group associated pipeline and experiment runs. | Display logged training metrics. | Record component executions and artifacts. | Receive the accepted model at the registration step. | Build pipeline/application containers when required. | Supply versioned container images or packages. |
| 13. Track runs / lineage | Produces runs and artifacts to track. | Provides the component sequence and parameters. | Provides TFX artifacts and validation outputs. | Compare parameters, metrics, artifacts, and runs. | Visualize and share time-series training metrics. | Link datasets, executions, contexts, models, and lineage. | Associate registered versions with lifecycle evidence. | Produces traceable build output. | Versions deployable software artifacts. |
| 14. Validate / approve release | Place evaluation and approval gates in the DAG. | Connect evaluation components. | Use TFDV and evaluation-related pipeline steps. | Compare the candidate with prior runs/baselines. | Inspect convergence and metric behavior. | Trace evaluation evidence back to data and execution. | Hold the approved model version. | Run repeatable tests/build checks. | Hold the approved container/package. |
| 15. Register / package / release | Automate registration and deployment handoffs. | Define the release component sequence. | Define TensorFlow-centered release steps. | Preserve the winning run. | — | Preserve artifact and execution lineage. | Version deployable models. | Build, test, and package code. | Store/version container images and packages. |
| 16. Retrain / repeat | Re-run the parameterized lifecycle. | Reuse the portable pipeline definition. | Re-run TensorFlow data/training components. | Compare the new run with the deployed baseline. | Compare new training curves. | Extend lineage with new data, runs, and models. | Register the accepted replacement version. | Rebuild changed code. | Store the new artifact version. |
D. LLMOps, deployment, inference, and operations
| Pipeline stage | Agent Search | RAG | ADK | Gen AI Evals | Model Armor | Model Monitoring | Online inference | Batch inference | Agent Runtime | Cloud Run / GKE / Compute Engine |
|---|---|---|---|---|---|---|---|---|---|---|
| 17. Ground a foundation model | Managed indexing and semantic retrieval. | Retrieve context before generation. | Connect retrieval as an agent capability. | Evaluate relevance and grounded-answer quality. | Screen resulting prompts/responses when required. | — | Model receives the retrieved context. | — | Agent uses retrieval during a session. | Can host a custom retrieval/application layer. |
| 18. Build an application / agent | Supply managed search capability. | Supply private/current context. | Implement code-first agent tools and orchestration. | Test model/agent behavior during development. | Add prompt/response protection. | — | Invoke deployed models. | — | Managed target for an agent application. | Host custom application, API, agent, or tool runtime. |
| 19. Evaluate the complete system | Evaluate retrieval results. | Evaluate retrieval plus generation together. | Exercise tools and orchestration paths. | AutoSxS, ROUGE, BLEU, rubrics, and model/agent response evaluation. | Test safety filtering and false-positive trade-offs. | Production monitoring is separate from pre-release evaluation. | Test online response quality/latency. | Evaluate asynchronous outputs at scale. | Test sessions, tools, and runtime behavior. | Test the complete deployed application path. |
| 20. Secure / govern | Control searchable enterprise sources. | Restrict retrieved knowledge to authorized data. | Use approved tools and access paths. | Preserve quality/safety evidence. | Inspect prompts/responses for injection, leakage, or harmful content. | Retain operational evidence and alerts. | Secure endpoint access. | Protect batch input/output locations. | Apply agent identity, authorization, and auditing. | Apply runtime IAM, networking, and infrastructure controls. |
| 21. Deploy / serve | Provide retrieval to the deployed system. | Assemble retrieved context at request time. | Supplies the packaged agent logic. | — | Screen live interactions. | Observe deployed behavior. | Low-latency prediction API through an endpoint. | Asynchronous high-volume prediction without an always-on endpoint. | Managed agent execution. | Cloud Run: serverless containers GKE: Kubernetes Compute Engine: self-managed VMs. |
| 22. Monitor / improve | Refresh indexes as knowledge changes. | Diagnose retrieval failures and refresh content. | Revise agent tools/orchestration. | Compare new behavior against prior quality. | Tune policies based on observed failures/false positives. | Detect serving-data and model-behavior changes; alert operators. | Monitor latency, traffic, errors, and prediction behavior. | Inspect job completion and output quality. | Monitor sessions, tools, and runtime use. | Scale, diagnose, roll back, or redeploy the application runtime. |
Module practice quizzes
Work through one question at a time. Submit an answer to reveal the rationale, then continue.