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
76 practiced
Explain DirectQuery (Power BI) / Live connection (Tableau) pushdown strategies: which transformations and aggregations typically push down to the source, which complex M or calculated fields do not push down, performance pitfalls of DirectQuery, and recommended workarounds (creating warehouse views, materialized/pre-aggregated tables, or stored procedures) to regain performance while preserving freshness.
EasyTechnical
74 practiced
Explain the difference between dimensions and measures in a star schema. For an e-commerce sales reporting dataset give at least three example dimensions and three example measures. Discuss how granularity (grain) affects join strategy, aggregation correctness, and performance in dashboards.
HardTechnical
77 practiced
Design a testing strategy and implement example test cases for ETL pipelines: include unit tests for transformation logic, integration tests for end-to-end loads (row counts and checksum comparisons), data-quality assertions (null ratio thresholds, referential integrity), and CI integration. Provide one example test in SQL or pseudo-code demonstrating how you'd assert row counts and sums between source and target.
HardTechnical
70 practiced
Walk through implementing Slowly Changing Dimensions (SCD) Type 2 for a customer dimension to preserve history. Cover schema (surrogate key, natural key, effective_date, end_date, current_flag), ETL logic to detect changes and insert new rows, handling backfills or corrections to history, and how to expose current vs historical views to BI consumers.
HardTechnical
84 practiced
Compare performing heavy JSON-nested transformations inside a cloud data warehouse (BigQuery/Snowflake) versus using Spark/Databricks. Discuss developer productivity, support for nested types, query performance, cost models, scaling behavior, and typical BI access patterns that influence the decision.

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.