Cloud / productivity · Interview pack

Microsoft data interview pack

21 written questions with answers, the loop shape people report for Microsoft, and 2 SQL coding labs to practise. Built from DataLane's original question bank and publicly discussed interview themes, not leaked exams. Last editorial update 2026-08-02.

What is in this pack

Questions by topic

  • SQL2
  • Coding2
  • Warehouse1
  • Cloud15
  • AI / ML1
  • SQL coding labs2

7 easy · 11 medium · 3 hard

Rounds (1)

  1. Platform

Themes: Fabric vs Synapse, OneLake, Purview

Free with a DataLane account

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

Sign in free to download

Free preview

  1. 1. SQL · hard · SQL

    When do you use a covering index / clustering key versus rewriting the query?

    If the query already filters a selective column and still scans everything, storage layout (partition, cluster, index) is the lever. If it selects * and joins at the wrong grain, rewrite first. Do not add a clustering key to hide a CROSS JOIN.

  2. 2. SQL · hard · SQL

    EXPLAIN says Hash Join. When do you want Nested Loop instead?

    When one side is tiny and indexed (point lookups), nested loop + index can beat building a hash. Warehouse SQL usually hashes; OLTP Postgres often nested-loops. Say “probe side size,” not “hash is always faster.”

  3. 3. Coding · medium · Spark

    Broadcast join vs shuffle join. What is the failure mode of a hint?

    Broadcast sends the small side to every executor. If it is not actually small, you OOM workers. AQE can convert automatically. A forced broadcast hint on a growing dimension is a time bomb. Measure the small side after filters.

18 more questions and 2 SQL labs are in the full pack.

Sign in free to unlock →

Search DataLane

↑↓ navigatealt ↑↓ jump group↵ openesc close