Scaling online model serving

16 practice questions under this official exam objective (PMLE), each with the answer key, an option-by-option explanation and instant feedback.

Questions under this objective

16 total · page 1 of 1
PMLE A-grade

Serving Predictions via Firebase Cloud Messaging for Scale

Learn how to serve ML predictions to millions of users using Firebase Cloud Messaging (FCM) instead of Pub/Sub to avoid quota limits and ensure person

19 comments
PMLE A-grade

Pre-provision Feature Store nodes before daily batch ingestion

This PMLE question asks how to keep Vertex AI Feature Store online serving fast while a daily batch ingestion runs, and the answer is to pre-provision

16 comments
PMLE A-grade

Low-latency streaming predictions with automatic model reload

For near-real-time recommendations from Pub/Sub, RunInference inside a Dataflow job with WatchFilePattern minimizes prediction latency and requires no

11 comments
PMLE A-grade

Vertex AI Endpoint Autoscaling Stalls Under Memory-Heavy Load

Vertex AI endpoints autoscale on average CPU utilization, so memory-intensive preprocessing can keep CPU below the 60% default target and prevent scal

8 comments
PMLE A-grade

Deploying Gemma on GKE for Low Latency

Deploying the Gemma LLM on a GKE cluster using Model Garden provides full control over the underlying infrastructure and minimizes inference time thro

8 comments
PMLE A-grade

Canary Deployment with Vertex AI Endpoint Traffic Splitting

Testing a new model in production with minimal complexity is achieved by deploying it to an existing Vertex AI endpoint and using native traffic split

5 comments
PMLE A-grade

Deploy WhisperX with post-processing inside one container

This PMLE question tests where custom post-processing must live when serving WhisperX in near real-time. The answer is C: bundle model, scripts and de

3 comments
PMLE A-grade

Evaluating Generative AI Summaries with AutoSxS in Agent Platform

Learn how to automate the evaluation of generative AI summaries using Automatic Side-by-Side (AutoSxS) jobs in Google Cloud's Agent Platform for scala

2 comments
PMLE A-grade

Low-Latency Feature Serving for Real-Time Ad Ranking

This PMLE question tests low-latency online feature serving for a real-time ad-ranking model. The correct answer is B: use Agent Platform Feature Stor

2 comments
PMLE A-grade

Real-Time Fraud Detection with AutoML Tabular and Managed Endpoints

This PMLE scenario tests real-time fraud detection on BigQuery tabular data under a 200 ms latency target and high daily volume. The correct design is

2 comments
PMLE A-grade

Handling Traffic Spikes with Vertex AI Endpoint Scaling

Learn how to prevent 503 errors during flash sales by configuring Vertex AI endpoint scaling with an appropriate min_replica_count to handle sudden tr

2 comments
PMLE A-grade

Scaling Deep Learning Endpoints Using GPU Metrics

To resolve high latency in a GPU-accelerated Agent Platform endpoint, update autoscaling to monitor GPU duty cycle instead of CPU utilization, ensurin

2 comments
PMLE A-grade

Agent Platform Traffic Splitting for A/B Testing

Learn how to implement transparent A/B testing for Gemini Enterprise Agent Platform models using native traffic splitting features without client-side

2 comments
PMLE A-grade

Context Caching for Gemini Chatbots with Dynamic Documents

This page explains why creating an explicit context cache and regenerating it upon file changes is the most cost-effective way to serve high-volume qu

2 comments
PMLE A-grade

Optimizing ML Pipeline Architecture for Batch Predictions and Periodic Training

Learn why separating training and prediction into distinct pipelines in Agent Platform reduces costs while meeting daily prediction and monthly retrai

2 comments
PMLE A-grade

Scaling Pandas Workflows with Ray on Agent Platform

Learn how to scale Python pandas workflows on Google Cloud by using Ray on Agent Platform to handle large datasets without extensive code rewrites or

2 comments