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.
An enterprise risk team is building an AutoML classification pipeline on Gemini Enterprise Agent Platform to predict rare loan defaults (0.8% positive rate) from a 2.5-TB BigQuery table with 350 columns. The dataset contains multiple historical records per applicant across 12 monthly snapshots (report_month), and production requirements include:
Which pipeline configuration and deployment strategy should the team implement?
AutoMLTabularTrainingJob with optimization_prediction_type="classification", optimization_objective="minimize-log-loss", and a Stratified data split on the target column. Deploy the resulting ensemble model to an Agent Platform endpoint with model co-hosting enabled, and monitor example-based explanations via nearest-neighbor search to detect concept drift.AutoMLTabularTrainingJob is the standard Gemini Enterprise Agent Platform SDK class for training managed tabular classification and regression models using automated feature engineering and neural architecture search. A Stratified data split randomly assigns rows to training, validation, and test sets while preserving the overall distribution of the target column.
report_month—will be scattered across training, validation, and test splits. This causes severe entity leakage and temporal leakage, inflating offline metrics while failing to generalize to brand-new applicants in future months.minimize-log-loss prioritizes calibrated class probabilities (and is required for multi-class classification), whereas maximize-au-prc is specifically engineered for binary classification on heavily imbalanced datasets to optimize performance on the minority positive class.AutoMLTabularTrainingJob does not expose pipeline-level run_distillation controls to shrink the final ensemble, and model co-hosting shares a single VM across multiple deployed models to save cost—increasing contention rather than minimizing p99 latency.AutoMLTabularTrainingJob abstracts away individual pipeline steps, preventing granular hardware overrides or distillation.minimize-log-loss) were the primary objective, and cost optimization via model co-hosting outweighed strict p99 latency constraints.automl_tabular_utils.get_automl_tabular_pipeline_and_parameters) with prediction_type="classification", optimization_objective="maximize-au-prc", and run_distillation=True, using a Manual data split column that isolates each applicant into a single split and places the most recent report_month snapshots into validation and test splits. Deploy the distilled model to a dedicated private Agent Platform endpoint and track feature-based explanations over time to detect concept drift.Tabular Workflow for End-to-End AutoML is a managed pipeline template built on Gemini Enterprise Agent Platform Pipelines that exposes granular control over every modeling stage—including data splitting, architecture search, cross-validation, ensembling, and model distillation—while scaling to multi-terabyte BigQuery tables with up to 1,000 columns.
report_month snapshots reside in validation and test splits). Because report_month has only 12 distinct values, a Manual split also avoids empty-split failures and guarantees enough 0.8% minority-class rows in the test split.optimization_objective="maximize-au-prc" (AUC PR) focuses hyperparameter search and ensembling on maximizing precision and recall for the less common positive class.run_distillation=True trains a compact distilled model that replicates the full bagged ensemble at substantially lower inference latency and serving cost. Deploying it to a dedicated private endpoint further minimizes network overhead.data_source_bigquery_table_path.Unlike the standard AutoML API or un-distilled ensemble workflows, Tabular Workflow for End-to-End AutoML with Manual splitting, maximize-au-prc, run_distillation=True, and dedicated private endpoints simultaneously solves multi-TB scale, entity/temporal leakage, extreme class imbalance, strict latency SLAs, and post-deployment drift monitoring.
optimization_objective="maximize-precision-at-recall", supply stage_1_tuning_result_artifact_uri to skip architecture search during the initial pipeline run, and use a Random (80/10/10) data split. Override cv_trainer_worker_pool_specs_override with n1-standard-8 machines to reduce inference latency, and deploy the model using a shadow deployment to measure concept drift.In Tabular Workflow for End-to-End AutoML, stage_1_tuning_result_artifact_uri lets a pipeline bypass automl-tabular-stage-1-tuner by reusing hyperparameter tuning artifacts (tuning_result_output) generated by an earlier pipeline run. Meanwhile, cv_trainer_worker_pool_specs_override customizes the Compute Engine machine types and node counts allocated to the cross-validation training workers.
stage_1_tuning_result_artifact_uri on a first-time model build because no prior automl-tabular-stage-1-tuner artifact exists for the dataset and target objective. Skipping architecture search prematurely prevents AutoML from discovering viable model topologies.report_month patterns across splits.cv_trainer_worker_pool_specs_override with n1-standard-8 VMs accelerates training speed during cross-validation, but has zero effect on the deployed model's size or real-time inference latency. Reducing serving latency requires run_distillation=True and an optimized endpoint configuration.maximize-precision-at-recall optimizes for a single fixed recall operating point rather than overall minority-class ranking (maximize-au-prc).stage_1_tuning_result_artifact_uri is designed for rapid retraining iterations after an initial architecture search has completed.tuning_result_output URI on an i.i.d. dataset, needed faster cross-validation execution, and only wanted to validate a release candidate in parallel before cutover.optimization_objective="maximize-au-roc", pass study_spec_parameters_override to restrict model_type to ["boosted_trees"], and configure a Chronological split (80/10/10) on report_month. Keep run_distillation=False to preserve ensemble accuracy, deploy to an Agent Platform endpoint, and monitor input schema skew to detect concept drift.In Tabular Workflow for End-to-End AutoML, a Chronological split divides rows by a designated timestamp column so earlier data forms the training set and recent data forms validation and test sets. The study_spec_parameters_override parameter restricts the automl-tabular-stage-1-tuner search space—for example, locking model_type to ["boosted_trees"] instead of evaluating both neural networks and boosted trees.
report_month has very few distinct values (only 12 monthly snapshots), a Chronological split can fail to allocate sufficient rows across splits, causing training to fail. Furthermore, chronological splitting alone does not guarantee that a single applicant's records stay isolated within one split, risking entity leakage when scoring brand-new applicants.run_distillation preserves the large K-fold cross-validated ensemble, resulting in higher memory footprint and inference latency that threatens the 50-ms p99 threshold.maximize-au-roc (the binary default) can mask poor precision on the 0.8% minority class compared to maximize-au-prc, while prematurely excluding neural networks (["nn"]) narrows architecture diversity before stage-1 tuning evaluates them.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