Bird
Raised Fist0
HLDsystem_design~20 mins

Product catalog design in HLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Product Catalog Design Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
Designing a scalable product catalog architecture

You need to design a product catalog system that can handle millions of products and thousands of concurrent users. Which architectural approach best supports scalability and fast product search?

AUse a monolithic database with vertical scaling and cache all product data in memory.
BUse a relational database with heavy normalization and rely solely on SQL queries for search.
CStore all product data in flat files on a single server and use periodic batch processing for search indexing.
DUse a distributed NoSQL database with sharding and integrate a dedicated search engine like Elasticsearch.
Attempts:
2 left
💡 Hint

Think about how to handle large data volumes and fast search queries efficiently.

scaling
intermediate
2:00remaining
Estimating capacity for product catalog traffic

Your product catalog expects 10,000 requests per second at peak. Each request reads product details averaging 5 KB. What is the approximate network bandwidth needed to handle this load?

A500 Mbps
B400 Mbps
C800 Mbps
D50 Mbps
Attempts:
2 left
💡 Hint

Calculate bandwidth as requests per second multiplied by data size per request, then convert to Mbps.

tradeoff
advanced
2:00remaining
Choosing between SQL and NoSQL for product catalog

Which tradeoff is most accurate when deciding between SQL and NoSQL databases for a product catalog with complex relationships and frequent updates?

ANoSQL always provides better performance and consistency than SQL for all workloads.
BSQL offers strong consistency and complex queries but may scale less easily; NoSQL scales well but may sacrifice consistency and complex joins.
CSQL databases cannot handle product catalogs with millions of products efficiently.
DNoSQL databases require no schema design and are always easier to maintain.
Attempts:
2 left
💡 Hint

Consider consistency, query complexity, and scalability tradeoffs.

🧠 Conceptual
advanced
2:00remaining
Handling product attribute variability in catalog design

Products have widely varying attributes (e.g., electronics vs. clothing). Which design approach best supports flexible attribute storage without schema changes?

AUse a fixed relational schema with columns for all possible attributes, leaving many nulls.
BCreate separate tables for each product category with fixed attributes.
CUse a document-oriented NoSQL database storing attributes as flexible key-value pairs.
DStore all attributes as a single JSON string in a relational text column without indexing.
Attempts:
2 left
💡 Hint

Think about flexibility and ease of adding new attributes.

component
expert
3:00remaining
Designing a product catalog update workflow

Which component sequence best ensures consistent product updates with minimal downtime and supports rollback in case of errors?

A1, 2, 3, 4
B2, 1, 3, 4
C1, 3, 2, 4
D3, 1, 2, 4
Attempts:
2 left
💡 Hint

Consider the logical order for safe updates and testing before production deployment.