Optimizing Model Development Speed with BigQuery ML Regression
Short answer
A Create a BigQuery table and use BigQuery ML to build a regression model to maximize development speed for this small dataset.
Question
The data includes the following variables for each day:
• Number of scheduled surgeries
• Number of beds occupied
• Date
You want to maximize the speed of model development and testing. What should you do?
Key Takeaways
The main trap is selecting advanced AutoML Forecasting tools for simple regression tasks; however, dataset size and development speed requirements make BigQuery ML the superior, efficient solution.
Learn why BigQuery ML regression is the optimal choice for maximizing development speed when predicting bed occupancy from scheduled surgeries using limited historical data.
Common mistake: Candidates often choose Option D (Vertex AI AutoML Forecasting) because they recognize the time-based nature of the data. However, this overlooks the 'speed' constraint and the fact that the dataset is too small (365 rows) to justify the complexity and setup time of Vertex AI.
Expert Analysis
The question asks to predict a continuous value (number of beds) using a predictor variable (scheduled surgeries) and date features, with the explicit constraint to "maximize the speed of model development and testing". This is a classic regression problem, not a time-series forecasting problem requiring complex temporal modeling like ARIMA or AutoML Forecasting.
Option A is the correct choice because BigQuery ML allows for rapid model creation using standard SQL. With only 365 rows of data, the dataset is too small to benefit from the overhead of Vertex AI AutoML platforms (Options C and D), which are designed for larger datasets and more complex feature engineering. Furthermore, the prompt emphasizes speed; writing a few lines of SQL in BigQuery is significantly faster than setting up Vertex AI pipelines.
The most attractive but wrong answer is Option D (Vertex AI AutoML Forecasting). It sounds sophisticated and handles time-series data well, including covariates. However, it fails on two counts: first, it over-engineers a simple linear relationship problem; second, and more critically, it violates the "speed" constraint due to the setup and training overhead associated with Vertex AI services compared to the immediate execution environment of BigQuery ML. Comments highlight that while D is technically capable, it ignores the efficiency requirement and dataset size constraints.
Exam Strategy
Always look for keywords like 'speed', 'simple', or small dataset sizes. When these appear, prefer managed services with lower overhead like BigQuery ML over full-featured ML platforms like Vertex AI unless the problem complexity strictly requires them. Differentiate between true time-series forecasting needs and simple predictive relationships where regression suffices.
Frequently Asked Questions
Why not use ARIMA for daily bed occupancy?
Is 365 rows enough for BigQuery ML?
Community Votes
48% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 30 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 30
-
lunalongo 👍 5 Answered AA is the best option because: - BigQuery ML allows model build/training within BigQuery using SQL - This is a regression model, not a timeseries forecast; no ARIMA (B) fit! - Data transfer to Vertex AI (C, D) and usage of AutoML not needed - AutoML is better for larger datasets, BigQuery ML works for 365 rows
-
fitri001 👍 4A. BigQuery ML regression: While BigQuery ML offers quick model building, a regression model might not capture the time-series aspect of daily bed occupancy. Daily bed occupancy might have trends or seasonality which a plain regression model wouldn't capture. B. BigQuery ML ARIMA: ARIMA models are specifically for stationary time series data, and hospital bed occupancy might not always be stationary (e.g., holiday season might lead to higher occupancy). Additionally, ARIMA models typically don't incorporate additional features like the number of scheduled surgeries. C. Vertex AI AutoML Regression: Similar to option A, a regression model might not capture the time series aspect. While Vertex AI offers AutoML regression, using a solution designed for time series forecasting is more suitable here.
-
b1a8fae 👍 4 Answered AA. Using BigQuery to comply requirement of speed of development. ARIMA does not use number of scheduled surgeries, and it is stated that the prediction must be based on that variable. So it must be A. LR model on BQ using scheduled surgeries, day of the week, etc, as predictors.
-
forport 👍 4 Answered D'Vertex AI AutoML Forecasting' == for forecasting time series data
-
VinaoSilva 👍 3 Answered D"You want to predict how many beds will be needed for patients each day" = Forecasting
Show 25 more comments
-
shadz10 👍 3365 days of data may be insufficient for big query I’m going with C
-
shadz10 👍 2While ARIMA models are commonly used for time series forecasting, they are more suitable for univariate time series data and might require additional manual intervention for feature engineering. In this case, we have multiple variables such as the number of scheduled surgeries, the number of beds occupied, and the date. AutoML Forecasting in option D is designed to handle multivariate time series data, and it automates much of the modeling process, including feature selection and hyperparameter tuning. This can potentially result in a faster and more efficient development and testing process compared to manually implementing and tuning an ARIMA model.
-
fitri001 👍 2 Answered DVertex AI AutoML Forecasting: This option leverages Vertex AI's AutoML capabilities for time series forecasting. It automatically explores different model types and hyperparameters to find the best fit for your data. This can significantly speed up model development compared to building a model from scratch. Date as time variable, surgeries as covariate: This approach acknowledges the time-series nature of bed occupancy with "date" as the time series variable. It also incorporates the "number of scheduled surgeries" as a covariate, allowing the model to learn the relationship between surgeries and bed usage.
-
shadz10 👍 2D* not C Forecasting models are well-suited for predicting future values based on past trends, making them ideal for the goal of predicting bed occupancy for upcoming days. Dataset is too small for bigquery.
-
Yan_X 👍 2 Answered DD, as B doesn't mention the 'number of scheduled surgeries'.
-
shadz10 👍 2 Answered DD is correct I believe
-
taylz876 👍 1 Answered AWhy I lean A • The question's priority is speed. "Maximize the speed of model development and testing" is the deciding phrase. BigQuery ML regression is a few lines of SQL, while AutoML Forecasting is a longer, heavier training job, and 365 rows is far too little data to need it. • The question frames a relationship, not a forecast. It says to use the relationship between scheduled surgeries and beds, and the surgeries are known in advance. Predicting beds from tomorrow's scheduled surgeries is a regression on a known input. It isn't forecasting beds from past beds alone. • A handles the main time effect. The answer adds day-of-week features, which capture the weekly pattern hospitals have. The commenters who say regression can't handle time are overlooking that. • C is the trap. It says "minor surgeries", which isn't in the data. Where D has a point Hospital beds do carry over from day to day, since patients stay for several days, so a true time series model could capture that. Some commenters also note that BigQuery's ARIMA can take extra variables (ARIMA_PLUS_XREG in your notes), but B only uses date as the input, so it ignores surgeries, and that's why B is out either way.
-
NamitSehgal 👍 1 Answered DA (BigQuery ML Regression): A simple regression model is not designed for time series forecasting. It wouldn't capture the temporal dependencies in the data and wouldn't be able to effectively predict future bed usage based on past trends. D Forecasting Task
-
Fer660 👍 1 Answered DNot A or C: regression wil not do the trick because this is a time series. Not B: ARIMA is univariate, so if you are using the date as predictor, you won't be able to use the number of scheduled surgeries as predictor, and lose the key piece of information.
-
info_appsatori 👍 1 Answered AIDK, i going with A, because its maximize the speed of development and testing. Also in question it says: You need to create a model that uses the """relationship"" between the number of surgeries scheduled and beds used. = linear regression problem.
-
b2aaace 👍 1 Answered CI don't think this is a time series forecasting problem. The question clearly states that we should predict the number of beds based on the number of scheduled surgeries. this is a simple linear regression problem.
-
pinimichele01 👍 1not b: ARIMA does not use number of scheduled surgeries, and it is stated that the prediction must be based on that variable
-
pinimichele01 👍 1"You want to predict how many beds will be needed for patients each day in advance based on the scheduled surgeries."
-
el_vampiro 👍 1 Answered BBQML ARIMA+ is the quickest to develop and test as it trains faster than AutoML. It can do Multivariate forecasting.
-
Hrishikesh1992 👍 1 Answered BWe have only 360 rows of data, I went with it because we require statistical model here rather than ML models.
-
el_vampiro 👍 1ARIMA can do multivariate and also take holidays into account. Also trains much faster than AutoML
-
samantha84 👍 1 Answered AThere aren't enough data for AUTOML Forecasting. In this context, the option A is correct.
-
8c200dd 👍 1 Answered Ain question they said, minimize the speed of model development and tesing. so A
-
shadz10 👍 1https://cloud.google.com/vertex-ai/docs/tabular-data/forecasting/overview
-
sonicclasps 👍 1 Answered Dbest suited, and treats the input as a time series, unlike A
-
kalle_balle 👍 1 Answered BUsing B instead of D as it requires speed of development.
-
dija123 👍 1 Answered DTrain a Vertex AI AutoML Forecasting model
-
el_vampiro 👍 1ARIMA can do multivariate timeseries
-
CHARLIE2108 👍 1 Answered BI went with B.
-
pinimichele01 👍 1 Answered Dbest suited
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 →