Hexaware Technologies Interview Question

how you can optimize spark jobs