nerdexam
Google

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.

Submitted by sofia.br· Apr 18, 2026ML pipeline operationalization

Question

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 their data science workloads to Google Cloud. You need to build a proof of concept to migrate one data science job to Google Cloud. You want to propose a migration process that requires minimal cost and effort. What should you do first?

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)
  • A
    11% (4)
  • B
    3% (1)
  • C
    3% (1)
  • D
    83% (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.

ACreate a n2-standard-4 VM instance and install Java, Scala, and Apache Spark dependencies on

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.

BCreate a Google Kubernetes Engine cluster with a basic node pool configuration, install Java,

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.

CCreate a Standard (1 master, 3 workers) Dataproc cluster, and run a Vertex AI Workbench

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.

DCreate a Vertex AI Workbench notebook with instance type n2-standard-4.Correct

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

#GCP Compute#PySpark Migration#Vertex AI Workbench#Proof of Concept

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice