Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Associate Data Practitioner practice bank has 1,132 more like it. Try 10 free: instant score, no account.
A data practitioner is evaluating the completeness of a daily store sales table in Google Cloud BigQuery before building an inventory demand forecasting model. During the data assessment, the practitioner observes that several calendar dates are entirely missing from the time-series sequence because the retail store records no transactions on days with zero sales.
What impact do these missing rows have on downstream forecasting, and how should the practitioner resolve the gap?
Machine learning platforms and database engines often include built-in mechanisms to impute individual null or missing attributes within existing rows (such as imputing missing feature columns using median values, surrounding context, or learned embeddings).
The dataset already contained explicit rows for every calendar date, but certain numerical feature columns (such as missing temperature or foot-traffic sensor readings) contained null values that could be imputed from adjacent timestamps.
Last Observation Carried Forward (LOCF) is an imputation technique used in time-series analysis where a missing data point is filled using the most recently observed valid value. Training-serving skew refers to an architectural discrepancy where the input features provided during model training differ structurally or statistically from the features provided at inference serving time.
" "). Furthermore, empty strings and nulls represent missing cell attributes, whereas omitted timestamps indicate absent records.LOCF, Linear, and constant values (NULL/zero), but the choice must align with the business context of the missing metric.The practitioner were filling gaps in a slow-changing state dimension—such as carrying forward the current retail price or product catalog status across days where no price update was published.
Data leakage occurs when a machine learning model is trained using features that inadvertently contain information about the target label that would not be available when the model is deployed to make real-time inferences in production. A common example is using future customer billing records to predict whether a customer will cancel their subscription this month.
The scenario described an input feature containing future promotion schedules or downstream transaction confirmations that are only generated after a purchase is finalized, requiring feature exclusion to avoid artificial high performance during evaluation.
Data completeness is a fundamental pillar of data quality that assesses whether all required observations and time steps are present in a dataset. In time-series forecasting, data completeness requires an unbroken sequence of chronological intervals (such as daily, hourly, or weekly timestamps). A missing row occurs when an entire timestamp observation is omitted from the dataset rather than being recorded with a value of zero.
0.
Omitting dates with zero sales skews statistical distributions. By inserting missing dates and explicitly assigning a sales quantity of 0, the data practitioner restores complete temporal coverage and provides downstream models with an accurate reflection of historical business reality.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated