Skip to content
RED SAG Skills

Medium Data Engineer questions

328 questions · 10 points each for a correct first answer.

  1. 1.Tracking customer address historymedium
  2. 2.Incremental load with updated_atmedium
  3. 3.What causes a shufflemedium
  4. 4.Joining with a small lookup tablemedium
  5. 5.Ordering in Kafkamedium
  6. 6.Upserting into a target tablemedium
  7. 7.Why use ref() in dbtmedium
  8. 8.Handling late eventsmedium
  9. 9.Keeping the latest row per keymedium
  10. 10.RANK and DENSE_RANK with tiesmedium
  11. 11.NOT IN with a NULL in the listmedium
  12. 12.Day-over-day change with LAGmedium
  13. 13.WHERE filter after a LEFT JOINmedium
  14. 14.Counting orders for every customermedium
  15. 15.Table state after a MERGEmedium
  16. 16.Revenue doubled after a joinmedium
  17. 17.Employees above their team averagemedium
  18. 18.Keeping just the previous valuemedium
  19. 19.Data Vault building blocksmedium
  20. 20.Log-based CDC advantagesmedium
  21. 21.Duplicates from at-least-once deliverymedium
  22. 22.Surprise runs from catchupmedium
  23. 23.When a daily Airflow run startsmedium
  24. 24.When to cache in Sparkmedium
  25. 25.repartition vs coalescemedium
  26. 26.Eight consumers, six partitionsmedium
  27. 27.How Parquet skips datamedium
  28. 28.Undoing a bad loadmedium
  29. 29.LIMIT and BigQuery costmedium
  30. 30.Idle Snowflake warehouse costmedium
  31. 31.Filtering new rows in dbtmedium
  32. 32.Detecting stale source datamedium
  33. 33.What a data contract doesmedium
  34. 34.Rerunning a half-failed loadmedium
  35. 35.An API call at the top of a DAG filemedium
  36. 36.Reading a Variable without parse costmedium
  37. 37.start_date=datetime.now()medium
  38. 38.Ten tasks through a 4-slot poolmedium
  39. 39.Backfilled runs running one at a timemedium
  40. 40.Cleanup that must always runmedium
  41. 41.Join task skipped after a branchmedium
  42. 42.State after a short-circuitmedium
  43. 43.TaskFlow without >>medium
  44. 44.Mapped tasks from two listsmedium
  45. 45.Fixed arguments in a mapped taskmedium
  46. 46.A template that stays as textmedium
  47. 47.TemplateNotFound for a .sh scriptmedium
  48. 48.A 9 AM IST DAG in UTC termsmedium
  49. 49.Extra pieces for CeleryExecutormedium
  50. 50.How KubernetesExecutor runs tasksmedium
  51. 51.What depends_on_past doesmedium
  52. 52.Waiting for a DAG with another schedulemedium
  53. 53.Setting parallelism by environmentmedium
  54. 54.Task instances in a 30-day rerunmedium
  55. 55.Task id inside a TaskGroupmedium
  56. 56.Clearing a task between setup and teardownmedium
  57. 57.No emails during a backfillmedium
  58. 58.Limiting one heavy task across runsmedium
  59. 59.Only 16 tasks run at oncemedium
  60. 60.Sending a task to GPU workersmedium
  61. 61.One task needs pandas 1.xmedium
  62. 62.Rejecting a bad manual inputmedium
  63. 63.A BashOperator that ends skippedmedium
  64. 64.Same conn_id in two placesmedium
  65. 65.Defining a connection in an env varmedium
  66. 66.What the Fernet key protectsmedium
  67. 67.A row-count check that failsmedium
  68. 68.Logs missing after a pod finishesmedium
  69. 69.Running two branches at oncemedium
  70. 70.Choosing the rows for a daily extractmedium
  71. 71.Mapping over files found at run timemedium
  72. 72.A run that blocks the next onesmedium
  73. 73.schedule_interval after upgradingmedium
  74. 74.New DAGs not showing after Airflow 3 setupmedium
  75. 75.Pulling a named XCom in a templatemedium
  76. 76.Returning several values from a @taskmedium
  77. 77.An optional file that may not comemedium
  78. 78.Waiting until a job API says donemedium
  79. 79.Writing a custom operatormedium
  80. 80.Catching broken DAGs before deploymedium
  81. 81.Making task logic easy to testmedium
  82. 82.Running a dbt project in Airflowmedium
  83. 83.Alerting when a run is latemedium
  84. 84.Metadata database keeps growingmedium
  85. 85.Running only on working daysmedium
  86. 86.Worker slots versus parallelismmedium
  87. 87.Heavy tasks taking 3 slots eachmedium
  88. 88.Task state removed in old runsmedium
  89. 89.Join after an optional stepmedium
  90. 90.Keeping SQL in separate filesmedium
  91. 91.Templates inside a dict argumentmedium
  92. 92.What a BashOperator pushesmedium
  93. 93.Imports for DAG authors in Airflow 3medium
  94. 94.Mapping over matched pairsmedium
  95. 95.Readable names for mapped tasksmedium
  96. 96.Manual run stuck in queuedmedium
  97. 97.Loading DAGs from a Git repomedium
  98. 98.How a reschedule sensor counts timemedium
  99. 99.Product name in order itemsmedium
  100. 100.Department name in employeesmedium
  101. 101.Changing a supplier phone numbermedium
  102. 102.Monthly total of daily balancesmedium
  103. 103.Storing a conversion rate in a factmedium
  104. 104.Recording class attendancemedium
  105. 105.Daily stock level per warehousemedium
  106. 106.Tracking order milestonesmedium
  107. 107.Many small flags on a factmedium
  108. 108.Order date and ship date keysmedium
  109. 109.Visits with several diagnosesmedium
  110. 110.Which address was valid on a datemedium
  111. 111.Fact arrives before its customermedium
  112. 112.Storing who reports to whommedium
  113. 113.Facts with a missing productmedium
  114. 114.Rows in a daily stock snapshotmedium
  115. 115.Keeping salary data apartmedium
  116. 116.Comments on posts and photosmedium
  117. 117.Enum type or lookup tablemedium
  118. 118.Which customer key the fact storesmedium
  119. 119.Spotting changed rows with a hashmedium
  120. 120.dbt snapshot strategiesmedium
  121. 121.Fiscal quarter of 15 February 2026medium
  122. 122.Tax rates that change over timemedium
  123. 123.Grain of an exchange rate tablemedium
  124. 124.Comparing budget with actual salesmedium
  125. 125.A DynamoDB key on order statusmedium
  126. 126.Embedding every login eventmedium
  127. 127.Wide or narrow sensor tablemedium
  128. 128.Two clerks edit the same recordmedium
  129. 129.Clustering a partitioned tablemedium
  130. 130.Redshift distribution for a big joinmedium
  131. 131.A schema change that breaks no onemedium
  132. 132.Why add a semantic layermedium
  133. 133.Hashing a business key for a surrogatemedium
  134. 134.Keeping every status changemedium
  135. 135.Selecting current rows from SCD2medium
  136. 136.Joining facts to the right SCD2 versionmedium
  137. 137.Keys that look equal but do not joinmedium
  138. 138.Events that arrive days latemedium
  139. 139.Rerunning one day safelymedium
  140. 140.Write, audit, publishmedium
  141. 141.Dashboards empty during a reloadmedium
  142. 142.Keeping one row per ordermedium
  143. 143.Deleted rows still in the warehousemedium
  144. 144.Starting CDC on an existing tablemedium
  145. 145.Applying delete events in a MERGEmedium
  146. 146.Keeping changes to one row in ordermedium
  147. 147.When to commit Kafka offsetsmedium
  148. 148.Rerunning COPY on the same foldermedium
  149. 149.Missing rows when paging an APImedium
  150. 150.An API that returns 429medium
  151. 151.Duplicates despite a primary keymedium
  152. 152.Which date to partition bymedium
  153. 153.Daily snapshots versus SCD2 rowsmedium
  154. 154.Planning a two-year backfillmedium
  155. 155.20 bad rows out of 2 millionmedium
  156. 156.Is today's volume an anomalymedium
  157. 157.Freshness lag against an SLOmedium
  158. 158.Warning before failing on stale sourcesmedium
  159. 159.A column that is sometimes nullmedium
  160. 160.Row counts match but money does notmedium
  161. 161.Is 03/04/2026 March or Aprilmedium
  162. 162.Addresses breaking the columnsmedium
  163. 163.Catching bad JSON at the doormedium
  164. 164.A new payment method breaks a testmedium
  165. 165.Which dashboards a bad table affectsmedium
  166. 166.Joining on email without exposing itmedium
  167. 167.Phone numbers for some users onlymedium
  168. 168.Queries slow on a streaming tablemedium
  169. 169.One 40 GB gzip CSVmedium
  170. 170.A file processed twicemedium
  171. 171.One bad message blocks a streammedium
  172. 172.Choosing the grain of a fact tablemedium
  173. 173.Slowly changing dimension type 2medium
  174. 174.Surrogate keys in dimensionsmedium
  175. 175.Summing account balances over timemedium
  176. 176.Comparing sales and returnsmedium
  177. 177.Queries queue at month endmedium
  178. 178.Credits after resizing a warehousemedium
  179. 179.A repeated query returns instantlymedium
  180. 180.Cloning a 5 TB database for testingmedium
  181. 181.How Snowflake skips datamedium
  182. 182.Querying JSON arrays in Snowflakemedium
  183. 183.Sharing tables with a partnermedium
  184. 184.Stopping full scans of a big tablemedium
  185. 185.Rows from a repeated fieldmedium
  186. 186.A dashboard that aggregates every minutemedium
  187. 187.Storage cost for old partitionsmedium
  188. 188.Redshift sort key for date filtersmedium
  189. 189.Distributing a small dimensionmedium
  190. 190.Speeding up a Redshift COPYmedium
  191. 191.Querying S3 from Redshiftmedium
  192. 192.Keeping the latest row per customermedium
  193. 193.Applying a batch of changesmedium
  194. 194.One big table for analystsmedium
  195. 195.Hiding phone numbers from most usersmedium
  196. 196.Keeping history of a source tablemedium
  197. 197.What an ephemeral model doesmedium
  198. 198.Updated rows in an incremental modelmedium
  199. 199.Selecting a model and its parentsmedium
  200. 200.dbt build compared with dbt runmedium
  201. 201.Passing a start date into a modelmedium
  202. 202.Smaller data in developmentmedium
  203. 203.A one-off business rule testmedium
  204. 204.The same check on many columnsmedium
  205. 205.Tolerating a few bad rowsmedium
  206. 206.Seeing which rows failed a testmedium
  207. 207.Showing dashboards in dbt lineagemedium
  208. 208.Permissions lost after each rebuildmedium
  209. 209.Rerunning after a failuremedium
  210. 210.A write with an extra columnmedium
  211. 211.Adding a column on purposemedium
  212. 212.Old snapshots fill object storagemedium
  213. 213.Filtering on a non-partition columnmedium
  214. 214.Why Iceberg needs a catalogmedium
  215. 215.Why a status column compresses wellmedium
  216. 216.Snowflake and Iceberg togethermedium
  217. 217.Applying CDC to a lake tablemedium
  218. 218.Reading only changed rows downstreammedium
  219. 219.Capping monthly Snowflake spendmedium
  220. 220.Three different revenue numbersmedium
  221. 221.What the ISR list containsmedium
  222. 222.acks=all with one broker downmedium
  223. 223.What a compacted topic keepsmedium
  224. 224.Deleting a key from a compacted topicmedium
  225. 225.Where a keyed record landsmedium
  226. 226.Records sent with no keymedium
  227. 227.Duplicates from producer retriesmedium
  228. 228.Raising linger.msmedium
  229. 229.Who picks a new leadermedium
  230. 230.A new group with earliestmedium
  231. 231.Missing records with latestmedium
  232. 232.Detecting a crashed consumermedium
  233. 233.Disk needed for a week of eventsmedium
  234. 234.Partitions for a throughput targetmedium
  235. 235.Sending scanned invoices through Kafkamedium
  236. 236.Adding a field safelymedium
  237. 237.How Debezium captures changesmedium
  238. 238.One record that always failsmedium
  239. 239.Brokers spread over three zonesmedium
  240. 240.Which offset to commitmedium
  241. 241.Keeping a year of data cheaplymedium
  242. 242.Reprocessing since yesterday morningmedium
  243. 243.Windows that overlapmedium
  244. 244.Joining two topics in Kafka Streamsmedium
  245. 245.Joining with a small reference tablemedium
  246. 246.Matching orders with paymentsmedium
  247. 247.Restoring state after a crashmedium
  248. 248.An extra topic appearsmedium
  249. 249.Threads with nothing to domedium
  250. 250.Exactly-once in Kafka Streamsmedium
  251. 251.Reading live counts from a stream appmedium
  252. 252.Upgrading a stateful Flink jobmedium
  253. 253.Lag grows behind a slow sinkmedium
  254. 254.Flink source parallelism of 16medium
  255. 255.State that grows without limitmedium
  256. 256.State larger than memorymedium
  257. 257.Sending rules to every instancemedium
  258. 258.Restarting a Spark streammedium
  259. 259.Spark output modesmedium
  260. 260.Writing to the DB and Kafka togethermedium
  261. 261.How the outbox pattern worksmedium
  262. 262.Making a payment consumer safe to replaymedium
  263. 263.Duplicates that do not mattermedium
  264. 264.Removing duplicate clicks in a streammedium
  265. 265.Unique visitors per minute at scalemedium
  266. 266.Events stamped in the futuremedium
  267. 267.Under-replicated partitions alertmedium
  268. 268.Lag climbs after a releasemedium
  269. 269.One partition far busier than othersmedium
  270. 270.Key for order lifecycle eventsmedium
  271. 271.A standby cluster in another regionmedium
  272. 272.A broker's disk is 95% fullmedium
  273. 273.One broker leads most partitionsmedium
  274. 274.When a producer gives upmedium
  275. 275.Raising fetch.min.bytesmedium
  276. 276.One client slows the clustermedium
  277. 277.The target database is downmedium
  278. 278.Which timestamp a record carriesmedium
  279. 279.Why a groupBy made 200 tasksmedium
  280. 280.AQE and tiny shuffle partitionsmedium
  281. 281.When Spark broadcasts on its ownmedium
  282. 282.One 20 GB gzip filemedium
  283. 283.Input partitions for 10 GB of Parquetmedium
  284. 284.How many waves of tasksmedium
  285. 285.partitionBy on user_idmedium
  286. 286.Filtering on a partition columnmedium
  287. 287.A UDF in the WHERE clausemedium
  288. 288.A cached DataFrame bigger than memorymedium
  289. 289.An iterative loop that gets slowermedium
  290. 290.Latest row per customermedium
  291. 291.groupByKey vs reduceByKeymedium
  292. 292.Reading SortMergeJoin in explain()medium
  293. 293.Bad-row counter that runs highmedium
  294. 294.A 50 MB Python dict in every taskmedium
  295. 295.Task not serializable errormedium
  296. 296.Malformed rows in a JSON feedmedium
  297. 297.Rows with null keys vanish in a joinmedium
  298. 298.Structured Streaming output modesmedium
  299. 299.Sorting rows inside each filemedium
  300. 300.Order of values from collect_listmedium
  301. 301.Joining two big tables every daymedium
  302. 302.Removing idle executors safelymedium
  303. 303.Capping rows per output filemedium
  304. 304.One file per date foldermedium
  305. 305.Faster serialization for RDDsmedium
  306. 306.One database connection per partitionmedium
  307. 307.Upserting a stream into a tablemedium
  308. 308.Running a stream as a daily jobmedium
  309. 309.First micro-batch is enormousmedium
  310. 310.A batch longer than its triggermedium
  311. 311.Delta MERGE for new and changed rowsmedium
  312. 312.Reading yesterday's table versionmedium
  313. 313.Customers who ordered, no duplicatesmedium
  314. 314.Making pivot fastermedium
  315. 315.Subtotals with rollupmedium
  316. 316.Same timestamp, different hourmedium
  317. 317.Parsing a JSON string columnmedium
  318. 318.Changing each element of an arraymedium
  319. 319.Union of files with a new columnmedium
  320. 320.A 7-row rolling summedium
  321. 321.Slow toPandas on 2 million rowsmedium
  322. 322.What Spark Connect changesmedium
  323. 323.Thousands of tiny Delta filesmedium
  324. 324.Appending a new column to Deltamedium
  325. 325.Concurrent tasks with task.cpus 2medium
  326. 326.Rows missing after a != filtermedium
  327. 327.Where to fit a StandardScalermedium
  328. 328.Window sum when days repeatmedium