How to Perform Batch Inference on Multi-Terabyte BigQuery Data
You are implementing a batch inference ML pipeline in Google Cloud. The model was developed using TensorFlow and is stored in SavedModel format in Cloud Storage. You need to apply the model to a historical dataset containing 10 TB of data that is stored in a BigQuery table. How should you perform the inference?
Community Votes
72% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
Tests knowledge of managed ML service constraints versus native SQL-based inference, trapping candidates who assume direct BigQuery integration scales infinitely.
This question evaluates selecting the optimal batch inference architecture for massive datasets in Google Cloud. Community consensus confirms that BigQuery ML is mandatory to bypass Vertex AI's 100 GB input limitation when processing terabytes of structured data.
Option D is frequently selected due to Vertex AI's native BigQuery connector, but it fails because the service strictly caps source table sizes at 100 GB per batch job.
Community Discussion (13 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
BigQuery ML enables direct import of TensorFlow SavedModels via the CREATE MODEL statement, allowing predictions to run natively on massive tables. Processing 10 TB of data within BigQuery eliminates data egress costs, reduces pipeline latency, and leverages the platform's distributed compute engine. This approach aligns perfectly with the requirement to apply a pre-trained model to historical tabular data without external orchestration.Why the Other Options Are Wrong
Options A and C mandate exporting 10 TB of data to Cloud Storage, which introduces prohibitive transfer times, additional storage fees, and complex data management overhead. Option D incorrectly assumes Vertex AI batch prediction can ingest terabyte-scale BigQuery tables directly, overlooking the documented 100 GB maximum limit per input table. Relying on export workflows also fragments the data lifecycle and increases operational maintenance.Community Comment Notes
Candidates repeatedly identify the 100 GB restriction as the decisive factor distinguishing options B and D [2][9]. Multiple users reference official documentation to validate the TensorFlow import workflow and its compatibility with BigQuery ML [1][3]. While several initially favored Vertex AI for its managed infrastructure, they ultimately acknowledged that dataset volume forces a native SQL-based solution [5][10]. The thread underscores the importance of verifying service quotas before architecting production pipelines.Official Reference
- https://cloud.google.com/bigquery/docs/making-predictions-with-imported-tensorflow-models
- https://cloud.google.com/vertex-ai/docs/tabular-data/classification/regression/get-batch-predictions#input_data_requirements
- https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-create-tensorflow#limitations
Exam Strategy
Always verify input data size limits and supported file formats before selecting a managed machine learning service. When handling terabyte-scale tabular datasets, prioritize platforms that compute natively over those requiring data movement or external staging buckets.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →