Choosing the cheapest Workbench notebook for BigQuery EDA
Short answer
B Use a managed Vertex AI Workbench notebook with built-in BigQuery and Cloud Storage browsing from JupyterLab to cut cost and development effort.
Question
Key Takeaways
The test is whether you pair the two constraints — minimize cost AND development effort — with the managed notebook's built-in BigQuery/Cloud Storage integration, while recognizing that Dataproc-backed options add unnecessary cluster cost and setup.
This PMLE question tests which Vertex AI Workbench notebook type minimizes cost and development effort for repeated EDA, preprocessing and training on BigQuery data. The answer is B: a managed notebook with native BigQuery and Cloud Storage access inside JupyterLab.
Common mistake: Choosing A because `%%bigquery` magic looks simple, ignoring that a user-managed notebook shifts VM management and idle-VM cost onto you — the exact effort and spend the question asks to minimize.
Expert Analysis
The two qualifiers that decide this question
The stem asks you to "minimize the cost and development effort" while rerunning EDA, preprocessing and training steps repeatedly as you experiment with different algorithms. Nothing in the stem requires Spark, a cluster, or custom VM administration — the data simply lives in BigQuery and Cloud Storage, and the workflow is notebook-driven exploration and training. Those two qualifiers, cost and development effort, are what eliminate options one by one.
Option C and Option D are eliminated by cost and complexity
Both C and D attach the notebook to Dataproc — C as a Dataproc Hub, D as a notebook on a Dataproc cluster with the spark-bigquery-connector. Standing up a Dataproc cluster bills you for cluster nodes whether or not you are querying, and it adds cluster lifecycle, connector and Spark-configuration work that the stem explicitly wants you to avoid. A Dataproc Hub is documented as the choice for users with specific, already-managed Spark requirements, not for cheap BigQuery EDA. The spark-bigquery-connector in D is also unnecessary overhead when the tables are in BigQuery and the target framework is not Spark. So both are out.
Option A is eliminated by "development effort"
A uses a user-managed notebook on a default VM instance. User-managed instances put VM patching, dependency and lifecycle management on you, and the %%bigquery magic is an extra piece of code you must write and maintain — while the option's typo %%bigquerv is a giveaway that it is not the clean path. A VM you forget to stop is also the classic way to blow the cost budget.
Option B satisfies both qualifiers
B — a managed notebook — ships BigQuery and Cloud Storage integration inside JupyterLab, so you browse and query the tables directly from the sidebar with no connection code, and Google manages the underlying VM. That is the lowest development effort and the lowest steady-state cost for repeated experimental reruns. Correct answer: B.
Official Reference
- https://cloud.google.com/vertex-ai/docs/workbench/introduction
- https://cloud.google.com/vertex-ai/docs/workbench/notebook-solution
These links open the official vendor documentation in a new tab.
Exam Strategy
In Workbench questions, treat 'minimize cost' as a signal to reject anything provisioning a Dataproc cluster or an unmanaged VM you must patch and stop. Then treat 'minimize development effort' as a signal to prefer built-in integrations over writing magic commands or connectors yourself. Read the option text literally — a stray typo in a magic command is often the tell that the option is not the intended path.
Frequently Asked Questions
Why not use user-managed notebooks with %%bigquery magic for BigQuery EDA?
When is a Dataproc Hub notebook appropriate instead?
Do managed notebooks still let me query BigQuery directly?
Community Votes
75% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 9 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 9
-
b1a8fae 👍 7 Answered B"Managed notebooks are usually a good choice if you want to use a notebook for data exploration, analysis, modeling, or as part of an end-to-end data science workflow. Managed notebooks instances let you perform workflow-oriented tasks without leaving the JupyterLab interface. They also have many integrations and features for implementing your data science workflow." vs. "User-managed notebooks can be a good choice for users who require extensive customization or who need a lot of control over their environment." Seems more like the former -> B
-
AzureDP900 👍 3B is right because this option allows you to minimize cost and development effort by using a managed notebook in Vertex AI Workbench, which integrates well with BigQuery and Cloud Storage. You can browse and query your data directly within the JupyterLab interface without having to create a separate BigQuery client or use the bq command-line tool.
-
taylz876 👍 1 Answered BWhy B is right • Minimize development effort: a managed notebook comes with BigQuery and Cloud Storage built into the JupyterLab interface. You can browse the tables and query them from the sidebar, with no connection code to write. • Minimize cost: managed notebooks are designed to be low-maintenance and can shut down when idle, so you're not paying for a VM you forgot about while you experiment. • EDA, preprocessing and training in one place: it's a normal Jupyter environment, so you can rerun all three steps with different algorithms. Why the others are wrong • A: A user-managed notebook means you set up and look after the VM yourself, and %%bigquery is only a convenience. It's more setup than the managed notebook, which has the built-in table browsing. • C: A user-managed notebook on a Dataproc Hub adds Spark clusters for no reason. You don't need Spark to explore and model this data. • D: A managed notebook on a Dataproc cluster with the Spark-BigQuery connector is even heavier. A cluster costs more and takes more effort.
-
guilhermebutzke 👍 1 Answered AMy Answer: A A: Default VM instance is the best to minimize the cost, and the command %%bigquery magic is the most easy way to get data from BQ. B: Not necessary JupyerLab interface to run code. The %%bigquerv magic commands is sufficient to get data and run easily queries. C: Dataproc Hub seems overkill and it is more expensive than a default VM instance. C: spark-bigquery-connector unnecessary to get tables in the notebook. better use %%bigquery.
-
pikachu007 👍 1 Answered BOption A: User-managed notebooks require VM instance management, adding cost and complexity. %%bigquery magic commands are still needed. Option C: Dataproc Hub adds unnecessary cost and complexity for simple BigQuery interactions. Option D: Spark-bigquery-connector adds complexity and overhead compared to the native BigQuery integration in managed notebooks.
Show 4 more comments
-
shadz10 👍 1 Answered Bhttps://cloud.google.com/vertex-ai/docs/workbench/notebook-solution#:~:text=For%20users%20who%20have%20specific,user%2Dmanaged%20notebooks%20instance's%20VM.
-
gscharly 👍 1 Answered Aagree with guilhermebutzke. Also, this option is easier to reuse in multiple experiments
-
daidai75 👍 1 Answered Bhttps://cloud.google.com/bigquery/docs/visualize-jupyter
-
pinimichele01 👍 1 Answered Bsee b1a8fae
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →