Jump to another module Cost & Performance Optimisation (part 1 of 2) Cost & Performance Optimisation (part 2 of 2) Developing Code for Data Processing using Python and SQL Data Governance Ensuring Data Security and Compliance (part 1 of 2) Ensuring Data Security and Compliance (part 2 of 2) Debugging and Deploying (part 1 of 2) Debugging and Deploying (part 2 of 2) Monitoring and Alerting Data Ingestion & Acquisition Data Transformation, Cleansing, and Quality (part 1 of 2) Data Transformation, Cleansing, and Quality (part 2 of 2) Data Modelling Data Sharing and Federation Question 1 of 35 All questionsA data engineer runs a groupBy aggregation on a massive user-activity log, grouping by user_id. A small number of users have millions of records, resulting in task skew and long execution times.
Which technique will resolve the skew in this aggregation?
A A. Increase the Spark driver memory and retry. B B. Filter out the skewed users before the aggregation C C. Use salting by adding a random prefix to skewed keys before aggregation, then aggregate again after removing the prefix. D D. Use reduceByKey instead of groupBy to avoid shuffles.
Previous Check answer
A –D selectEnter check answerF flag← → move? all shortcuts