Noos
PT EN
RAN-DBDEA-00051
Ranvier · DBDEA

Exam DBDEA Topics: transformation Difficulty: medium

A data engineer compares a query's static plan with its executed plan: a SortMergeJoin became a BroadcastHashJoin, and the number of shuffle partitions in a later stage dropped from 200 to 12 after the first stage completed. The team debates what caused these changes. Which statement about Adaptive Query Execution (AQE) is correct?

Options (Reading Mode) Click to filter discussion →
  1. A. AQE caches intermediate results in Delta Lake and replays them whenever the same query re-runs
  2. B. AQE only optimizes queries whose source tables are cached in memory — uncached tables always use the static plan, with no runtime re-optimization
  3. C. AQE re-optimizes at runtime using statistics from completed stages, coalescing partitions and converting sort-merge to broadcast joins
  4. D. AQE is disabled by default and must be enabled per query with the .hint('aqe') table hint
Reveal answer

Correct answer: AQE re-optimizes at runtime using statistics from completed stages, coalescing partitions and converting sort-merge to broadcast joins

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 (C): AQE re-optimizes at runtime using statistics from completed stages, coalescing partitions and converting sort-merge to broadcast joins

⚓ 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.