DataEngPrep.tech
QuestionsPracticeAI CoachDashboardPacksBlog
ProLogin

Interview Questions

Real questions from top companies

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

What is the difference between OLTP and OLAP?

SQLmediumbigquerysnowflake0.4 min read
ChryselysEY
→
102

Write a SQL query to find top 3 earners in each department.

SQLmediumpartitionsql0.4 min read
FedEx DataworksIncedo
→
103

Write a query to find the top three highest-paid employees in each department using window functions.

SQLmediumpartitionwindow0.4 min read
Bristol Myers SquibbWipro
→
104

Write complex SQL queries involving multiple joins, subqueries, and data aggregation logic.

SQLmediumjoinpartitionsql0.7 min read
AppleTiger Analytics
→
105

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.

Spark/Big Datahardspark0.7 min read
AltimetrikInfosys
→
106

When would you architecturally choose Dataset[T] over DataFrame in a Scala Spark pipeline, and what are the scalability and portability trade-offs? Include type-safety benefits vs. operational constraints.

Spark/Big Dataeasyetlpythonspark0.6 min read
CoforgeLTIMindtree
→
107

Convert complex SQL (CTEs, window functions, subqueries) to production-grade PySpark. Discuss when to use spark.sql() vs. DataFrame API, and the implications for testability, partitioning, and execution predictability.

Spark/Big Datamediumpartitionpythonspark0.8 min read
DatameticaS&P Global
→
108

Design a cost-aware resource strategy for a Databricks workload with spiky and batch jobs. Explain Dynamic Resource Allocation, when to disable it, and how min/max executors and spot instances affect cost and SLAs.

Spark/Big Datahardjoinoptimizationpartition2.9 min read
LTIMindtreePWC
→
109

Design an anti-skew strategy for a join on a high-cardinality key with a long-tail distribution (e.g., a few keys hold 80% of rows). Cover salting, split-skew, AQE, and cost/operational trade-offs.

Spark/Big Datahardjoinoptimizationpartition3 min read
Fragma Data SystemsMatrix
→
110

Prioritize Spark optimizations by impact and effort. Discuss partitioning strategy, caching policy, join selection, shuffle reduction, and when each becomes a scalability or cost bottleneck.

Spark/Big Datahardjoinoptimizationpartition0.6 min read
FreechargeSnowflake
→
111

Explain how Adaptive Query Execution changes the economics of Spark tuning. What problems does it solve at runtime, and when might you still need manual intervention (e.g., salting, broadcast hints)?

Spark/Big Datamediumjoinpartitionspark0.6 min read
FedEx DataworksPWC
→
112

Walk through the three AQE features in Spark 3.x (coalesce, join switch, skew join)—how they operate at shuffle boundaries, which configs enable them, and what happens when AQE cannot help.

Spark/Big Datahardjoinoptimizationpartition0.6 min read
HashedInSnowflake
→
113

Explain wide vs. narrow transformations and how they drive shuffle cost, failure domains, and pipeline design. When would you intentionally add a wide transformation, and how do you minimize its impact?

Spark/Big Datahardjoinoptimizationpartition2.7 min read
FedEx DataworksZen Data Shastra
→
114

Design a Delta table layout for mixed workload: point lookups by user_id, range scans by date, and full partition scans. Compare partitioning vs. Z-ordering—when to use each, and the rewrite cost trade-off.

Spark/Big Datahardjoinoptimizationpartition2.6 min read
BCGIncedo
→
115

Architecturally, how do Job–Stage–Task boundaries in Spark's execution model impact cluster sizing, shuffle cost, and when would you deliberately collapse or split stages?

Spark/Big Datahardoptimizationpartitionspark0.9 min read
FedEx DataworksFreight Tiger
→
116

Design a fault-tolerant Spark Streaming checkpoint strategy: what to persist, recovery semantics, and cost/scalability trade-offs with checkpoint frequency.

Spark/Big Datahardjoinoptimizationpartition2.5 min read
MeeshoTCS
→
117

Architect incremental load in ADF + Databricks with idempotency, late-arrival handling, and cost/scalability implications of watermark vs. change data capture.

Spark/Big Datamediumpartition1 min read
DeloitteIncedo
→
118

Explain strategies for managing schema changes in PySpark over time.

Spark/Big Datamediumpartitionspark0.8 min read
AccentureYash Technologies
→
119

Explain the Medallion Architecture (Bronze, Silver, Gold layers).

Spark/Big Datahardjoinoptimizationpartition2.6 min read
ChubbKaseya
→
120

Explain the benefits of using DataFrames over RDDs.

Spark/Big Datahardjoinoptimizationpartition0.6 min read
Fragma Data SystemsYash Technologies
→

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...45678...94Next
Categories
All QuestionsSQLSpark / Big DataPython / CodingSystem DesignCloud / ToolsBehavioral
By Company
AmazonGoogleDatabricksSnowflakeMicrosoftNetflixUberTCS
Interview Guides
All GuidesTop SQL QuestionsTop Spark QuestionsTop Python QuestionsTop System DesignSQL Window FunctionsETL QuestionsData Modeling
Products
AI Interview CoachAnswer AnalyzerSQL PlaygroundResume AnalyzerInterview PacksPricing
Company
About UsContact UsAI DisclosureDisclaimerTerms of ServicePrivacy Policy
© 2026 DataEngPrep.tech. All rights reserved.
AboutBlogContactDisclaimer