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?
SQLhard
162
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?
SQLmedium
163
Explain how you would implement partitioning and bucketing for data stored in S3 to improve query performance.
SQLmedium
164
Explain how you would optimize Redshift query performance for a reporting system with large fact tables.
SQLmedium
165
Explain indexing and its impact on database performance.
SQLmedium
166
Explain normalization and its disadvantages.
SQLmedium
167
Explain the Medallion Architecture (Bronze, Silver, Gold).
SQLhard
168
Explain the difference between a clustered and non-clustered index.
SQLmedium
+20 More Questions with Expert Answers
Unlock all 1,800+ expert answers, AI mock interviews, resume analyzer, SQL playground, and personalized progress tracking.