EXL Service interview question

Focus on coding with syntax not just logic. Write the code in both sql and spark. Basic understanding of AWS services used.