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 operates a production credit-risk tabular classification model on a Vertex AI Endpoint with Vertex Explainable AI enabled. Compliance mandates equality of odds across demographic cohorts (age_bucket, gender). Recently, shifting feature interactions caused a rising False Negative Rate for an underrepresented cohort while global AUC-ROC remained stable.
You need an automated continuous bias monitoring and remediation pipeline to:
Which architecture should you implement?
serving_predict) and setting enableLogging=true in ModelMonitoringAlertConfig to route model_monitoring_anomaly logs to Pub/Sub. Schedule BigQuery fairness queries joining predictions with ground truth to compute per-cohort TPR and FPR, triggering a Vertex AI Pipelines workflow via Pub/Sub that applies remediation (such as cohort re-weighting, data augmentation, adversarial debiasing, or per-cohort threshold calibration) and validates the challenger model on demographic slices before promotion in Model Registry.This solution establishes an automated, closed-loop continuous bias monitoring and remediation pipeline built on Vertex AI Model Monitoring, Vertex Explainable AI, BigQuery, Cloud Logging / Pub/Sub, and Vertex AI Pipelines.
enableFeatureAttributes: true) alongside skew and drift detection catches shifts in feature interactions even when marginal feature distributions appear unchanged. Logging sampled prediction requests to the BigQuery serving_predict table enables scheduled SQL jobs to join predictions with ground-truth outcomes and compute True Positive Rate (TPR) and False Positive Rate (FPR) per cohort to enforce equality of odds.enableLogging=true in ModelMonitoringAlertConfig emits structured model_monitoring_anomaly logs that route via Cloud Logging sinks to Pub/Sub, automatically triggering a Vertex AI Pipelines retraining and mitigation workflow whenever statistical distance or fairness thresholds are breached.Unlike ad-hoc Workbench notebooks, destructive undersampling, or unlabeled BigQuery input-only checks, this architecture combines real-time production attribution observability with ground-truth cohort fairness auditing and automated gated retraining, directly satisfying both operational reliability and responsible AI compliance.
ML.VALIDATE_DATA_DRIFT on raw serving tables without joining ground-truth labels. When JENSEN_SHANNON_DIVERGENCE exceeds the threshold, drop all demographic columns from the training dataset and retrain the model using a single uniform decision threshold.This option relies on BigQuery ML's ML.VALIDATE_DATA_DRIFT SQL function to compare consecutive serving snapshots using Jensen-Shannon divergence, then attempts to eliminate bias via fairness through unawareness (removing demographic columns) and a uniform decision threshold.
ML.VALIDATE_DATA_DRIFT only checks raw input feature distributions between two serving tables; it does not track Explainable AI feature attribution shifts on a Vertex AI Endpoint.ML.VALIDATE_DATA_DRIFT evaluates numerical and categorical input drift via JENSEN_SHANNON_DIVERGENCE or L_INFTY, but does not perform schema validation or track prediction/attribution outputs.You were monitoring a standalone BigQuery ML batch scoring pipeline solely for sudden shifts in unlabeled input feature distributions over consecutive time windows.
Rather than blindly stripping demographic metadata from governance pipelines, teams should retain protected attributes in evaluation datasets to audit fairness indicators, remove strongly correlated proxy variables where appropriate, and apply targeted post-processing threshold calibration or adversarial debiasing.
This configuration pairs basic training-serving skew detection on aggregate input features with aggregate endpoint accuracy alerts, attempting to fix detected disparities through majority-group undersampling and unconditional model promotion.
0.3), without isolating feature attribution drift.An experimental workflow only needed a quick check for severe global input distribution shifts on a non-regulated dataset where subgroup fairness was not a compliance requirement.
Instead of discarding records from over-represented cohorts, responsible ML pipelines preserve data coverage by upweighting underrepresented positive cases, applying data augmentation, or adding features that capture unbiased underlying risk factors, followed by strict sliced validation before model registration.
This design uses a scheduled Vertex AI Workbench notebook to scrape container logs and run the What-If Tool for counterfactual analysis, followed by manual tuning of a single global threshold to equalize precision.
A data scientist was conducting an exploratory, human-in-the-loop post-mortem in a staging environment to visually inspect how counterfactual feature edits affect individual predictions.
Production systems require automated Model Monitoring backed by BigQuery request-response logging and Cloud Logging triggers into Vertex AI Pipelines, ensuring every candidate model passes automated fairness checks before promotion.
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