Python SQL Quiz Data Engineering
Python SQL Quiz Data Engineering
1. What is the difference between @staticmethod, @classmethod, and instance methods in Python?
2. How do you handle large CSV files in Python without exhausting memory?
3. Write a Python script to read a JSON file from S3 and send an SNS alert if a certain key is
missing.
5. How do you implement retry logic in Python for an API call that might fail intermittently?
6. Write a SQL query to find duplicate records in a table based on two columns.
7. How do you get the second highest salary in each department using SQL?
10. What indexing strategies can you use to improve join performance on large tables?