Spark & Big Data questions from Citi data engineering interviews.
These spark & big data questions are sourced from Citi data engineering interviews. Each includes an expert-level answer.
What is the difference between repartition and coalesce in Apache Spark?
What is the difference between SparkSession and SparkContext in Spark?
What strategies can you use to handle skewed data in Spark?
What is the difference between Managed and External tables in Hive/Spark?
Explain the concept of checkpointing in Spark and why it is important.
Describe how to pass data between tasks in Airflow using XComs.
Explain the concept of RDD, DataFrame, and Dataset in PySpark.
Explain the concept of consumer groups in Kafka. How do they affect message processing?
Explain the difference between TriggerDagRunOperator and ExternalTaskSensor in Airflow.
How do you ensure data quality and consistency across different stages of a data pipeline?
How do you handle failures in Airflow tasks, and what retry strategies can you use?
How do you optimize a join operation in Spark for large datasets?
How would you design a Kafka-based pipeline for processing streaming data in real-time?
Methods to avoid duplicates in PySpark/Scala?
Usage of UDFs?
What is a DAG in Apache Airflow, and how is it used for scheduling workflows?
Download the complete interview prep bundle with expert answers. Study offline, on your commute, anywhere.