Study guide · Core notes

Professional Machine Learning Engineer Core Notes

The tasks in the June 1, 2026 exam guide: pick a low-code path, prepare data you can trust, train on hardware the code can use, serve the traffic you have, and monitor the failure you actually have.

Exam guide as of June 1, 2026Six sectionsReviewed November 8, 2026

How to read these notes: Start with the task, the labels, and where the data already lives. The platform name in this guide is Gemini Enterprise Agent Platform. Older console screens and documentation may still say Vertex AI. New to the exam? Start with the overview. Warehouses and analytical pipelines live on Professional Data Engineer.

Section 1: Choose the low-code path from the task

BigQuery ML trains a tabular model where the rows already are. Classification, regression, forecasting, and clustering are different targets. A churn label is classification. A numeric demand is regression or a forecast. Shoppers with no label are a clustering problem. A weekly series with a date column is a forecast, and ARIMA_PLUS is the BigQuery ML time-series model for that shape. An LLM that invents next month's units is a language model, not that forecast. Feature engineering stays in the training statement, including a TRANSFORM clause, so the same SQL is available when you predict. Prediction that writes a table is a BigQuery prediction, not an always-on GPU.

Agent Platform AutoML is the managed search when you have labels and you do not want to write the training loop. Labeled photos in Cloud Storage are an AutoML image job. A standard classifier on a BigQuery table can stay in BigQuery ML. Tabular Workflows are the managed tabular search when you want that pipeline. None of them accept an arbitrary custom loss. That loss is custom training.

Pretrained APIs beat a new model when the task is the API. Document AI extracts invoice and form fields. Vision API annotates an image you already have, including labels and OCR. It does not return a line-item schema. Translate API translates. Imagen generates or edits images. Veo generates video. Gemini follows instructions across text and images. Evaluate a Model Garden candidate on your sample before you tune it. The June 2026 guide includes fine-tuning Gemini from rows that already live in BigQuery. Tune for a stable format or style after prompting falls short. Retrieve or ground a policy that changes every week. Fine-tuning will not track it.

Gemini cost, latency, and availability are serving choices. A smaller model that passes the rubric beats a larger one that misses the latency budget. Cache a repeated prefix instead of sending it on every call. Batch the overnight draft. Keep the live call online. Use a regional endpoint and a tested failover when the call sits on the checkout path. A shared key in a mobile app is not an availability design.

Section 2: Prepare data and record the experiment

Match the tool to the scale. A sample that fits in memory can be explored with in-memory Python. A petabyte of tabular history that is already in BigQuery should be transformed with SQL. A continuous, windowed pipeline belongs in Dataflow. An existing Spark codebase should stay Spark rather than be rewritten cell by cell. Large images and audio belong in Cloud Storage, with a table of URIs and labels in BigQuery. Stuffing the objects into a notebook is not a store.

Current Feature Store uses feature data prepared in BigQuery and serves it online with low latency. Keep one versioned transform that writes the curated feature table. Training retrieves point-in-time-correct values from that data, while online inference reads the corresponding online value through Feature Store. Feature Store does not make two independently written formulas equivalent: a SQL view and a client function can still disagree on nulls. Build each feature as of the decision time. A join to tomorrow's value leaks the future, and a strong score on that join is not accuracy. Sensitive columns the policy forbids in a model or a prompt have to be dropped or de-identified before training and before the prompt. Access control on the warehouse does not follow a string you paste into a model. Sensitive Data Protection finds and masks. A regex catches one known shape and misses the variant with spaces.

Colab Enterprise is the shared notebook with a runtime template and IAM. Workbench is the notebook VM whose GPU shape and network you configure. Shut it down when idle. Use the runtime service account. A downloaded key in the first cell is a secret. Do not grant the whole company edit access to a notebook that mounts a sensitive table. A Model Garden prototype in a notebook is a sample test. It is not the production path. Promote the winner into a pipeline.

Experiments record parameters and metrics so two learning rates can be compared. ML Metadata records which dataset version produced which model. A screenshot of a loss curve is neither. Kubeflow Pipelines on GKE fit a cluster you already run. Agent Platform Pipelines are the managed path when you do not. For an imbalanced fraud label, read precision, recall, or PR-AUC on the fraud class. Accuracy stays high when the model never flags fraud. For an open-ended reply, score a rubric. LLM-as-a-judge can scale that rubric and still needs a human slice, because the judge can prefer a style that resembles itself.

Section 3: Scale the prototype into a model

Pick the model type from the data. ARIMA for one seasonal series. A DNN when the table is large, the relationship is nonlinear, and nobody needs a coefficient. An LLM when the product is a draft or an answer. A boosted tree when a stakeholder needs feature importance and the accuracy gap is small. A linear model stays when it meets both the accuracy bar and an explanation rule a deep net has not satisfied. Feature attributions on Agent Platform explain a prediction. They are not a linear coefficient, and a generated paragraph that contradicts them is a second explanation.

Organize training data before you choose a machine. Objects in Cloud Storage. Labels and tabular features in BigQuery, as a versioned snapshot the job reads. A live query that changes during the epoch is not a reproducible run. The job's identity needs the object permission. A BigQuery grant does not read the bucket. Custom training runs PyTorch, sklearn, or JAX code you own. AutoML and Tabular Workflows run the search they can express. BigQuery ML runs the SQL model. Kubeflow on GKE runs the pipeline on that cluster.

Out of memory on a model that used to fit is often the batch. Reduce it, or checkpoint activations. Out of memory on every replica, after you only split the batch, means the weights do not fit. That is model parallelism or a larger accelerator. Data parallelism copies the whole model onto each device. More replicas do not shrink the copy. A tiny batch across eight GPUs can spend the step on gradient sync. Use fewer devices or a larger batch. NaN loss in the first minute is scale and learning rate, not a bigger GPU. A job that never uses the GPU was probably never given one.

Hyperparameter search optimizes a validation split. The test set stays out until the final report. Pick the epoch with the best validation score, not the lowest training loss after the model has started memorizing. A random split of a time series puts the future in the test set. Evaluate on a later window. Fine-tune a foundation model when prompting and retrieval still miss a stable style and you have enough clean examples. Forty sloppy examples and a fact set that changes daily are a prompting and grounding problem. Prefer a GPU for a PyTorch repository with custom ops. Prefer a TPU for a large JAX or TensorFlow job written for it. A cheaper TPU quota does not run an unsupported op. Choose batch prediction at design time when the consumer is a monthly report. Do not build a low-latency endpoint for a file.

Section 4: Serve the model the traffic needs

Batch prediction scores a table, including a BigQuery ML prediction that writes rows. Online inference answers a request that is waiting, such as checkout. Sending the nightly table to the online endpoint spends the endpoint's capacity. Leaving checkout on a nightly batch answers after the shopper is gone. A prebuilt container serves a standard artifact, such as XGBoost in the form that container expects. A custom container carries the tokenizer or system library the prebuilt container does not have. Preprocessing and postprocessing are versioned with the model. A client that hashes a city with a different salt is a new feature. A logit-to-reason mapping copied into every client will drift.

Model Registry stores versions and an alias. Point production at the last good version that still matches the feature contract. An older version that expects a feature you no longer write is not a rollback target. A canary sends a small share and watches errors. An A/B test compares a business metric. Finish neither one because HTTP 200 looks fine, and do not judge a rare metric after an hour. Change the model and the preprocessor separately, or you cannot tell which one failed. Scale the resource that is saturated. More CPU replicas do not speed up a GPU-bound model. A minimum replica count avoids a cold start that breaks the latency budget. Scale to zero is the wrong saving when that budget is real. Include latency in the tuning objective. A leaderboard win that doubles latency can miss the requirement.

A private endpoint keeps the model-serving network path off the public internet. A public endpoint with IAM is still a public path, and it is the right path when partners have no VPC. Opening the public endpoint for a week changes the decision you already made. Network privacy does not sanitize feature lookups or logs: a private endpoint can still leak raw account numbers into logging. Keep those identifiers out of logs, and use an appropriate private path for every sensitive dependency. Online inference reads feature values served from the curated BigQuery feature data used for point-in-time training retrieval. Cloud Run fits a small container next to an application that is already there. GKE fits a GPU node pool your cluster team already owns. Edge fits a device that must answer while the network is down. A cloud fix can ship this week. An edge fleet that cannot be updated for a month cannot.

Section 5: Automate the path and gate the promotion

Validate the extract before training. A missing column should stop the run. A schema check does not freeze a cleaner. Ship one versioned transform that training and serving both call. Two green pipelines that lowercase differently will skew. Pin each registered model to the transform version it was trained with. Floating both paths to a new tokenizer breaks every older model the same night.

Agent Platform Pipelines are the managed prepare, train, evaluate, and register sequence. Managed Service for Apache Airflow is the right trigger when the company already lands files in Airflow. Let Airflow start the ML pipeline. Do not clone the landing job. Ray on Agent Platform runs a distributed Python training job that a shell script on one VM cannot retry. The pipeline still has to evaluate the artifact Ray writes and register the winner. A file in a bucket is not a version.

Cloud Build produces and tests the image, including a start that imports the runtime libraries. Unit tests of string helpers do not find a missing system library. The pipeline consumes that image. A hand-picked tag, or a local image a person pushes, is a second path. Retrain on a cadence only when labels arrive on that cadence. A nightly job that repeats last week's labels is motion. A drift alarm that fires on a season you already expect is not a reason to deploy daily. A broken sensor that sends zeros is a data fix, not a retrain. Continuous training without a gate deploys whatever the latest run produced. The gate compares the candidate with the champion on a metric you trust, including the slice a policy names. Overall accuracy can hide that slice. A holiday week needs a holiday evaluation, or the non-holiday champion stays for ordinary traffic.

Section 6: Name the incident before you retrain

Model Armor and safety filters screen prompts and responses for jailbreaks, unsafe content, and data leaving the context. A regex or a Sensitive Data Protection detector blocks a known secret shape. One does not do the other job. A larger model is not a filter. If a filter blocks a category the product is allowed to discuss and misses a jailbreak, retune the category and add a screen for the jailbreak. Do not turn every filter off. Retrieved context from another customer is an isolation problem. Logging the raw prompt keeps the secret you meant to stop.

Feature attributions from Agent Platform Inference show which features pushed a tabular score. They do not prove fairness. A global accuracy chart does not either. Monitor the slice the requirement names. Generative answers need a rubric on a production sample: groundedness, the policy rule, latency, and cost. Token cost can rise while the error rate stays flat. A judge model scales the rubric only while a fresh human sample still agrees with it.

Training-serving skew, data drift, and concept drift are different charts. A checkout model standardizes order amount with the training mean of 50 and a standard deviation of 10. The value 70 was two standard deviations above the mean, so training saw 2.0. The endpoint sends 70. Launch-day accuracy collapses, and the live amounts still match the training distribution. That is skew. The transform changed. Roll it back. Data drift would be the live distribution moving over time, for example a new country the model never saw. Concept drift would be the same inputs mapping to a different outcome after labels arrive. Attribution drift, such as a model that suddenly relies on a default, is often a clue that the feature pipeline broke. Retraining on the default learns the bug. Expected month-end movement can be a documented exception. A recall drop on the policy slice is the page.

Worked calculations for ML engineering decisions

The exam guide does not directly assess coding, but short arithmetic helps you test whether a design meets its constraint. State the unit, calculate, round only where the resource is indivisible, and then connect the number to a decision.

Six short calculations used in the practice bank, one for each guide section.
DecisionWorked calculationEngineering meaning
Prompt context(12,500 − 2,000) × 1,000 = 10,500,000 input tokens avoided.Retrieve or cache repeated context, then recheck answer quality.
Fraud precision80 / (80 + 20) = 0.80, or 80%.Of the payments the model flagged, four in five were actually fraud. Recall answers a different question.
Epoch time2,400,000 / 12,000 = 200 seconds.Use aggregate measured throughput once; do not multiply it by the worker count again.
Serving replicasceil((70 × 1.25) / 18) = 5 GPU replicas.Headroom is part of required capacity, and replica counts round up.
Recall trigger90% − 76% = 14 percentage points.A 10-point retraining trigger fires, but the candidate still passes an evaluation gate before deployment.
Token growth(3,000 − 2,000) × 100,000 = 100,000,000 additional input tokens per day.Token-volume and cost monitoring can page while QPS and error rate remain flat.

Decision exercises

These original exercises add explicit assumptions so you can practice the tradeoff. They are not official exam questions. Write the recommendation and the option you reject before you open the reasoning.

1. The invoice processor already works

A Document AI processor extracts supplier line items within the agreed error rate. A teammate wants to fine-tune Gemini on the same forms because a foundation model is newer. The only unsolved text is a free-text complaint in the margin.

Reveal reasoning

Keep Document AI on the schema it already meets. Send the complaint, not the whole page, to Gemini. Fine-tuning a foundation model to replace a measured processor adds a model you then have to monitor, and it does not improve the line items.

Verification evidence: Compare line-item error on a held-out invoice batch before and after any change. The complaint reply is a separate sample with its own rubric.

Changed assumption: If the processor misses a field the business now requires, and a measured Gemini or custom extractor closes that gap, replace the field. Do not replace the fields that already pass.

2. Next month's units came from a chat prompt

Weekly sales for each store sit in BigQuery. An application asks Gemini for a plausible unit count and writes it into the forecast table. The number is often round and sometimes below zero.

Reveal reasoning

Use a BigQuery ML forecast on the time column, evaluated on a later window rather than a random split. An LLM is not a time-series model. Negative units are a clue that nothing in the prompt enforced the series.

Verification evidence: Backtest the forecast on the last eight weeks and compare the error with the chat numbers on the same weeks. Confirm the forecast cannot emit a negative if the business forbids one.

Changed assumption: If the product is a written explanation of a forecast that a time-series model already produced, Gemini can draft that sentence. It still does not own the number.

3. Tomorrow's spend predicted yesterday's fraud

A notebook joins each labeled transaction to the customer's spend over the following day. Fraud recall looks excellent. The online feature will be spend up to the current minute. The team wants to ship the notebook model.

Reveal reasoning

The join leaked the future. Rebuild the feature as of the decision time in the curated BigQuery feature table. Retrieve point-in-time values for training, and serve the corresponding online value through Feature Store. Then recompute recall. The published number is not evidence.

Verification evidence: Train on the point-in-time feature and score a later week. The online request for a fixture customer must return the same value the training row stored.

Changed assumption: If the decision truly happens the next day, after that spend exists, the feature is legal. Rename the decision time so the join is no longer in the future.

4. The GPU notebook has a key in the first cell

A Workbench VM has the GPU the prototype needs, a public IP, no idle shutdown, and a downloaded service-account key stored in the notebook. Two people use it. Real customer text is about to be mounted.

Reveal reasoning

Keep the GPU shape. Remove the key and use the runtime service account. Put the VM on a private network and enable idle shutdown. Restrict who can open the notebook before the customer text arrives. Colab Enterprise is the alternative if they do not need that VM.

Verification evidence: Confirm the API calls succeed with the attached service account and fail when that account is detached. Confirm the VM stops after the idle window and has no public address.

Changed assumption: If the data is a public sample and the VM is temporary, the network rule can be looser. The downloaded key is still a secret. Do not leave it in the cell.

5. Eight GPUs, and every one runs out of memory

A custom model does not fit on one GPU. The team adds seven more and splits the batch. Each device still dies during the first step. A teammate suggests more epochs and a higher learning rate.

Reveal reasoning

Data parallelism copies the whole model onto each GPU. If one copy does not fit, eight copies do not fit. Use model parallelism or a GPU with enough memory for the weights. Epochs and the learning rate do not create memory.

Verification evidence: Show the per-device memory after the model is partitioned, before the first large batch. A successful step that used to die at initialization is the signal.

Changed assumption: If a smaller batch lets a single GPU finish, the model did fit and the first diagnosis was wrong. Then data parallelism is available for throughput.

6. The canary changed the model and the tokenizer

Version 5 of a text model and a new tokenizer shipped together to five percent of traffic. Errors rose. Version 4 used the old tokenizer and was the last clean canary. Version 3 expects a feature the pipeline no longer writes.

Reveal reasoning

Move the alias back to version 4, which matches the previous tokenizer and the current features. Version 3 is not a safe rollback. Next time, canary the model and the preprocessor separately so the failure has one cause.

Verification evidence: After the alias returns to version 4, the error rate on the canary slice should return to the pre-change baseline. A fixture string should tokenize the way version 4 was trained.

Changed assumption: If version 4's tokenizer was already broken and version 3's missing feature has been restored, version 3 can be the rollback. Check the feature contract before you move the alias.

7. The nightly retrain has no new labels

Labels arrive on Friday. A pipeline retrains every night and deploys because the run is green. Monday through Thursday it trains on the same labels. Last Friday's bad file was deployed before anyone compared it with the champion.

Reveal reasoning

Retrain when Friday's labels exist, not nightly. Validate the file before training. Deploy only if the candidate beats the champion on the agreed metric. Cloud Build's image is the only image allowed to enter that pipeline.

Verification evidence: Show a week of pipeline runs that do not train on Monday through Thursday, and a Friday candidate that stays unregistered when its validation score loses.

Changed assumption: If labels actually arrive every night, the cadence can stay nightly. The gate and the data check still stay.

8. The drift chart was a scaler

Model Monitoring flags the order-amount feature on launch day. The live amounts match the training sample. Attributions now lean on a default. A patch that morning changed the serving scaler. The proposed fix is to retrain so the model accepts the new scale.

Reveal reasoning

This is training-serving skew. Roll the scaler back so 70 becomes 2.0 again, the value training saw. Retraining on the raw number teaches the bug. Data drift and concept drift are the wrong names while the inputs still match training.

Verification evidence: Log the served value beside the training transform for a fixture amount. They match after the rollback, and the attribution moves off the default.

Changed assumption: If the live amounts really did move, and the scaler is the one from training, then you have drift. Decide whether the new range needs labels and a retrain. Do not skip that check by assuming every alert is a transform bug.

Verify the behavior, not only the product name

Technical boundaries reviewed November 8, 2026. Documentation URLs below may still say Vertex AI. The June 1, 2026 exam guide calls that platform Gemini Enterprise Agent Platform. Use the guide's names on the exam, and use these references to check current behavior. The decision exercises are independent fictional examples.

Frequently asked questions

Which exam guide do these notes follow?

The English Professional Machine Learning Engineer exam guide dated June 1, 2026, reviewed from the certification page on November 8, 2026. Use the linked guide for exam scope and current service documentation for implementation behavior. The guide calls the platform Gemini Enterprise Agent Platform.

When do you choose BigQuery ML instead of AutoML?

Choose BigQuery ML when the training rows already live in BigQuery and the model can be expressed there. Choose Agent Platform AutoML when you want a managed model search, including labeled images or text that are not a SQL table. Custom training is for code, a loss, or an architecture those products do not offer.

How do training-serving skew and data drift differ?

Training-serving skew means production features differ from the features the model was trained on, often because a transform changed. Data drift means the live input distribution moved over time. Concept drift means the relationship to the label changed, which you can see only after labels arrive. A retrain does not fix a scaler bug.

Continue the Professional Machine Learning Engineer study path

Recall the decisions, then practice them.

Professional Machine Learning Engineer hub →
Available

Overview

Exam format, section weights, and a study plan.

Available · You are here

Core Notes

Reference notes for low-code AI, training, serving, pipelines, and monitoring.

Available

Practice Exams

200 original questions with explanations and a score report by section.

AWS Machine Learning Engineer

A beta-focused path for AWS Machine Learning Engineer - Associate (MLA-C02); general-availability dates are not yet confirmed.

Professional Cloud Architect

A learning path for the current Google Cloud Professional Cloud Architect exam guide, including case studies version 6.1.

Apply concepts in the Scenario Workshop →