PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #213
You work for a startup that has multiple data science workloads. Your compute infrastructure is currently on-premises, and the data science workloads are native to PySpark. Your team plans to migrate
The correct answer is D. Create a Vertex AI Workbench notebook with instance type n2-standard-4.. For a minimal cost and effort proof of concept to migrate an on-premises PySpark data science job to Google Cloud, the first step should be to create a Vertex AI Workbench notebook.
Question
Options
- ACreate a n2-standard-4 VM instance and install Java, Scala, and Apache Spark dependencies on
- BCreate a Google Kubernetes Engine cluster with a basic node pool configuration, install Java,
- CCreate a Standard (1 master, 3 workers) Dataproc cluster, and run a Vertex AI Workbench
- DCreate a Vertex AI Workbench notebook with instance type n2-standard-4.
How the community answered
(36 responses)- A11% (4)
- B3% (1)
- C3% (1)
- D83% (30)
Why each option
For a minimal cost and effort proof of concept to migrate an on-premises PySpark data science job to Google Cloud, the first step should be to create a Vertex AI Workbench notebook.
Manually creating a VM instance and installing all Spark dependencies is significantly higher effort and generally not recommended as a first step for a managed cloud environment PoC when managed services are available.
Setting up Spark on a Google Kubernetes Engine (GKE) cluster is a complex task requiring deep Kubernetes knowledge and is not suitable for a 'minimal effort' initial proof of concept.
While creating a Dataproc cluster and a Vertex AI Workbench notebook is an excellent solution for running PySpark at scale, it is a higher initial cost and effort than simply starting with a Workbench notebook for a proof of concept of a single job.
For a proof of concept requiring minimal cost and effort to migrate a PySpark job, creating a Vertex AI Workbench notebook is the most straightforward first step. Workbench provides a managed Jupyter environment that can quickly be used to test PySpark code, potentially running in a local standalone Spark mode on the notebook instance, before scaling out to a full Dataproc cluster.
Concept tested: PySpark migration PoC (minimal effort)
Source: https://cloud.google.com/vertex-ai/docs/workbench/overview
Topics
Community Discussion
No community discussion yet for this question.