0
0
HLDsystem_design~20 mins

Database normalization vs denormalization in HLD - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Database Design Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the main goal of normalization
What is the primary purpose of database normalization in system design?
ATo combine all data into a single table for simplicity
BTo increase the number of tables for faster queries
CTo duplicate data across tables for backup
DTo reduce data redundancy and improve data integrity
Attempts:
2 left
💡 Hint
Think about how normalization helps keep data consistent and organized.
Architecture
intermediate
2:00remaining
Choosing denormalization for read-heavy systems
In which scenario is denormalization most beneficial for a database design?
AWhen the system requires fast read queries with fewer joins
BWhen data consistency is the highest priority
CWhen the database size must be minimized
DWhen the system has very few users and low traffic
Attempts:
2 left
💡 Hint
Denormalization duplicates data to speed up reads.
scaling
advanced
2:00remaining
Impact of normalization on write scalability
How does strict normalization affect the scalability of write operations in a high-traffic database?
AIt can slow down writes due to multiple table updates and constraints
BIt speeds up writes by reducing the number of tables involved
CIt eliminates the need for transactions during writes
DIt has no effect on write performance
Attempts:
2 left
💡 Hint
Consider how many tables and constraints a write must touch in normalized design.
tradeoff
advanced
2:00remaining
Tradeoffs between normalization and denormalization
Which of the following best describes a key tradeoff when choosing between normalization and denormalization?
ANormalization always improves performance; denormalization always reduces storage
BNormalization improves data integrity but may reduce read performance; denormalization improves read speed but risks data inconsistency
CDenormalization eliminates the need for backups; normalization requires frequent backups
DNormalization and denormalization have no impact on system complexity
Attempts:
2 left
💡 Hint
Think about the balance between data accuracy and query speed.
estimation
expert
2:00remaining
Estimating storage impact of denormalization
A normalized database stores 100GB of data. If denormalization duplicates 30% of the data across tables to speed up reads, approximately how much storage will the denormalized database require?
A70GB
B100GB
C130GB
D230GB
Attempts:
2 left
💡 Hint
Calculate original size plus 30% extra for duplicated data.