Let’s Get Certified

Spark Developer Associate practice questions with explanations

Work through these Spark Developer Associate scenarios, then change one assumption and check whether your decision still holds.

By Let’s Get Certified · Published

Official guide · October 8, 2026 exam guide

Commit to a choice before opening its explanation. Each original practice case includes a follow-up that changes the decision.

Preserve grain when combining DataFrames

Two events use station A. The station table unexpectedly has two matching rows for A. How many rows do those two events produce in an inner join on station alone?

  1. Two
  2. Four
  3. One
Show answer and reasoning

Four

Each event matches both dimension rows. Two events times two matches produces four rows. Fix the key or version rule before aggregating.

Change the scenario

If one event has an unknown station, compare left join and inner join results.

Review the underlying decision. Recording and worked answer. Take a timed Spark Developer Associate practice exam.

Diagnose Spark stages before tuning

One reduce task reads 8 GB while its peers read about 80 MB. What should the engineer investigate?

  1. Skew in the shuffle keys
  2. The notebook font size
  3. Whether every executor should be the driver
Show answer and reasoning

Skew in the shuffle keys

A few large shuffle partitions can dominate completion time. Inspect partition metrics and key frequencies.

Change the scenario

If task sizes are balanced but all spill heavily, reassess partition sizing and memory.

Review the underlying decision. Recording and worked answer. Take a timed Spark Developer Associate practice exam.

Bound deduplication with event time

A producer repeats an ID with a new event time within ten minutes. The query must deduplicate on ID and bound state. Which design fits a compatible Spark release?

  1. Collect all IDs to the driver
  2. Group by processing time only
  3. Use an event-time watermark and dropDuplicatesWithinWatermark on ID
Show answer and reasoning

Use an event-time watermark and dropDuplicatesWithinWatermark on ID

This operator can track an ID across different event timestamps within the watermark delay. Choose a delay large enough for the expected duplicate interval.

Change the scenario

For all-time uniqueness, define a durable business key store or sink contract beyond a bounded streaming window.

Review the underlying decision. Recording and worked answer. Take a timed Spark Developer Associate practice exam.

What should I practice next?

Group missed items by objective. Rework the decision under a changed constraint before attempting the second paper.