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.

HardTechnical
88 practiced
Case study: You must design an end-to-end pipeline to produce daily conversion funnel metrics for a global product that ingests events from mobile apps, web and third-party partners. Provide: ingestion choices for streaming and batch sources, raw/bronze/silver/curated zones schemas, deduplication and SCD handling, partitioning strategy, example table schemas for the curated BI dataset, monitoring and test strategy, and a rough cost estimate approach for AWS or GCP.
EasyBehavioral
71 practiced
Behavioral: Tell me about a time when you discovered a significant production data quality issue that affected reports or customer-facing metrics. Use the STAR method: describe the Situation, Task, Actions you took to contain and fix the problem (both immediate and long-term), and the measurable Result. Highlight how you communicated with stakeholders and what monitoring or preventive changes you implemented afterward.
MediumTechnical
76 practiced
Design strategies for idempotent transformations and safe retries in ETL jobs. Describe patterns such as upsert with unique keys, insert-only with dedupe on read, watermark-based incremental loads, and tombstone markers for deletes. Provide examples of when each pattern is preferable and pitfalls to avoid (e.g., duplicate side effects).
HardTechnical
82 practiced
Write an Airflow DAG task (Python pseudo-code) that performs an idempotent upsert of transformed data into a partitioned analytics table. Requirements: support retries, safe backfills, and ensure task is idempotent if re-run. Explain how you would manage locks or transactional guarantees if the target warehouse doesn't support atomic MERGE across partitions.
HardTechnical
91 practiced
Architect an end-to-end CDC pipeline to capture changes from a MySQL OLTP database and land them as immutable parquet/Delta files in a data lake using Debezium + Kafka + Spark/Flink. Cover schema registry usage, ordering guarantees, handling schema changes, compaction for upserts, sink connector configuration, and exactly-once concerns. Discuss how you ensure ordering per primary key and how to reprocess data if needed.

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.