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 SQL Β· hard

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

Difference Between Truncate/Delete and Union/Union All – Performance and Usage

SQLhardetlspark0.5 min read
Presidio
β†’
22

Explain BigQuery Architecture.

SQLhardbigqueryjoinoptimization3.6 min read
EY
β†’
23

Articulate the architectural decisions, scalability trade-offs, and cost implications of designing an AWS data platform. How would you justify glue vs. EMR, Redshift vs. Athena, and when would each choice become cost-prohibitive at scale?

SQLhardjoinoptimizationpartition3.6 min read
Freecharge
β†’
24

Explain the architectural rationale for using LeftAntiJoin vs. NOT IN vs. NOT EXISTS in a distributed context. When does LeftAntiJoin become a performance or scalability bottleneck, and how do broadcast vs. shuffle joins affect cost?

SQLhardjoinpartition0.6 min read
Infosys
β†’
25

Explain the architectural trade-offs when optimizing a query on 100M+ rows: indexing vs. partitioning vs. materialized views. When does each approach become cost-prohibitive or operationally burdensome, and how do you quantify impact?

SQLhardoptimizationpartitionwindow0.5 min read
Bristol Myers Squibb
β†’
26

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
β†’
27

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
β†’
28

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

SQLhardjoinoptimizationpartition3.6 min read
Databricks
β†’
29

Given a CSV file with raw customer transactions, design an ETL pipeline that cleans data, aggregates total sales by region and product, and loads into target table

SQLhardetljoinoptimization3.6 min read
McKinsey
β†’
30

How do you design a scalable and fault-tolerant data warehouse on a cloud platform?

SQLhardjoinoptimizationpartition3.6 min read
HashedIn
β†’
31

How would you design a data model for an e-commerce platform?

SQLhardjoinoptimizationpartition3.6 min read
Swiggy
β†’
32

How would you optimize a SQL query for better performance when working with large datasets?

SQLhardjoinoptimizationpartition0.7 min read
Tredence
β†’
33

In Python, process a large CSV in chunks and remove duplicate records based on email and timestamp.

SQLhardpython0.5 min read
Amazon
β†’
34

Indexing - True/False question on indexes and query optimization

SQLhardjoinoptimization0.6 min read
Myntra
β†’
35

Kafka Basics - architecture, topics, partitions, producers, consumers, Zookeeper

SQLhardjoinoptimizationpartition3.6 min read
Lumiq
β†’
36

SQL Query Design: employees with highest salaries within each department

SQLhardjoinoptimizationpartition3.6 min read
Walmart
β†’
37

Schema Design: Star vs. Snowflake schema differences

SQLhardjoinoptimizationpartition3.6 min read
Zen Data Shastra
β†’
38

Snowflake Tech Stack: Deployment on Azure, cluster sizing considerations, and overall data warehouse design?

SQLhardjoinoptimizationpartition3.6 min read
Snowflake
β†’
39

Time and cost comparisons for executing the same query in Snowflake and Spark.

SQLhardetloptimizationsnowflake0.7 min read
Carelon
β†’
40

What are the benefits of BigQuery Warehouse?

SQLhardbigquerypartitionsql0.5 min read
EY
β†’

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
Previous123Next
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