Question 700
A lakehouse architecture team designs a fact table with multiple query patterns. An auditor must prove the outcome of Reject the high-cardinality partition plan and choose clustering or a better low-cardinality layout for this requirement: A data engineer proposes partitioning by a unique transaction identifier. Which test result is best?
Explanation
Correct Answer
The acceptance criterion for “A data engineer proposes partitioning by a unique transaction identifier” is The table avoids one-file-per-key patterns and maintains manageable file count; this is the expected evidence after Reject the high-cardinality partition plan and choose clustering or a better low-cardinality layout.
Incorrect Answers
File layout changes and targeted query scan cost decreases would demonstrate the separate action Run supported `OPTIMIZE` or automatic clustering maintenance, which addresses “A large table is already liquid clustered on a new key but old files are not reorganized.” It does not verify the requirement “A data engineer proposes partitioning by a unique transaction identifier” following Reject the high-cardinality partition plan and choose clustering or a better low-cardinality layout.
This signal belongs to the adjacent case “Queries commonly filter on different high-cardinality attributes that change over time,” whose remedy is Use supported liquid clustering rather than creating thousands of tiny partitions. The observed result for the present requirement is The table avoids one-file-per-key patterns and maintains manageable file count.
File count and average file size improve in that table pertains to a different control (Execute a scoped OPTIMIZE maintenance job during a suitable window) and a different need (One unusually fragmented table needs a controlled immediate compaction). It cannot establish that Reject the high-cardinality partition plan and choose clustering or a better low-cardinality layout met the stated goal.