Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Version Data and Models Reliably

MediumModel Evaluation00:00
Practice interviewer
In session
5 left
00:00

Your question is Version Data and Models Reliably. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Context

ShopLens runs a purchase propensity model that scores 4.2M users daily for email and in-app promotions. Over the last quarter, offline validation remained stable, but online campaign performance became inconsistent after multiple untracked data refreshes and model replacements.

The team currently stores model artifacts in object storage with ad hoc names and overwrites feature tables in place. Leadership wants a production-ready versioning strategy for both data and models that preserves reproducibility, supports rollback, and makes metric changes explainable.

Current Performance

MetricModel v17 + Data snapshot 2024-05Model v18 + overwritten data 2024-06Change
AUC-ROC0.810.80-0.01
Log Loss0.460.51+0.05
Precision @ top 10%0.290.24-0.05
Recall @ top 10%0.410.36-0.05
Calibration error0.030.09+0.06
Campaign conversion rate3.8%3.1%-0.7 pp

The Problem

The team cannot determine whether the drop came from model changes, training data changes, feature definition drift, or threshold updates. There is no reliable mapping between a prediction in production and the exact training dataset, feature code, hyperparameters, or evaluation report used to create it.

Requirements

  1. Diagnose what the metrics suggest about the likely failure modes.
  2. Design a versioning approach for raw data, curated features, training datasets, model artifacts, and thresholds.
  3. Specify what metadata must be logged to reproduce any model run and any production prediction batch.
  4. Recommend validation checks before promotion and rollback criteria after deployment.
  5. Explain how your design would support auditability, comparison across versions, and root-cause analysis.

Constraints

  • Retraining happens weekly and must finish within 6 hours.
  • Marketing can tolerate at most a 5% relative drop in conversion for one week.
  • Raw event data cannot be modified after ingestion, but feature tables are currently mutable.