Essential cookies keep authentication working. With your permission, we also use analytics cookies to understand and improve the product. Read our Privacy Policy

DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPricingBlog
ProLogin

Interview Questions

Real questions from top companies in Spark/Big Data

700+ Easy450+ Medium650+ Hard
All CategoriesBehavioralSpark/Big DataSQLPython/CodingSystem Design/ArchitectureCloud/ToolsGeneral/Othereasymediumhard
181

What is Shuffle and How to Handle It in Spark

Spark/Big Datamediumjoinpartitionspark0.5 min read
Nagarro
β†’
182

What role would Kafka or similar event-driven platforms play in your architecture?

Spark/Big Datahardetloptimizationpartition2.6 min read
Meesho
β†’
183

Write PySpark code to extract data from a CSV and create a table.

Spark/Big Datamediumpartitionpythonspark0.3 min read
HCL
β†’
184

Write PySpark code to filter and count records.

Spark/Big Dataeasypythonsparksql0.3 min read
Bitwise
β†’
185

Write PySpark code to filter records based on specific conditions and add a calculated column.

Spark/Big Dataeasypythonsparksql0.3 min read
Bristol Myers Squibb
β†’
186

Write PySpark code to save a DataFrame in Parquet format to an S3 bucket.

Spark/Big Datamediumpartitionpythonspark0.3 min read
Carelon
β†’
187

Write a PySpark code snippet to filter rows with a specific condition.

Spark/Big Dataeasypythonsparksql0.3 min read
Fragma Data Systems
β†’
188

Write a PySpark job that calculates the number of unique users who logged in per day, but exclude any logins from inactive users listed in a separate file.

Spark/Big Datamediumjoinpartitionpython0.3 min read
Dunnhumby
β†’
189

Write a PySpark script to check for missing values and duplicate rows in a DataFrame. How would you ensure data quality before saving it to a storage system?

Spark/Big Datahardpartitionspark0.9 min read
Dunnhumby
β†’
190

Write a PySpark script to filter out invalid records from a dataset and calculate the average for a specific column, ensuring the schema is strictly defined at runtime.

Spark/Big Datamediumpartitionspark0.7 min read
Bristol Myers Squibb
β†’
191

Write a PySpark script to process data stored in Delta format and transform it into Parquet.

Spark/Big Datamediumpartitionspark0.7 min read
Tredence
β†’
192

Write a PySpark script to read a CSV file, filter rows where the age column is less than 18, and write the result to a new CSV file.

Spark/Big Datamediumpartitionspark0.6 min read
Freight Tiger
β†’
193

Write a Spark job to count word occurrences from an S3 dataset.

Spark/Big Datahardoptimizationpartitionspark0.6 min read
Daniel Wellington
β†’
194

Write a complete PySpark program from import statements to the stop statement, covering transformations and actions.

Spark/Big Datamediumjoinpartitionpython0.6 min read
Carelon
β†’
195

Write a transformation in PySpark to join and clean multiple raw input sources

Spark/Big Datamediumjoinpartitionpython0.7 min read
Netflix
β†’
196

Write code to read data from Delta Lake in S3 and perform upsert based on primary key

Spark/Big Datamediumpartitionspark0.6 min read
Walmart
β†’
197

Write maintainable, efficient Pandas or PySpark code.

Spark/Big Datamediumjoinpartitionpython0.6 min read
Apple
β†’
198

Writing Excel sheets to Delta tables in Databricks

Spark/Big Dataeasyspark0.5 min read
Nihilent
β†’
199

You are given 10 worker machines with 100 GB RAM and 25 CPU cores. How would you determine the number of executors and the size of each executor?

Spark/Big Dataeasyspark0.7 min read
Meesho
β†’
200

Your Kafka producer schema has changed, and the new data includes additional fields. How would you ensure backward compatibility using Schema Registry while consuming data from the same topic?

Spark/Big Datamediumpartition0.6 min read
Dunnhumby
β†’

Reading isn't practice. Get AI feedback on your answers.

Type or paste your answer to any of these questions and our AI Coach scores it, highlights gaps, and rewrites it at FAANG quality. Free to try.

Try AI Answer Coach β€” FreeStart a Mock Interview
Previous1...891011Next
Categories
All QuestionsSQLSpark / Big DataPython / CodingSystem DesignCloud / ToolsBehavioral
By Company
AmazonGoogleDatabricksSnowflakeAWSAzureMicrosoftNetflixUberTCS
Interview Guides
All GuidesTop SQL QuestionsTop Spark QuestionsPySpark QuestionsTop Python QuestionsTop System DesignKafka QuestionsAirflow QuestionsSQL Window FunctionsETL QuestionsData Modeling
Products
AI Interview CoachAnswer AnalyzerSQL PlaygroundResume AnalyzerAnswer Vault PDFsPricing
Company
About & Editorial PolicyContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
Β© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer