Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Machine Learning Engineer practice bank has an additional 974 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your team trained a TensorFlow-based deep neural network (DNN_CLASSIFIER) in BigQuery ML using historical transaction data and time-sensitive customer feature tables. Currently, a daily batch pipeline scores customers in-database using ML.PREDICT and ML.ENTITY_FEATURES_AT_TIME.
You now need to migrate to a real-time checkout fraud-scoring architecture that meets these requirements:
Which serving and deployment architecture should you implement?
ML.PREDICT against the remote model.A BigQuery ML remote model links a Vertex AI Endpoint (or foundation model API) to BigQuery via a Cloud resource connection so analysts can invoke external models using SQL (ML.PREDICT) directly inside BigQuery queries.
MODEL_REGISTRY = 'VERTEX_AI' without exporting it, deploy it to a standard public endpoint, and query BigQuery with ML.ENTITY_FEATURES_AT_TIME at request time to supply features.Setting MODEL_REGISTRY = 'VERTEX_AI' in a CREATE MODEL statement registers a BigQuery ML model directly into Vertex AI Model Registry without exporting artifacts to Cloud Storage, allowing deployment for online prediction without manually specifying a serving container.
ML.ENTITY_FEATURES_AT_TIME against BigQuery at checkout time executes an analytical SQL query on every transaction, violating strict real-time latency requirements that call for Vertex AI Feature Store online serving.Exporting a trained BigQuery ML model to Cloud Storage in standard TensorFlow SavedModel format decouples model execution from BigQuery's batch SQL engine, enabling deployment onto managed Vertex AI Endpoints with custom or performance-optimized serving containers.
SavedModel with the optimized TensorFlow runtime container (tf_opt) accelerates graph execution, while deploying to a private endpoint provides a low-latency, secure VPC connection that outperforms public endpoints.us-docker.pkg.dev/vertex-ai-restricted/prediction/tf_opt-* runtime and configure optimization flags.This architecture pairs Vertex AI Feature Store online serving with the optimized TensorFlow runtime on a private endpoint, eliminating both BigQuery query startup overhead and public internet routing delays.
ML.PREDICT queries with ML.ENTITY_FEATURES_AT_TIME for each incoming transaction.ML.PREDICT scoring doesRunning ML.PREDICT alongside ML.ENTITY_FEATURES_AT_TIME executes machine learning inference directly inside BigQuery's distributed SQL query engine while enforcing point-in-time correctness over historical feature tables.
ML.PREDICT excels when scoring thousands to billions of rows already stored in BigQuery tables.ML.ENTITY_FEATURES_AT_TIME prevents data leakage in offline batch pipelines by scanning timestamped feature histories.Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated