DataEngPrep.tech
QuestionsBlogStore
Get PDF Bundle

Interview Questions

Real questions from top companies · hard

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

Describe the data pipeline architecture you've worked with.

System Design/Architecturehardjoinoptimizationpartition3 min read
Fragma Data SystemsGrover
→
22

Explain the trade-offs between batch and real-time data processing. Provide examples of when each is appropriate.

System Design/Architecturehardjoin0.8 min read
ExpediaSwiggy
→
23

Have you worked on Data Warehousing projects?

General/Otherhardbigqueryetloptimization0.7 min read
AareteDunnhumby
→
24

Retrieve the most recent sale_timestamp for each product (Latest Transaction).

General/Otherhardbigquerypartitionsnowflake0.6 min read
PresidioSwiggy
→
25

What is the difference between OLTP and OLAP?

General/Otherhardbigqueryetljoin0.7 min read
AareteDunnhumbyFragma Data Systems
→
26

Difference Between Internal and External Tables in BigQuery

SQLhardbigqueryoptimizationpartition0.6 min read
EYIncedoTech Mahindra
→
27

How do you optimize a long-running SQL query?

SQLhardjoinoptimizationpartition0.6 min read
AareteDunnhumbyIncedo
→
8

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 Datahard
9

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 Datahard
10

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 Datahard
11

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 Datahard
12

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 Datahard
13

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 Datahard
14

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 Datahard
15

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 Datahard

+13 More Questions with Expert Answers

Get the complete 1,800+ question library with detailed, expert-level answers covering SQL, Spark, System Design, Python, Cloud, and Behavioral topics.

Get PDF Bundle — from $21Try Free Sample
Previous1234...34Next