PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #140
You have been asked to productionize a proof-of-concept ML model built using Keras. The model was trained in a Jupyter notebook on a data scientist's local machine. The notebook contains a cell that…
The correct answer is B. Write the code as a TensorFlow Extended (TFX) pipeline orchestrated with Vertex AI Pipelines. The reason for this choice is that TFX and Vertex AI Pipelines provide a scalable and cost- effective solution for productionizing machine learning models. TFX is an end-to-end ML platform for building scalable and repeatable ML workflows, while Vertex AI Pipelines provides a…
Question
Options
- AMove the Jupyter notebook to a Notebooks instance on the largest N2 machine type, and
- BWrite the code as a TensorFlow Extended (TFX) pipeline orchestrated with Vertex AI Pipelines.
- CRewrite the steps in the Jupyter notebook as an Apache Spark job, and schedule the execution of
- DExtract the steps contained in the Jupyter notebook as Python scripts, wrap each script in an
How the community answered
(42 responses)- A5% (2)
- B64% (27)
- C10% (4)
- D21% (9)
Explanation
The reason for this choice is that TFX and Vertex AI Pipelines provide a scalable and cost- effective solution for productionizing machine learning models. TFX is an end-to-end ML platform for building scalable and repeatable ML workflows, while Vertex AI Pipelines provides a fully managed service for orchestrating ML workflows at scale. By using TFX and Vertex AI Pipelines, you can automate the execution of the steps contained in the Jupyter notebook, and schedule the pipeline for weekly retraining. This approach also takes advantage of managed services, which helps to minimize cost.
Topics
Community Discussion
No community discussion yet for this question.