PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #197
You have been tasked with deploying prototype code to production. The feature engineering code is in PySpark and runs on Dataproc Serverless. The model training is executed by using a Vertex AI custom
The correct answer is C. Use the Kubeflow pipelines SDK to write code that specifies two components:. To create a scalable and maintainable end-to-end production process for disconnected PySpark feature engineering and Vertex AI model training, use Kubeflow Pipelines to define and orchestrate these steps as interconnected components.
Question
Options
- ACreate a Vertex AI Workbench notebook. Use the notebook to submit the Dataproc Serverless
- BCreate a Vertex AI Workbench notebook. Initiate an Apache Spark context in the notebook and
- CUse the Kubeflow pipelines SDK to write code that specifies two components:
- DUse the Kubeflow pipelines SDK to write code that specifies two components
How the community answered
(28 responses)- A4% (1)
- B7% (2)
- C75% (21)
- D14% (4)
Why each option
To create a scalable and maintainable end-to-end production process for disconnected PySpark feature engineering and Vertex AI model training, use Kubeflow Pipelines to define and orchestrate these steps as interconnected components.
Using a Vertex AI Workbench notebook for orchestration would be a manual or semi-manual process, lacking the scalability, maintainability, and automatic connection tracking required for a production process.
Using a Vertex AI Workbench notebook for orchestration would be a manual or semi-manual process, lacking the scalability, maintainability, and automatic connection tracking required for a production process.
The Kubeflow Pipelines SDK is designed for building, deploying, and managing scalable, end-to-end ML workflows. Defining each step (Dataproc Serverless and Vertex AI custom training) as a component allows Kubeflow Pipelines to orchestrate execution, track dependencies, and provide lineage, fulfilling all requirements for a production process.
This option is largely identical to C, which describes the correct approach for orchestrating ML pipelines.
Concept tested: MLOps orchestration with Kubeflow Pipelines
Source: https://cloud.google.com/vertex-ai/docs/pipelines/introduction
Topics
Community Discussion
No community discussion yet for this question.