Noos
PT EN
RAN-DBDEA-00050
Ranvier · DBDEA

Exam DBDEA Topics: transformation Difficulty: medium

On a cluster with 4 workers, a silver aggregation over a 3 GB DataFrame shows 200 shuffle tasks in the Spark UI; most tasks process only a few megabytes, and scheduling overhead dominates the stage time. The team wants fewer, larger tasks. spark.sql.shuffle.partitions is at its default value. Which statement is accurate?

Options (Reading Mode) Click to filter discussion →
  1. A. spark.default.parallelism sets the shuffle partition count for SQL aggregations — lower it to 32 on this cluster
  2. B. spark.sql.shuffle.partitions (default 200) sets the shuffle partition count — lower it or rely on AQE coalescing
  3. C. spark.sql.autoBroadcastJoinThreshold caps the byte size of each shuffle partition — raise it so partitions grow larger
  4. D. spark.executor.memory limits how many tasks an executor can schedule — increase it to reduce the task count
Reveal answer

Correct answer: spark.sql.shuffle.partitions (default 200) sets the shuffle partition count — lower it or rely on AQE coalescing

Reference: https://docs.databricks.com/aws/en/optimizations/aqe

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (B): spark.sql.shuffle.partitions (default 200) sets the shuffle partition count — lower it or rely on AQE coalescing

⚓ Official Documentation Anchor: https://docs.databricks.com/aws/en/optimizations/aqe
Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.