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 ML platform team operates a production loan-advisory system on Gemini Enterprise Agent Platform with two deployed models:
You must configure quantitative thresholds for training-serving skew, semantic attribution drift, and response quality degradation, while routing real-time alerts to Pub/Sub for automated remediation.
Which monitoring and alerting configuration should you implement?
ML.VALIDATE_DATA_SKEW and ML.VALIDATE_DATA_DRIFT with JENSEN_SHANNON_DIVERGENCE thresholds across all columns including the target label and raw embedding arrays; configure scheduled query email notifications to forward alerts to a webhook that publishes to Pub/Sub, and use Model Armor to compute quantitative coherence and grounding scores for the Gemini assistant.This approach relies on BigQuery ML SQL validation functions (ML.VALIDATE_DATA_SKEW and ML.VALIDATE_DATA_DRIFT) via scheduled queries to check logged serving tables, paired with Model Armor for the generative AI endpoint.
ML.VALIDATE_DATA_DRIFT skips schema validation and omits features from anomaly reports on type mismatches when using JENSEN_SHANNON_DIVERGENCE. Additionally, the predicted target column is absent or unobserved at serving time and should be excluded from skew analysis.ML.VALIDATE_DATA_SKEW and ML.VALIDATE_DATA_DRIFT are batch BigQuery SQL functions billed via on-demand compute.The workload consisted solely of a BigQuery ML tabular model evaluated in batch SQL without multi-dimensional embeddings, and the requirement only called for email alerts and prompt/response security filtering.
explanationConfig, applying raw L-infinity distance across unaggregated embedding dimensions; configure emailAlertConfig as the sole notification mechanism, and schedule weekly offline AutoSxS pairwise evaluations in Agent Platform Pipelines to trigger real-time operational Pub/Sub alerts for response quality degradation.This setup relies on default Model Monitoring thresholds without Explainable AI, uses email-only alerting for endpoint drift, and schedules weekly offline Automatic Side-by-Side (AutoSxS) comparisons for the generative AI model.
explanationConfig (enableFeatureAttributes: true), multi-dimensional embeddings cannot be reduced via additive attribution summation into univariate numeric scores.emailAlertConfig alone delivers email messages to human inboxes and does not emit structured events to Cloud Monitoring notification channels or Pub/Sub for automated remediation.You only needed human email notifications for basic tabular drift and were comparing two candidate LLM versions offline prior to deployment.
monitorInterval (900 seconds) and driftThresholds only, omitting the training dataset so skew baselines are inferred automatically from the first 1,000 requests; set enableMonitoringPipelineLogs: true to emit model_monitoring anomaly events to Cloud Logging for Pub/Sub export, and configure Vertex AI Feature Store FeatureMonitor jobs to track L-infinity distance on the Gemini assistant's generated responses.This configuration attempts to run a sub-hourly Model Monitoring job using driftThresholds and pipeline debugging logs, while applying Vertex AI Feature Store FeatureMonitor jobs to monitor unstructured generative AI outputs.
monitorInterval parameter in modelDeploymentMonitoringScheduleConfig has a minimum granularity of 1 hour (3,600 seconds), making a 15-minute (900-second) schedule unsupported.enableMonitoringPipelineLogs: true writes job execution status and debugging logs to the model_monitoring log, not feature drift or skew alerts. Anomaly notifications require enableLogging: true in ModelMonitoringAlertConfig (writing to model_monitoring_anomaly) and configured notificationChannels.FeatureMonitor jobs compare historical BigQuery feature snapshots using Jensen-Shannon divergence or L-infinity distance; they cannot evaluate semantic response quality degradation (such as coherence or grounding) in LLM text.targetField.FeatureMonitor monitors offline feature group tables, not live LLM outputs.You were monitoring a BigQuery-backed Feature Store group at hourly or daily intervals and only needed debugging logs for pipeline execution health.
modelDeploymentMonitoringJobs job on the tabular endpoint configuring trainingPredictionSkewDetectionConfig with the training dataset URI and targetField, predictionDriftDetectionConfig with custom driftThresholds, and enableFeatureAttributes: true to reduce multi-dimensional embeddings into univariate attribution scores; set enableLogging: true and attach a Cloud Monitoring Pub/Sub resource in notificationChannels, while using the Gen AI evaluation service with Cloud Monitoring alert policies targeting Pub/Sub for response quality metrics.This configuration combines Gemini Enterprise Agent Platform Model Monitoring with Vertex Explainable AI for structured and embedding-based drift detection, Cloud Logging and Cloud Monitoring for event routing, and the Gen AI evaluation service for continuous generative output assessment.
trainingPredictionSkewDetectionConfig with a baseline trainingDataset URI and excluding the predicted targetField enables statistical comparison against training data, while predictionDriftDetectionConfig tracks temporal shifts in production traffic against custom driftThresholds (overriding the 0.3 default).enableFeatureAttributes: true captures feature attributions, which are always numeric and additive. Summing attribution values across all dimensions of an embedding vector reduces a high-dimensional semantic input to a single scalar value, enabling standard univariate statistical distance checks.enableLogging: true in ModelMonitoringAlertConfig writes anomaly payloads to the model_monitoring_anomaly log (which can be routed via log sinks), while specifying a Pub/Sub channel in notificationChannels delivers immediate operational alerts for both tabular drift and Gen AI evaluation policies.Unlike batch SQL checks or offline pairwise evaluations, this integrated architecture provides continuous, unified observability across both tabular/embedding models and generative AI endpoints with native real-time operational alerting.
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