Exam Professional Machine Learning Engineer topic 1 question 280 discussion - ExamTopics


AI Summary Hide AI Generated Summary

Problem

A Kubeflow pipeline for an end-to-end PyTorch-based MLOps workflow takes over an hour to complete. The pipeline involves reading data from BigQuery, processing data, feature engineering, model training, model evaluation, and deploying the model to Cloud Storage. The goal is to reduce pipeline execution time and cost.

Options

  • A. Comment out parts of the pipeline not being updated.
  • B. Enable caching in all pipeline steps.
  • C. Delegate feature engineering to BigQuery and remove it from the pipeline.
  • D. Add a GPU to the model training step.

Solution

The suggested answer is B. Enabling caching in all steps of the Kubeflow pipeline is the most efficient solution for speeding up execution and reducing cost without compromising the integrity of the process.

Sign in to unlock more AI features Sign in with Google

You are using Kubeflow Pipelines to develop an end-to-end PyTorch-based MLOps pipeline. The pipeline reads data from BigQuery, processes the data, conducts feature engineering, model training, model evaluation, and deploys the model as a binary file to Cloud Storage. You are writing code for several different versions of the feature engineering and model training steps, and running each new version in Vertex AI Pipelines. Each pipeline run is taking over an hour to complete. You want to speed up the pipeline execution to reduce your development time, and you want to avoid additional costs. What should you do?

  • A. Comment out the part of the pipeline that you are not currently updating.
  • B. Enable caching in all the steps of the Kubeflow pipeline.
  • C. Delegate feature engineering to BigQuery and remove it from the pipeline.
  • D. Add a GPU to the model training step.
Show Suggested Answer Hide Answer
Suggested Answer: B πŸ—³οΈ

Was this article displayed correctly? Not happy with what you see?

Tabs Reminder: Tabs piling up in your browser? Set a reminder for them, close them and get notified at the right time.

Try our Chrome extension today!


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device