Spark & Big Data questions from Altimetrik data engineering interviews.
These spark & big data questions are sourced from Altimetrik data engineering interviews. Each includes an expert-level answer.
What is the difference between SparkSession and SparkContext in Spark?
Architecturally, how would you justify or challenge Hadoop vs. a cloud-native data lake (S3 + EMR/Databricks) for a greenfield enterprise data platform? Discuss scalability ceilings, cost model trade-offs, and operational complexity.
How would you read data from a web API using PySpark?
What is broadcasting in Spark, and why is it used? Can you give an example of its use?
What is the difference between Managed and External Tables in Databricks?
What is the difference between map and flatMap in Spark, and when would you use each?
What work is done by the executor memory in Spark?
When and how do you use Broadcast Join?
Why is SparkSession used in Spark 2.0 and later versions?
Write a Python script to find the count of each word in a text file using Spark.
Write the PySpark code to find the second highest salary in each department.
Explain Bronze/Silver/Gold Layers.
How do you initiate a DAG in Airflow?
How to handle null value in a single column in PySpark?
Sqoop Incremental Import?
What are Hadoop commands for Get and Merge?
What is YARN?
Download the complete interview prep bundle with expert answers. Study offline, on your commute, anywhere.