Noos
PT EN
RAN-DBDEA-00095
Ranvier · DBDEA

Exam DBDEA Topics: troubleshooting Difficulty: medium

A Delta table was created with Liquid Clustering using `CLUSTER BY (region, order_date)`. Usage has shifted: most queries now filter by `customer_id`, and region filters are rare. The table holds several years of data that must not be rewritten wholesale. How can the clustering keys be adapted?

Options (Reading Mode) Click to filter discussion →
  1. A. They cannot be changed: clustering keys are fixed at table creation, so the team must copy the data into a new table clustered by the new keys
  2. B. Run OPTIMIZE orders ZORDER BY (customer_id) to layer ZORDER columns on top of the existing clustering
  3. C. Recreate the table with CREATE OR REPLACE TABLE orders CLUSTER BY (region, customer_id) and reinsert all rows during the next maintenance window
  4. D. Run ALTER TABLE orders CLUSTER BY (region, customer_id): new keys apply to new writes, and OPTIMIZE re-clusters incrementally
Reveal answer

Correct answer: Run ALTER TABLE orders CLUSTER BY (region, customer_id): new keys apply to new writes, and OPTIMIZE re-clusters incrementally

Reference: https://docs.databricks.com/aws/en/tables/clustering

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 (D): Run ALTER TABLE orders CLUSTER BY (region, customer_id): new keys apply to new writes, and OPTIMIZE re-clusters incrementally

⚓ Official Documentation Anchor: https://docs.databricks.com/aws/en/tables/clustering
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.