InterviewStack.io LogoInterviewStack.io

Data Warehousing and Data Lakes Questions

Covers conceptual and practical design, architecture, and operational considerations for data warehouses and data lakes. Topics include differences between warehouses and lakes, staging areas and ingestion patterns, schema design such as star schema and dimensional modeling, handling slowly changing dimensions and fact tables, partitioning and bucketing strategies for large datasets, common architectures including medallion architecture with bronze silver and gold layers, real time and batch ingestion approaches, metadata management, and data governance. Interview questions may probe trade offs between architectures, how to design schemas for analytical queries, how to support both analytical performance and flexibility, and how to incorporate lineage and governance into designs.

MediumTechnical
73 practiced
Describe a practical approach to capture column-level lineage for transformations implemented in dbt. Explain how to extract lineage information, link it to source tables in your catalog, and expose lineage to data scientists to help them assess data reliability.
MediumTechnical
51 practiced
You receive product metadata as JSON with variable fields and nested structures from many partners. As a data scientist designing analytics for pricing experiments, propose a schema design in the warehouse that balances query performance, flexibility for unknown attributes, and maintainability for downstream analysts.
MediumTechnical
57 practiced
Design a strategy to support analytical queries on a fact table with very high-cardinality dimensions. Discuss denormalization vs normalized joins, the use of materialized views, pre-aggregation, and practical tips specific to BigQuery or Snowflake to balance performance and cost.
HardTechnical
53 practiced
You observe a gradual query performance degradation on your cloud warehouse as data grows. Propose a structured investigation plan: which metrics to collect (e.g., query times, bytes scanned, concurrency), which configurations to inspect (warehouses/sizes, caching, partitioning), and potential mitigations you would evaluate.
MediumTechnical
58 practiced
SQL task: Given transactions(txn_id, user_id, amount DECIMAL, created_at TIMESTAMP), write an ANSI SQL check that flags users whose average transaction amount in the last 30 days deviates by more than 3 standard deviations from that user's rolling one-year historical average. Explain the window functions used.

Unlock Full Question Bank

Get access to hundreds of Data Warehousing and Data Lakes interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.