data-spark

Generates Spark interview questions covering Shuffle, data skew, memory tuning, and Structured Streaming.

23|1|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/yuecao365/OfferCome --skill data-spark-yuecao365
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: data-spark
Source: https://github.com/yuecao365/OfferCome/tree/main/src/lib/mock-interviews/skills/data-spark
Command: npx skills add https://github.com/yuecao365/OfferCome --skill data-spark-yuecao365

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Interviewers and candidates preparing for big data engineering roles need realistic, scenario-based Spark questions that go beyond memorized definitions. This Skill provides a structured question bank for Spark-specific interviews, triggered when a resume or job description mentions Spark. ## Core Features & Use Cases - Scenario-Based Question Bank: Covers Shuffle internals, data skew diagnosis, memory models and OOM, AQE, Spark SQL and Catalyst, Structured Streaming, Hive/Kafka/Flink integration, resource configuration, and PySpark UDF performance. - Good vs Bad Question Patterns: Contrasts shallow trivia questions with deep troubleshooting scenarios, each with danger signals and expected signals for evaluating answers. - Resume-Driven Probing: Maps resume claims (e.g., "Spark tuning, 5x speedup") to follow-up questions that verify real hands-on experience. - Use Case: A candidate's resume mentions handling data skew in a large join. The Skill guides the interviewer to ask how the skewed keys were identified, which mitigation was chosen, how much the opposite table was inflated by salting, and whether AQE skew join could replace manual handling. ## Quick Start Ask the AI to generate Spark interview questions based on a resume that mentions Spark tuning and Structured Streaming experience.

Frequently Asked Questions about data-spark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prepare for Spark interview questions on data skew?▼

Focus on diagnosis before solutions: use Spark UI to compare Task data volumes, sample to find hot keys, and handle null keys separately. Know when salting, broadcast joins, or AQE skew join apply, including side effects like table inflation and the limitation that AQE skew join only handles sort merge joins.

What Spark topics are asked in big data engineer interviews?▼

Core topics include execution model and Stage division, Shuffle mechanics, data skew handling, memory model and OOM troubleshooting, Catalyst optimization, AQE, Structured Streaming state and watermark, Hive/Kafka integration, resource sizing, and PySpark UDF performance.

Spark vs Flink: how do I answer streaming engine selection questions?▼

There is no single correct answer; interviewers evaluate your reasoning. Compare latency requirements, state complexity, team stack, and operational cost. Flink typically wins on low latency and complex stateful processing, while Spark suits micro-batch workloads integrated with existing batch pipelines.

Why does a Spark job get killed by YARN despite large executor memory?▼

YARN kills containers when total memory including overhead exceeds limits, not just heap. Check memoryOverhead, off-heap usage from Netty buffers or Python worker processes in PySpark, and oversized partitions. Fixes include raising overhead, increasing parallelism, or splitting large partitions rather than only adding heap.

Does Structured Streaming checkpointing guarantee exactly-once delivery?▼

Checkpointing alone does not guarantee end-to-end exactly-once. You also need a replayable source like Kafka with offsets stored in the checkpoint, and an idempotent or transactional sink, such as deduplicating by batchId, to prevent duplicate writes after restarts.

When should AQE not be used in Spark jobs?▼

AQE relies on Shuffle stage statistics, so it does not help streaming jobs or queries without Shuffle. It can also regress performance when partition coalescing produces unfavorable sizes. Validate by comparing plans and metrics with AQE toggled off before blaming or crediting it.