Topic 1 Question 129
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 performs data validation and a cell that performs model analysis. You need to orchestrate the steps contained in the notebook and automate the execution of these steps for weekly retraining. You expect much more training data in the future. You want your solution to take advantage of managed services while minimizing cost. What should you do?
Move the Jupyter notebook to a Notebooks instance on the largest N2 machine type, and schedule the execution of the steps in the Notebooks instance using Cloud Scheduler.
Write the code as a TensorFlow Extended (TFX) pipeline orchestrated with Vertex AI Pipelines. Use standard TFX components for data validation and model analysis, and use Vertex AI Pipelines for model retraining.
Rewrite the steps in the Jupyter notebook as an Apache Spark job, and schedule the execution of the job on ephemeral Dataproc clusters using Cloud Scheduler.
Extract the steps contained in the Jupyter notebook as Python scripts, wrap each script in an Apache Airflow BashOperator, and run the resulting directed acyclic graph (DAG) in Cloud Composer.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: B
I believe it B. Write the code as a TensorFlow Extended (TFX) pipeline orchestrated with Vertex AI Pipelines. Use standard TFX components for data validation and model analysis, and use Vertex AI Pipelines for model retraining. Because :
- Solution A is not scalable and will be expensive to run. It also does not take advantage of managed services.
Solution C is more scalable than option A, but it is still not as scalable as using TFX and Vertex AI Pipelines. It also does not take advantage of managed services.
- Solution D is the most flexible, but it is also the most complex. It requires more knowledge of Apache Airflow and is more difficult to manage.
Overall, the best solution to productionize the proof-of-concept ML model is to use TFX and Vertex AI Pipelines. This solution is scalable, reliable, and easy to manage. It also takes advantage of managed services, which can help to reduce costs.
👍 3Antmal2023/04/17 - 正解だと思う選択肢: B
B (not sure)
👍 2hiromi2022/12/21 - 正解だと思う選択肢: B
All the others look really wrong, so B.
👍 2ares812023/01/03
シャッフルモード