Hard Data Engineer questions
234 questions · 20 points each for a correct first answer.
- 1.One task takes foreverspark, performancehard
- 2.Exactly-once end to endkafka, reliabilityhard
- 3.Millions of tiny filesdata-lake, performancehard
- 4.Safe backfillsorchestration, reliabilityhard
- 5.Applying CDC eventscdc, incremental-loadshard
- 6.Cutting warehouse scan costperformance, cost-optimizationhard
- 7.Upstream renamed a columndata-quality, data-contractshard
- 8.Why table formats existdata-lake, lakehousehard
- 9.Running total with tied datessql, window-functionshard
- 10.LAST_VALUE returns the current rowsql, window-functionshard
- 11.Longest login streaksql, window-functionshard
- 12.FULL OUTER JOIN row countsql, joins, reconciliationhard
- 13.GROUP BY with NULL keyssql, null-handling, aggregationhard
- 14.Recursive CTE stopping pointsql, ctehard
- 15.Double counting in an SCD2 joinscd, sql, data-modelinghard
- 16.Which late event is keptstreaming, watermarks, sparkhard
- 17.Committing offsets too earlykafka, delivery-semanticshard
- 18.Adding partitions to a keyed topickafka, orderinghard
- 19.A slow Python UDF in PySparkspark, python, performancehard
- 20.Distinct users on billions of rowssql, performance, warehousinghard
- 21.Iceberg hidden partitioningiceberg, partitioninghard
- 22.VACUUM and time traveldelta-lake, time-travel, governancehard
- 23.Two writers, one lakehouse tablelakehouse, concurrencyhard
- 24.Copy-on-write vs merge-on-readhudi, lakehousehard
- 25.Clustering for two filter columnslakehouse, performance, clusteringhard
- 26.Choosing a Redshift DISTKEYredshift, performancehard
- 27.Rows missed by a strict watermarkincremental-loads, late-data, idempotencyhard
- 28.New column in a dbt incremental modeldbt, schema-evolutionhard
- 29.Hashing emails is not anonymisinggovernance, pii, securityhard
- 30.Overwrite deleted the whole tablespark, backfills, idempotencyhard
- 31.Which day does an event belong totime-zones, partitioninghard
- 32.Sensors blocking every workerairflow, orchestration, performancehard
- 33.Failed task but the run is greenairflow, airflow-trigger-rules, airflow-monitoringhard
- 34.Sensor timeout with retries setairflow, airflow-sensorshard
- 35.Cron with both day fields setairflow, cron, airflow-schedulinghard
- 36.Every task loads the last tableairflow, python, airflow-debugginghard
- 37.XCom from a failed attemptairflow, airflow-xcom, airflow-retrieshard
- 38.Tasks stuck in deferredairflow, deferrable-operators, airflow-architecturehard
- 39.A DAG file Airflow ignoresairflow, airflow-dag-parsinghard
- 40.A templated list arrives as a stringairflow, airflow-templatinghard
- 41.Daylight saving and two schedulesairflow, timezones, airflow-schedulinghard
- 42.Mapping over zero filesairflow, airflow-dynamic-task-mappinghard
- 43.DAG import timed outairflow, airflow-dag-parsing, airflow-best-practiceshard
- 44.DAG scheduled on two assetsairflow, airflow-assets, data-aware-schedulinghard
- 45.Task code querying the metadata DBairflow, airflow-3, airflow-architecturehard
- 46.Running two schedulers safelyairflow, airflow-architecture, high-availabilityhard
- 47.Tasks waiting while workers sit idleairflow, airflow-pools, airflow-debugginghard
- 48.Sensor waits hours on a failed upstreamairflow, airflow-sensors, cross-dag-dependencieshard
- 49.500 sensors waiting for hoursairflow, deferrable-operators, airflow-sensorshard
- 50.Running task on a dead workerairflow, airflow-reliabilityhard
- 51.Received SIGTERM in a task logairflow, airflow-debugginghard
- 52.Retry waits that grow too longairflow, airflow-retrieshard
- 53.Doubled rows after a retryairflow, idempotency, airflow-retrieshard
- 54.Effective priority of a root taskairflow, airflow-concurrencyhard
- 55.Mapping over 2,000 itemsairflow, airflow-dynamic-task-mappinghard
- 56.{{ execution_date }} after Airflow 3airflow, airflow-3, airflow-templatinghard
- 57.Consumer DAG ran with no new dataairflow, airflow-assets, data-aware-schedulinghard
- 58.Run when either feed updatesairflow, airflow-assetshard
- 59.Mixing executors in one deploymentairflow, airflow-executorshard
- 60.Short-circuit that skips the final alertairflow, airflow-branching, airflow-trigger-ruleshard
- 61.depends_on_past vs wait_for_downstreamairflow, airflow-dependencieshard
- 62.Summing results of mapped tasksairflow, airflow-dynamic-task-mapping, airflow-xcomhard
- 63.Database calls in __init__airflow, custom-operators, airflow-dag-parsinghard
- 64.Lost variable after a task resumesairflow, deferrable-operatorshard
- 65.Who runs a backfill in Airflow 3airflow, airflow-3, airflow-backfillhard
- 66.A task that asks for too many slotsairflow, airflow-pools, airflow-debugginghard
- 67.Large XComs without filling the databaseairflow, airflow-xcomhard
- 68.Template lost inside an f-stringairflow, airflow-templating, pythonhard
- 69.Clearing across two DAGsairflow, cross-dag-dependencieshard
- 70.Waiting on a triggered DAG cheaplyairflow, deferrable-operators, cross-dag-dependencieshard
- 71.Triggering from a message queueairflow, airflow-3, airflow-assetshard
- 72.An API key printed in a task logairflow, securityhard
- 73.Two runs overwriting one temp fileairflow, idempotencyhard
- 74.Report runs 4 hours late in Dubaiairflow, timezones, airflow-schedulinghard
- 75.Workers dying on a pandas joinairflow, orchestration, airflow-best-practiceshard
- 76.One of 12 mapped tasks failsairflow, airflow-dynamic-task-mapping, airflow-trigger-ruleshard
- 77.ds moved by a day after a timetable changeairflow, airflow-timetables, airflow-schedulinghard
- 78.Alerts per failed attemptairflow, airflow-retries, alertinghard
- 79.Finishing old runs before new onesairflow, airflow-concurrency, airflow-backfillhard
- 80.A sensor that also returns dataairflow, airflow-sensors, airflow-xcomhard
- 81.3NF but not BCNFdata-modelling, normalisationhard
- 82.Combining orders and returns factsdata-modelling, dimensional-modellinghard
- 83.Attributes that change every monthdata-modelling, scdhard
- 84.Shipping charge counted three timesdata-modelling, grainhard
- 85.Weights in a joint account bridgedata-modelling, dimensional-modellinghard
- 86.Fast reads of a category treedata-modelling, hierarchieshard
- 87.A country with no region leveldata-modelling, hierarchieshard
- 88.Sales in AED, INR and SARdata-modelling, dimensional-modellinghard
- 89.What we knew about a salarydata-modelling, temporal-datahard
- 90.Product specs as attribute rowsdata-modelling, schema-designhard
- 91.Adding an id to an enrolment tabledata-modelling, keyshard
- 92.Only one current SCD2 rowdata-modelling, scd, constraintshard
- 93.Date key for a late-night Dubai orderdata-modelling, time-zoneshard
- 94.Reprinted invoice shows a new pricedata-modelling, schema-designhard
- 95.Basket analysis on a daily summary factdata-modelling, grainhard
- 96.is_weekend for UAE datesdata-modelling, date-dimensionhard
- 97.Invoices pointing at another tenantdata-modelling, multi-tenancyhard
- 98.A region rename in a wide tabledata-modelling, denormalisationhard
- 99.Hash diff misses some changesdata-modelling, scdhard
- 100.Rebuilding a dimension renumbered keysdata-modelling, keyshard
- 101.Why Data Vault 2.0 uses hash keysdata-modelling, data-vaulthard
- 102.Two accounts with the same emaildata-modelling, constraintshard
- 103.Storing money as integer filsdata-modelling, data-typeshard
- 104.Two tables that reference each otherdata-modelling, constraintshard
- 105.A partition that never stops growingdata-modelling, nosqlhard
- 106.A product moved to a new categorydata-modelling, scdhard
- 107.A company that buys and sells to youdata-modelling, schema-designhard
- 108.Postgres disk filling after CDC outagedata-pipelines, change-data-capture, postgreshard
- 109.An older update overwrites a newer onedata-pipelines, change-data-capture, idempotencyhard
- 110.A row missed despite >= on updated_atdata-pipelines, incremental-loadshard
- 111.MERGE fails on duplicate source rowsdata-pipelines, merge, deduplicationhard
- 112.A MERGE that scans 5 years of datadata-pipelines, merge, partitioninghard
- 113.Order saved but event never sentdata-pipelines, event-driven, delivery-guaranteeshard
- 114.Exactly-once inside Kafkadata-pipelines, kafka, delivery-guaranteeshard
- 115.A compacted CDC topicdata-pipelines, kafka, change-data-capturehard
- 116.Backfill and daily load collidedata-pipelines, backfills, concurrencyhard
- 117.Rows missed because of clock skewdata-pipelines, incremental-loadshard
- 118.Changing a field type in a topicdata-pipelines, schema-evolution, kafkahard
- 119.Deleting one person from a data lakedata-pipelines, privacy, table-formatshard
- 120.Retries leaving extra filesdata-pipelines, idempotencyhard
- 121.Revenue inflated by repeated eventsdata-pipelines, deduplication, data-qualityhard
- 122.GST totals off by a few rupeesdata-pipelines, reconciliation, data-qualityhard
- 123.Stopping bad data reaching the CFOdata-pipelines, data-quality, pipeline-designhard
- 124.Too many data alertsdata-pipelines, data-observabilityhard
- 125.No FX rate for Saturday ordersdata-pipelines, sql, reconciliationhard
- 126.An order on the wrong IST daydata-pipelines, timezoneshard
- 127.Average order value up 100 timesdata-pipelines, data-observability, data-qualityhard
- 128.Bank and app never agree on a daydata-pipelines, reconciliation, timezoneshard
- 129.Testing that a job is safe to rerundata-pipelines, idempotency, testinghard
- 130.Proving a rewrite changed nothingdata-pipelines, testinghard
- 131.Adding consumers to cut lagdata-pipelines, kafka, streaminghard
- 132.Birth dates of 1900-01-01data-pipelines, data-qualityhard
- 133.Duplicates that slip past a stream dedupedata-pipelines, streaming, deduplicationhard
- 134.Consumer down longer than retentiondata-pipelines, kafka, delivery-guaranteeshard
- 135.A new CSV column shifts the datadata-pipelines, schema-evolution, data-contractshard
- 136.Fast single-order lookups in Snowflakedata-warehousing, snowflake, query-performancehard
- 137.A fact table with no measuresdata-warehousing, dimensional-modellinghard
- 138.Where the invoice number livesdata-warehousing, dimensional-modellinghard
- 139.Many small flag columnsdata-warehousing, dimensional-modellinghard
- 140.Revenue tripled after a joindata-warehousing, sql, data-qualityhard
- 141.A Snowflake stream that keeps returning rowsdata-warehousing, snowflake, cdchard
- 142.Billing for a ten-second querydata-warehousing, snowflake, costhard
- 143.On-demand or reserved slotsdata-warehousing, bigquery, costhard
- 144.A sale for an unknown productdata-warehousing, dimensional-modellinghard
- 145.Building blocks of Data Vaultdata-warehousing, data-modellinghard
- 146.A query that spills to remote storagedata-warehousing, snowflake, performancehard
- 147.Data dropped two weeks agodata-warehousing, snowflakehard
- 148.Staging tables that cost too muchdata-warehousing, snowflake, costhard
- 149.Snapshot of a table with no updated_atdata-warehousing, dbt, scdhard
- 150.Duplicates after a rerundata-warehousing, dbt, incremental-modelshard
- 151.Rebuilding the last three daysdata-warehousing, dbt, incremental-modelshard
- 152.dbt's microbatch strategydata-warehousing, dbt, incremental-modelshard
- 153.Faster CI for a 900-model projectdata-warehousing, dbt, ci-cdhard
- 154.Stopping a column type changedata-warehousing, dbt, data-contractshard
- 155.Testing logic on fixed inputsdata-warehousing, dbt, data-qualityhard
- 156.Changing partitioning on a live tabledata-warehousing, lakehouse, iceberghard
- 157.How Iceberg plans a querydata-warehousing, lakehouse, iceberghard
- 158.Deleting a few rows cheaplydata-warehousing, lakehouse, delta-lakehard
- 159.Reading a Delta table as Icebergdata-warehousing, lakehouse, delta-lakehard
- 160.Checking data before readers see itdata-warehousing, lakehouse, data-qualityhard
- 161.Monthly users from daily usersdata-warehousing, sql, data-modellinghard
- 162.Two of three replicas lostkafka, replication, producershard
- 163.Risk of unclean leader electionkafka, replicationhard
- 164.Old records that outlive retentionkafka, retentionhard
- 165.Ordering with five in-flight requestskafka, producers, orderinghard
- 166.Slow batch kicks a consumer outkafka, consumers, rebalancinghard
- 167.Why cooperative rebalancingkafka, consumers, rebalancinghard
- 168.Rolling restarts without rebalanceskafka, consumers, rebalancinghard
- 169.The new consumer rebalance protocolkafka, consumers, rebalancinghard
- 170.Producers upgrade before consumerskafka, schema-registry, avrohard
- 171.Consumers and aborted transactionskafka, transactions, delivery-semanticshard
- 172.Two copies of the same producerkafka, transactionshard
- 173.Cutting cross-zone traffic billskafka, consumers, operationshard
- 174.Records not yet visible to consumerskafka, replication, consumershard
- 175.A late event joins two sessionskafka, windowinghard
- 176.When a window first fireskafka, watermarks, flinkhard
- 177.Windows that never closekafka, watermarks, flinkhard
- 178.A late record after the grace periodkafka, kafka-streams, windowinghard
- 179.Failover takes twenty minuteskafka, kafka-streams, statehard
- 180.One alert per window, not manykafka, kafka-streams, windowinghard
- 181.Emitting on a timer with no traffickafka, kafka-streamshard
- 182.State lost after a code changekafka, flink, checkpointshard
- 183.Exactly-once writes from Flink to Kafkakafka, flink, delivery-semanticshard
- 184.Checkpoints time out under backpressurekafka, flink, checkpointshard
- 185.Which window Spark has emittedkafka, spark-streaming, watermarkshard
- 186.Duplicate rows from foreachBatchkafka, spark-streaming, delivery-semanticshard
- 187.Memory for hopping window statekafka, windowing, capacity-planninghard
- 188.Enriching events with a changing tablekafka, joins, cdchard
- 189.Customers get two SMS messageskafka, flink, delivery-semanticshard
- 190.Cost of salting a hot keykafka, partitioning, orderinghard
- 191.Failing consumers over to the DR clusterkafka, operations, disaster-recoveryhard
- 192.Disk cap from retention.byteskafka, retention, capacity-planninghard
- 193.Rebalancing data without hurting clientskafka, operationshard
- 194.Both compact and deletekafka, log-compaction, retentionhard
- 195.Seeing every update on a compacted topickafka, log-compactionhard
- 196.Erasing one person from a long logkafka, security, event-designhard
- 197.What share groups addkafka, consumershard
- 198.Broadcast hint on the wrong sidespark, spark-joinshard
- 199.JDBC read with lowerBound and upperBoundspark, spark-io, jdbchard
- 200.Executors on a 16-core nodespark, spark-tuninghard
- 201.Unified memory for a 10 GB heapspark, spark-tuning, spark-memoryhard
- 202.6,000 files from one writespark, spark-io, small-fileshard
- 203.Container killed for exceeding memoryspark, spark-tuning, spark-memoryhard
- 204.FetchFailedException in a stagespark, spark-shufflehard
- 205.Rows in both train and testspark, spark-mllibhard
- 206.Adding 300 columns with withColumnspark, spark-tuning, pysparkhard
- 207.A window with no partitionByspark, spark-sql, window-functionshard
- 208.Invalid casts after moving to Spark 4spark, spark-sqlhard
- 209.Speculation and a database sinkspark, spark-tuning, idempotencyhard
- 210.startingOffsets changed but ignoredspark, spark-streaming, kafkahard
- 211.Stream-stream join running out of memoryspark, spark-streaming, watermarkshard
- 212.Cached numbers after an overwritespark, spark-cachinghard
- 213.Choosing partitions for a 500 GB shufflespark, spark-tuninghard
- 214.Pruning a fact table through a joinspark, spark-sql, partition-pruninghard
- 215.Bad join order on Hive tablesspark, spark-sql, spark-tuninghard
- 216.A broadcast hint on 8 GBspark, spark-joins, spark-memoryhard
- 217.Using monotonically_increasing_id as a keyspark, spark-sqlhard
- 218.first() gives different answersspark, spark-sqlhard
- 219.Where nulls go in a sortspark, spark-sql, nullshard
- 220.coalesce(1) made the whole job slowspark, spark-partitions, spark-tuninghard
- 221.Plan changed from SortMerge to Broadcastspark, spark-aqe, spark-joinshard
- 222.A new column missing on readspark, parquet, schema-evolutionhard
- 223.applyInPandas fails on one customerspark, pyspark, pandas-udfhard
- 224.Windowed counts arrive latespark, spark-streaming, watermarkshard
- 225.Changing a streaming aggregation keyspark, spark-streaminghard
- 226.Half-written files in a stream outputspark, spark-streaming, exactly-oncehard
- 227.Using spot instances for Sparkspark, spark-architecture, costhard
- 228.Which partition AQE treats as skewedspark, adaptive-query-execution, data-skewhard
- 229.Cost of salting a skewed joinspark, data-skew, spark-joinshard
- 230.Rows produced by cube on two columnsspark, spark-sqlhard
- 231.Time travel fails after VACUUMspark, delta-lakehard
- 232.Streaming state causing long GC pausesspark, structured-streaminghard
- 233.Branch code 007 read back as 7spark, spark-partitioninghard
- 234.Shuffles after repartition on the same keyspark, spark-query-plans, shufflehard