Question 300
An equijoin with a known skewed key takes minutes after other tasks finish, but repartitioning uniformly on the same key changes nothing. Two tables have incompatible join-key types and Spark performs repeated casts that slow matching and obscure bad data. Which response best addresses these needs?
Explanation
Correct Answer
Hash repartitioning alone cannot split all records of one identical join key. Consistent key representation improves correctness and can reduce avoidable conversion cost.
Incorrect Answers
Enable or tune skew-aware adaptive handling and address the hot key specifically; compare alternative physical join plans with representative data before retaining a forced strategy; join hints should be justified by current sizes and cardinality, not preference; Requirement 2 requires: normalize join-key types and null handling before joining and verify matched row counts.
Evaluate a supported broadcast join and measure its effect on shuffle volume; Normalize join-key types and null handling before joining and verify matched row counts; replicating a genuinely small lookup can avoid a large distributed exchange; Requirement 1 requires: enable or tune skew-aware adaptive handling and address the hot key specifically.
Normalize join-key types and null handling before joining and verify matched row counts; do not enable or tune skew-aware adaptive handling and address the hot key specifically: enable or tune skew-aware adaptive handling and address the hot key specifically.






Certified Data Engineer Professional Practice Tests