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

Model Analytics Warehouse for ELT

EasyPipelines00:00
Practice interviewer
In session
5 left
00:00

Your question is Model Analytics Warehouse for ELT. 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

Northstar Health sells a SaaS platform for clinic operations and currently lands application data from PostgreSQL, Stripe, and Salesforce into Snowflake using nightly batch loads. The warehouse has grown organically with inconsistent table definitions, duplicated business logic, and slow downstream reporting, so the data team needs a clearer modeling approach as part of a modern ELT pipeline redesign.

You are asked to design the target data model and supporting pipeline for analytics use cases such as revenue reporting, appointment utilization, provider performance, and customer lifecycle analysis.

Scale Requirements

  • Sources: PostgreSQL OLTP (~1,200 tables), Stripe API, Salesforce, S3 CSV partner feeds
  • Volume: ~250M fact rows added per month, 4 TB compressed warehouse storage today
  • Batch cadence: core models every 30 minutes; finance models hourly; full backfills on demand
  • Latency target: source change to analytics-ready tables in < 45 minutes
  • Consumers: 120 BI users, 25 scheduled dashboards, 15 downstream data products

Requirements

  1. Design a warehouse data model that separates raw, staging, and business-ready layers.
  2. Explain when you would use star schema, wide tables, or normalized intermediate models.
  3. Define how dimensions and facts should be modeled for appointments, invoices, payments, clinics, providers, and patients.
  4. Support slowly changing attributes for provider specialty, clinic region, and account owner changes.
  5. Ensure transformations are idempotent and can be rerun safely for partial failures or backfills.
  6. Include data quality checks for primary key uniqueness, referential integrity, null rates, and freshness.
  7. Describe orchestration, dependency management, and how model rebuilds are triggered after source loads.
  8. Provide a strategy for documenting lineage and making model semantics understandable to analysts.

Constraints

  • Existing stack is AWS + Snowflake; avoid introducing more than one major new platform.
  • Team size is 3 data engineers and 2 analytics engineers.
  • HIPAA-sensitive fields must be masked or excluded from analytics models.
  • Budget allows moderate Snowflake scaling, but full-table rebuilds every run are not acceptable.