Question 170
A query requests one month from a multi-year Delta history yet reads most files because records are randomly distributed across dates. A team partitions by a nearly unique transaction ID and creates millions of directories of tiny files. Which course of action addresses the stated issues?
Explanation
Correct Answer
Data skipping is more effective when file statistics separate relevant and irrelevant ranges. Extremely high-cardinality partitions increase metadata and file-management overhead.
Incorrect Answers
Opaque UDF predicates can prevent the optimizer from pushing down selective conditions; Requirement 1 requires: improve physical locality or clustering for the date predicate and verify file-pruning metrics.
Extremely high-cardinality partitions increase metadata and file-management overhead; Requirement 1 requires: improve physical locality or clustering for the date predicate and verify file-pruning metrics.
Columnar storage can avoid unnecessary reads only when the plan does not request those columns; Requirement 2 requires: redesign layout around lower-cardinality filters or supported clustering rather than transaction-ID partitioning.






Certified Data Engineer Professional Practice Tests