InterviewStack.io LogoInterviewStack.io

Data Transformation and Preparation Questions

Focuses on the technical skills and judgement required to connect to data sources, clean and shape data, and prepare datasets for analysis and visualization. Includes identifying necessary transformations such as calculations, aggregations, filtering, joins, and type conversions; deciding whether to perform transformations in the business intelligence tool or in the data warehouse or database layer; designing efficient data models and extract transform load workflows; ensuring data quality, lineage, and freshness; applying performance optimization techniques such as incremental refresh and pushdown processing; and familiarity with tools and features such as Power BI Power Query, Tableau data preparation capabilities, and structured query language for database level transformations. Also covers documentation, reproducibility, and testing of data preparation pipelines.

MediumSystem Design
96 practiced
Sketch an architecture for a feature store that supports offline batch features for 100M users and low-latency online lookup for inference. Describe choices for offline storage, online storage, ingestion paths, consistency model (eventual vs strong), and how to support backfills and point-in-time correctness.
HardTechnical
82 practiced
Describe how to implement windowed aggregations for feature generation in a streaming pipeline that must tolerate events arriving out-of-order by up to 2 hours. Explain watermarking, allowed lateness, state eviction, and strategies for re-computing features used downstream for training labels.
HardSystem Design
94 practiced
Outline an idempotent ETL design for ingesting events from Kafka into a feature table used for training and serving. Requirements: deduplicate retries, handle out-of-order events, provide at-least-once or exactly-once semantics where possible, and support efficient compaction. Explain the streaming framework choice and give pseudocode for deduplication logic.
EasyTechnical
94 practiced
Given an events table: events(event_id BIGINT, user_id INT, event_type VARCHAR, occurred_at TIMESTAMP), write an ANSI SQL query that computes daily active users (unique user_id per day) for the last 30 days. Also explain how you'd handle late-arriving events that should be attributed to prior days.
MediumTechnical
93 practiced
Describe how you would implement CI/CD for data transformation pipelines used in model training. Include unit tests for transformation functions, integration tests using synthetic datasets, promotion from staging to production, and how you'd version artifacts, SQL scripts, and schemas.

Unlock Full Question Bank

Get access to hundreds of Data Transformation and Preparation interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.