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
981

Implement a recursive query for hierarchy (employee-manager). Explain the termination guarantees, depth limits, and when a recursive CTE becomes a scalability bottleneck. What alternatives exist for graph-scale hierarchies in Spark or a data lake?

SQLmediumjoinspark0.6 min read
American Express
β†’
982

Explain bloom filters in Spark: how they reduce I/O and when they introduce false positives that hurt performance. What are the scalability and cost implications of enabling dynamic partition pruning and bloom filter pushdown at petabyte scale?

SQLhardjoinoptimizationpartition0.5 min read
American Express
β†’
983

Design a star schema for retail analytics (e.g., Adidas). Explain the dimensional modeling choices, SCD strategy, and how you would scale this schema for global multi-currency, multi-region deployments. What are the refresh and storage cost implications?

SQLhardjoinoptimizationpartition3.6 min read
Adidas
β†’
984

Compare Glue partition discovery with Hive MSCK/ADD PARTITION. Explain the operational and cost implications of crawler-based vs. partition-projection approaches. When does partition projection become necessary, and what are its limitations?

SQLmediumpartition0.5 min read
Capco
β†’
985

Explain how partitioning and bucketing in Hive/Spark optimize queries. What are the trade-offs in bucket count, partition cardinality, and small-file problem? When does over-partitioning or over-bucketing become counterproductive?

SQLmediumjoinpartitionspark0.6 min read
Adidas
β†’
986

Explain how to flatten a multi-level nested JSON file while loading it into BigQuery.

SQLeasybigqueryetl0.4 min read
Aarete
β†’
987

Explain how to implement cumulative sum in SQL.

SQLmediumpartitionsparksql0.3 min read
Hexaware
β†’
988

Explain how you would implement partitioning and bucketing for data stored in S3 to improve query performance.

SQLmediumjoinpartitionspark0.3 min read
EPAM
β†’
989

Explain how you would optimize Redshift query performance for a reporting system with large fact tables.

SQLmediumjoin0.4 min read
Capco
β†’
990

Explain how you would use repartition or coalesce effectively to optimize processing when analyzing data only for a specific region.

SQLmediumpartition0.4 min read
Dunnhumby
β†’
991

Explain indexing and its impact on database performance.

SQLmediumbigqueryjoinpartition0.3 min read
Goldman Sachs
β†’
992

Explain normalization and its disadvantages.

SQLmediumjoin0.3 min read
Gartner
β†’
993

Explain normalization in databases and its importance. Write an SQL query to handle SCD-1 or SCD-3

SQLeasysql0.4 min read
Meesho
β†’
994

Explain offset management, Sync vs. Async commits, partition assignment strategies and Consumer groups, and handling backpressure in Kafka streams.

SQLmediumpartition0.4 min read
Expedia
β†’
995

Explain peer code review and team lead review.

SQLhard0.3 min read
Gartner
β†’
996

Explain row_number, rank, and dense_rank with examples.

SQLmediumpartition0.3 min read
Fractal
β†’
997

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

SQLhardjoinoptimizationpartition3.6 min read
Databricks
β†’
998

Explain the difference between a clustered and non-clustered index.

SQLmediumjoinsql0.3 min read
Gartner
β†’
999

Explain the difference between a fact table and a dimension table.

SQLmediumjoin0.3 min read
Gartner
β†’
1000

Explain the difference between a primary key and a unique key.

SQLmediumjoinsql0.3 min read
Gartner
β†’

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...4849505152...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