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 engineering team operates a fraud-detection model on a Vertex AI endpoint. A Cloud Build CI/CD pipeline compiles Kubeflow Pipelines (KFP) workflows into versioned templates in Artifact Registry whenever code merges to main.
You must implement an automated Continuous Training (CT) workflow that meets these requirements:
Which architecture should you implement?
Managed Service for Apache Airflow (Cloud Composer) is a managed workflow orchestration service built on Apache Airflow. It runs persistent Google Kubernetes Engine (GKE) clusters and metadata databases to execute Directed Acyclic Graphs (DAGs) across multi-step ETL and operational workflows.
The organization already standardized on Cloud Composer for complex, cross-system enterprise ETL and heavy non-ML orchestration across hybrid or multi-cloud environments where Airflow DAGs coordinate broader data engineering dependencies.
Cloud Scheduler is a fully managed enterprise cron job service that invokes HTTP endpoints, Pub/Sub topics, or Vertex AI Pipelines runs on a deterministic, time-based cadence (such as daily, weekly, or monthly).
New labeled training data arrived systematically on a predictable daily or weekly batch schedule, retraining costs were predictable, and the pipeline still included automated data validation and model evaluation components gating production endpoint promotion.
cloudbuild.yaml pipeline—rebuilding all component Docker images, running unit tests, recompiling the KFP definition, and launching a training job—whenever skew, drift, or new data events occur.Cloud Build is Google Cloud's serverless CI/CD execution engine. Driven by a cloudbuild.yaml configuration file, it pulls source code from Git repositories, runs unit and integration tests, builds immutable Docker container images, compiles KFP pipeline definitions, and pushes versioned artifacts to Artifact Registry.
$COMMIT_SHA and $BRANCH_NAME.docker build steps for unchanged Python dependencies consumes build minutes unnecessarily.The team wanted to deploy a new pipeline implementation—such as updated feature engineering code, a new model architecture, or modified hyperparameters—after merging changes into the main branch, rather than executing an existing CT pipeline on new data.
PipelineJob referencing the compiled template in Artifact Registry, with automated data and model validation steps gating endpoint deployment.An event-driven Continuous Training (CT) architecture decouples code delivery (CI/CD) from automated model retraining (CT). By routing operational signals from Cloud Logging through Pub/Sub to a serverless Cloud Function (or Cloud Run function), organizations can immediately invoke a pre-compiled Vertex AI Pipelines workflow whenever real-world data shifts or fresh labeled datasets arrive.
PipelineJob) to run the already-compiled KFP template stored in Artifact Registry. Because it references the existing versioned template and prebuilt component containers, no Cloud Build recompilation or container rebuilds occur.Unlike Cloud Scheduler, which only supports fixed time-based cadences, or Cloud Build, which is built for rebuilding artifacts on source code changes, combining Cloud Logging, Pub/Sub, and Cloud Functions delivers low-latency, cost-efficient, event-driven CT directly against versioned Artifact Registry templates.
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