← All tracks

Python & modeling

Quality checks, SCD, grain — the language plus the warehouse design

18 questions with hidden solutions

Drill this stack →

  1. Q1Capital OneTargetHome DepotData modelingmedium

    Type 1 vs Type 2 SCD — two sentences.

  2. Q2dbt LabsShopifyStripeData modelingmedium

    What is the grain of a table, and why do they ask?

  3. Q3AirbnbNetflixInstacartData modelingmedium

    Where do you put data-quality checks — in Python, in dbt, or in the orchestrator?

  4. Q4UberLyftDatabricksData modelingeasy

    pandas vs Spark vs SQL for a 40 GB join. How do you choose?

  5. Q5WalmartCostcoBest BuyData modelingeasy

    Kimball vs a wide big-table. When is the star actually worse?

  6. Q6AmazonWalmartInstacartData modelinghard

    Late-arriving facts and a Type-2 dim. How do you still get the right attribute?

  7. Q7UberLyftInstacartData modelingmedium

    apply vs a vectorized expression. Why is apply slow?

  8. Q8NetflixAirbnbDatabricksData modelingeasy

    Pickle a 20 GB frame to S3. What do you say?

  9. Q9StripeShopifyBlockData modelingeasy

    ThreadPoolExecutor on a CPU-heavy pandas groupby.

  10. Q10StripeSquareAdyenData modelingmedium

    A webhook POST retried and created two customers.

  11. Q11StripeShopifyDatadogData modelingeasy

    A pipeline uses df.iterrows() to call an API per row. What do you change before adding threads?

  12. Q12Two SigmaCitadelUberData modelinghard

    You need a point-in-time join in pandas. What bug looks like a great backtest?

  13. Q13AirbnbNetflixLyftData modelingeasy

    pickle vs parquet for a 20 GB frame between tasks. What do you store?

  14. Q14dbt LabsFivetranStripeData modelingmedium

    Type 2 SCD in Python vs in SQL/dbt. When is Python acceptable?

  15. Q15AirbnbGitLabPrefectData modelingmedium

    A unit test mocks datetime.now() but the DAG still uses the wrong partition. Why?

  16. Q16DatadogCloudflareNotionData modelingeasy

    polars lazy vs pandas for a 15 GB join on a 32 GB laptop. What happens?

  17. Q18InstacartShopifyStripeData modelingmedium

    Hypothesis: “nulls in float columns become NaN and broke unique tests.” How do you talk about this in a DE interview?

Search DataLane

↑↓ navigate↵ openesc close