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 organization is productionizing a multimodal fraud-detection pipeline that ingests petabyte-scale BigQuery transactions and millions of small claim images (<50 MB) from Cloud Storage. Your architecture must satisfy these requirements:
TFRecords.CustomJob), component retries, and step-level resumption.Which architecture should you implement?
CustomJob via gcloud CLI on a fixed weekly schedule.This approach uses Managed Service for Apache Airflow (Cloud Composer) as a general-purpose workflow orchestrator, Managed Service for Apache Spark for distributed ETL, Cloud Storage FUSE to mount a bucket as a local filesystem, and the gcloud CLI to submit a Vertex AI Training CustomJob on a weekly schedule.
CustomJob via CLI on a static cron schedule bypasses Vertex ML Metadata tracking, component execution caching, and event-driven triggers for new data or drift alerts.TFRecords for TensorFlow training.This pattern would fit an existing enterprise Airflow environment orchestrating Spark ETL for large-file (>50 MB) tabular workloads where data splitting precedes feature scaling and strict ML artifact lineage is unnecessary.
scikit-learn feature scaling inside the training script, and trigger pipeline executions from Cloud Workflows whenever Cloud Build pushes a new container image.This design uses the Kubeflow Pipelines (KFP) SDK on Vertex AI Pipelines, relies on prebuilt single-container Pandas CSV components for data manipulation, performs feature scaling with scikit-learn inside the training code, and connects Cloud Build to Cloud Workflows to trigger runs on code changes.
TFRecords output: Processing in CSV format without TFDV omits automated schema-skew detection, and running scikit-learn scaling inside the training script fails to produce portable TFRecords or embedded TensorFlow Transform preprocessing artifacts.scikit-learn preprocessing from the exported model graph increases the risk of inconsistent transformations at serving time.This approach would work for rapid prototyping on small (<1 GB) tabular CSV datasets where code updates via CI/CD are the only execution trigger.
MLTransform to ingest BigQuery CDC events and Cloud Storage images into BigQuery tables, train a BigQuery ML model on a Cloud Scheduler schedule, and rely on Cloud Storage object versioning with Knowledge Catalog tags to manage step resumption and end-to-end training lineage.This option uses Dataflow ML (MLTransform) for streaming preprocessing into BigQuery, executes SQL-based training with BigQuery ML on a schedule, and uses Cloud Storage object versioning alongside Knowledge Catalog metadata tags for governance.
CustomJob) for custom multi-GPU deep learning architectures processing TFRecords of unstructured claim images alongside tabular transactions.MLTransform strength: Dataflow's MLTransform is well suited for scalable Apache Beam preprocessing (such as scaling, vocabulary generation, or computing embeddings), but it still requires an orchestrator like Vertex AI Pipelines to coordinate training, validation, and registration.This design would be appropriate for structured-only tabular workloads where SQL-native BigQuery ML models suffice and custom distributed training, TFRecords, and step-level pipeline resumption are not required.
In production MLOps, Knowledge Catalog complements—rather than replaces—Vertex ML Metadata by cataloging raw and curated datasets while Vertex ML Metadata tracks execution graphs, hyperparameters, and model lineage.
TFT), TensorFlow Data Validation (TFDV) for schema skew gating, and Vertex AI Training (CustomJob) for distributed training, with execution caching, retries, Vertex ML Metadata tracking, and event-driven triggers via Cloud Logging, Pub/Sub, Cloud Run functions, and Cloud Scheduler.This architecture combines TensorFlow Extended (TFX)—an end-to-end production ML framework—with Vertex AI Pipelines (a serverless orchestrator supporting TFX and Kubeflow Pipelines) and Dataflow as the distributed Apache Beam execution backend.
TFT) splits the data first, computes normalization/vocabulary statistics exclusively on the training split to prevent data leakage, writes TFRecords, and embeds the transformation graph inside the exported SavedModel.CustomJob) for distributed multi-GPU execution. Built-in execution caching and component retries handle transient faults, while Vertex ML Metadata stores intermediate artifact pointers so failed pipelines resume from the last failed step without re-running completed ingestion.PipelineJob via the SDK.TFT preprocessing graphs into the model eliminates training-serving skew.Unlike ad-hoc Spark/Airflow scripts, in-memory Pandas components, or SQL-only BigQuery ML, TFX on Vertex AI Pipelines with Dataflow provides native TFRecord generation, strict schema gating, leak-free TFT transformations, and automated Vertex ML Metadata lineage in one cohesive serverless stack.
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