Question 234 of 506
Automating and orchestrating ML pipelineshardMultiple SelectObjective-mapped

Quick Answer

The answer is monitoring for data drift to trigger retraining, along with setting performance thresholds for model deployment and using Cloud Composer to orchestrate the pipeline schedule. Data drift detection is critical because it ensures retraining is initiated only when the underlying data distribution has shifted, preventing unnecessary compute costs and model staleness. Once retraining is triggered, Vertex AI Pipelines must evaluate the new model against predefined performance thresholds—such as accuracy or precision—and conditionally deploy it only if it meets or exceeds the current production model’s metrics, avoiding regressions. On the Google Professional Machine Learning Engineer exam, this scenario tests your understanding of MLOps lifecycle management, specifically how to combine Vertex AI’s evaluation capabilities with Cloud Composer’s DAG-based scheduling. A common trap is assuming retraining should run on a fixed calendar schedule rather than being event-driven by drift. Memory tip: “Drift triggers, thresholds gate, Composer orchestrates.”

PMLE Automating and orchestrating ML pipelines Practice Question

This PMLE practice question tests your understanding of automating and orchestrating ml pipelines. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which THREE should be considered when setting up an automated retraining pipeline using Vertex AI Pipelines and Cloud Composer? (Choose THREE.)

Question 1hardmulti select
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Setting performance thresholds for new models to decide deployment

Option A is correct because in an automated retraining pipeline, you must set performance thresholds (e.g., accuracy, precision, recall) for new models to decide whether to deploy them. Vertex AI Pipelines can evaluate model metrics against these thresholds and conditionally deploy only if the new model meets or exceeds the current production model's performance, preventing regressions.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Setting performance thresholds for new models to decide deployment

    Why this is correct

    Ensure new model is better than current.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Including hyperparameter tuning in every retraining run

    Why it's wrong here

    Tuning is not always necessary and can be costly.

  • Optimizing resource allocation to control costs

    Why this is correct

    Retraining pipelines can be expensive.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Frequency of code commits to the repository

    Why it's wrong here

    Code changes are for CI/CD, not retraining on new data.

  • Monitoring for data drift to trigger retraining

    Why this is correct

    Retrain when data distribution changes.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that hyperparameter tuning must be part of every retraining run, but in practice it is a separate, infrequent optimization step to avoid excessive compute costs and pipeline latency.

Detailed technical explanation

How to think about this question

Under the hood, Vertex AI Pipelines uses Kubeflow Pipelines SDK to define a DAG of steps, including model evaluation and conditional deployment. Cloud Composer (Apache Airflow) can orchestrate the pipeline by monitoring for data drift using Vertex AI Model Monitoring, which computes distribution statistics (e.g., Jensen-Shannon divergence) and triggers a retraining run when drift exceeds a threshold. Resource allocation optimization (Option C) is critical because Vertex AI Pipelines supports custom machine types and preemptible VMs to control costs during retraining jobs.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PMLE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PMLE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PMLE question test?

Automating and orchestrating ML pipelines — This question tests Automating and orchestrating ML pipelines — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Setting performance thresholds for new models to decide deployment — Option A is correct because in an automated retraining pipeline, you must set performance thresholds (e.g., accuracy, precision, recall) for new models to decide whether to deploy them. Vertex AI Pipelines can evaluate model metrics against these thresholds and conditionally deploy only if the new model meets or exceeds the current production model's performance, preventing regressions.

What should I do if I get this PMLE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

3 more ways this is tested on PMLE

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A data scientist wants to automate the retraining of a model when new data arrives in Cloud Storage. Which Google Cloud service is most appropriate for orchestrating this workflow?

easy
  • A.Cloud Run
  • B.Vertex AI Predictions
  • C.Cloud Scheduler
  • D.Cloud Composer
  • E.Cloud Functions

Why D: Cloud Composer (D) is the most appropriate service for orchestrating a retraining workflow because it is a fully managed workflow orchestration service built on Apache Airflow. It allows you to define a Directed Acyclic Graph (DAG) that triggers model retraining when new data arrives in Cloud Storage, handling dependencies, scheduling, and monitoring across multiple steps such as data validation, training, and deployment.

Variation 2. An MLOps team wants to automate the retraining of a model each time new data arrives in a BigQuery table. What is the most efficient Google Cloud service to orchestrate this pipeline?

easy
  • A.Cloud Composer with an Airflow DAG
  • B.Dataflow pipeline with a periodic trigger
  • C.Cloud Functions triggered by BigQuery events
  • D.Vertex AI Pipelines with a schedule trigger

Why D: Vertex AI Pipelines is purpose-built for orchestrating ML workflows, including model retraining. It integrates natively with BigQuery for data ingestion and supports schedule triggers to automate retraining upon new data arrival, making it the most efficient and managed option for this ML-specific task.

Variation 3. An ML team is designing an automated pipeline to retrain a recommendation model every day using new user interaction data stored in BigQuery. The pipeline must be cost-efficient, scalable, and require minimal manual intervention. Which two approaches should they consider?

medium
  • A.Deploy a custom Kubernetes cron job on GKE to run the training script directly.
  • B.Use Cloud Composer (Airflow) to schedule the pipeline with a DAG.
  • C.Use Cloud Scheduler to publish a Pub/Sub message daily, which triggers a Cloud Function that starts the Vertex AI Pipeline.
  • D.Use Dataflow to continuously read from BigQuery and trigger training when new data arrives.
  • E.Use Vertex AI Pipelines to define the workflow and preemptible VMs for training to reduce cost.

Why C: Option C is correct because Cloud Scheduler triggers a Pub/Sub message that invokes a Cloud Function, which starts a Vertex AI Pipeline. This serverless approach is cost-efficient (no idle compute), scales automatically, and requires minimal manual intervention. Option E is correct because Vertex AI Pipelines natively orchestrates ML workflows, and using preemptible VMs reduces training costs by up to 80% while maintaining scalability.

Keep practising

More PMLE practice questions

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PMLE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PMLE exam.