Hardware / privacy · Interview pack

Apple data interview pack

23 written questions with answers, the loop shape people report for Apple, and the stacks to practise. Built from DataLane's original question bank and publicly discussed interview themes, not leaked exams. Last editorial update 2026-08-08.

What is in this pack

Questions by topic

  • Coding4
  • Data modeling1
  • Streaming1
  • Warehouse12
  • System design3
  • Behavioral2

8 easy · 10 medium · 5 hard

Rounds (2)

  1. Design
  2. SQL

Themes: Privacy by default, On-device vs warehouse, Shared lake

Free with a DataLane account

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

Sign in free to download

Free preview

  1. 1. Coding · medium · Spark

    Driver vs executor. Where does your Python UDF actually run?

    The driver builds the plan. Executors run tasks on partitions. A Python UDF runs in a Python worker next to the executor — it is not “free SQL.” Prefer Spark SQL / built-in functions. collect() on a large frame is how you OOM the driver.

  2. 2. Coding · easy · Spark

    foreach on the driver vs foreachPartition.

    Side effects belong on executors, idempotently. A driver for-loop over collect() is the anti-pattern.

  3. 3. Coding · hard · Spark

    AQE is on. You still got a 2 TB shuffle. What did AQE not fix?

    A missing broadcast because the small table was estimated huge, or a explode that created the 2 TB. AQE helps skew and coalesces — it does not rewrite a bad join key. Look at the SQL plan after AQE, not the one you hoped for.

20 more questions are in the full pack.

Sign in free to unlock →

Search DataLane

↑↓ navigatealt ↑↓ jump group↵ openesc close