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 Β· medium

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

Write a SQL query to find the top 5 products by sales per region.

SQLmediumpartitionsql2 min read
Fragma Data Systems
β†’
182

Write a query to calculate Monthly Active Users (MAUs) for July 2022

SQLmediumpartition2 min read
NASDAQ
β†’
183

Write a query to find the total number of rides per driver in the last 30 days.

SQLmedium2 min read
Uber
β†’
184

Write a self join query to get the manager's name for each employee.

SQLmediumjoin1 min read
Gartner
β†’
185

Write code to find the third-highest salary in a dataset using Pandas.

SQLmediumspark2 min read
Chryselys
β†’
186

Broadcast Joins and Shuffle Merge Joins?

Spark/Big Datamediumjoinsparksql0.5 min read
Snowflake
β†’
187

Can you explain the concept of mappers in Spark, and how are they used in data transformations?

Spark/Big Datamediumpartitionspark0.5 min read
Infosys
β†’
188

Code a simple PySpark job to read a JSON file, filter records, and write output in Parquet format.

Spark/Big Datamediumpartitionpythonspark0.5 min read
American Express
β†’
189

How do you handle out-of-memory errors in Spark jobs?

Spark/Big Datamediumjoinpartitionspark0.5 min read
Fragma Data Systems
β†’
190

How do you handle very large datasets in Spark to ensure scalability and efficiency?

Spark/Big Datamediumjoinpartitionspark0.5 min read
Coforge
β†’
191

Provide specific examples of challenges faced with PySpark and SQL and solutions implemented.

Spark/Big Datamediumjoinpartitionspark0.5 min read
S&P Global
β†’
192

Split a DataFrame such that even numbers appear in one column and odd numbers in another

Spark/Big Datamediumpartitionpythonspark0.5 min read
KPMG
β†’
193

Steps to mount storage in Databricks.

Spark/Big Datamediumsparkwindow0.5 min read
Chubb
β†’
194

Transformation vs. Action in PySpark?

Spark/Big Datamediumjoinpartitionspark0.6 min read
Comcast
β†’
195

What Hadoop command would you use to merge multiple files into one?

Spark/Big Datamediumpartitionspark0.5 min read
Infosys
β†’
196

What are the limitations of the REORG command with respect to large datasets?

Spark/Big Datamediumpartition0.5 min read
PWC
β†’
197

What causes Out of Memory (OOM) issues in Databricks, and how do you resolve them?

Spark/Big Datamediumpartitionspark0.5 min read
PWC
β†’
198

What is Shuffle and How to Handle It in Spark

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

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

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

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

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

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