Ads / social · Interview pack

Meta data interview pack

20 written questions with answers, the loop shape people report for Meta, and 6 SQL coding labs to practise. Built from DataLane's original question bank and publicly discussed interview themes, not leaked exams. Last editorial update 2026-09-01.

What is in this pack

Questions by topic

  • SQL4
  • Coding2
  • Orchestration1
  • Streaming3
  • Warehouse1
  • System design1
  • Data quality1
  • AI / ML4
  • Behavioral3
  • SQL coding labs6

2 easy · 14 medium · 4 hard

Rounds (3)

  1. SQL
  2. Metrics
  3. Spark

Themes: Presto/Spark SQL, Metrics, Uniques

Free with a DataLane account

The first 3 questions are below. Sign in (free, no plan needed) to read all 20 and download the pack as a PDF.

Sign in free to download

Free preview

  1. 1. SQL · medium · SQL

    Running total of daily revenue. Why is SUM(SUM(amount)) OVER (...) valid?

    The inner SUM is the GROUP BY aggregation (daily revenue). The window SUM then walks those grouped rows. You need both: group to the day first, then window. A bare SUM(amount) OVER (ORDER BY day) without grouping double-counts every order row.

  2. 2. SQL · medium · SQL

    You need a 7-day rolling unique users. What breaks if you use COUNT DISTINCT in a window carelessly?

    Many engines restrict DISTINCT in windows or make it expensive. A better story is a daily uniques table then a rolling sum of an inclusion flag — or a bitmap if the warehouse has one. Say the grain first.

  3. 3. SQL · medium · SQL

    You grouped by DATE_TRUNC(week, ts) and compared to last week. Why are week 1 and week 53 lying?

    ISO vs locale weeks, incomplete first/last weeks, and time zones. Compare on a date spine with is_partial_week, or use a 7-day trailing window from today instead of calendar weeks.

17 more questions and 6 SQL labs are in the full pack.

Sign in free to unlock →

Search DataLane

↑↓ navigatealt ↑↓ jump group↵ openesc close