**Section 1 — The Context (The 'Why')** The primary challenge in choosing and justifying an architecture is alignment between technical complexity, operational cost, and business latency requirements. A naive monolithic pipeline fails when schema evolution hits, when a single...
**Pro-Move**: Explicitly discuss retention tiers (Bronze 90d hot, 1yr Glacier) and cost per tier. **Red Flag**: Describing architecture without 'why' or trade-offs.
This hard-level System Design/Architecture question appears frequently in data engineering interviews at companies like Cognizant, HCL, Nagarro, and 2 others. While less common, it tests deeper understanding that distinguishes strong candidates. Mastering the underlying concepts (airflow, etl, join) will help you answer variations of this question confidently.
This is a senior-level question that tests architectural thinking. Lead with the high-level design, then drill into specifics. Discuss trade-offs explicitly - there is rarely one correct answer. Show awareness of scale, fault tolerance, and operational complexity. The expert answer includes a code example that demonstrates the implementation pattern.
Section 1 — The Context (The 'Why')
The primary challenge in choosing and justifying an architecture is alignment between technical complexity, operational cost, and business latency requirements. A naive monolithic pipeline fails when schema evolution hits, when a single component becomes a bottleneck, or when teams scale—causing coordination overhead and deployment risk. At scale, failure modes include cascade failures from tight coupling, data staleness exceeding SLAs, and cost explosion from over-provisioning.
Section 2 — The Diagram
[Sources] --> [Bronze] --> [Silver] --> [Gold]
| | | |
v v v v
[CDC/API] [Delta] [Merge] [Marts]
Section 3 — Component Logic
The Bronze layer ingests raw data from CDC streams, APIs, and batch sources. It uses append-only Delta tables and serves as an immutable audit trail. We choose append because replay and debugging require exact reproduction of events—idempotency at downstream layers depends on deterministic ordering. The Silver layer applies schema enforcement, deduplication via merge-on-read, and type casting. TTL policies on Bronze enable cost control by moving cold data to cheaper storage after 90 days. The Gold layer produces business-level aggregates and star schemas. Partitioning strategies here use date and tenant keys to enable partition pruning. Data skew mitigation in Silver uses salting for high-cardinality keys during joins.
Section 4 — The Trade-offs (The 'Senior' part)
This answer is partially locked
Unlock the full expert answer with code examples and trade-offs
Practice real interviews with AI feedback, track progress, and get interview-ready faster.
Pro starts at $19/mo - cancel anytime
Trusted by 10,000+ aspiring data engineers
Master 678 general/other questions with expert answers. Real questions from 97+ companies.
84 min read →Master 179 system design/architecture questions with expert answers. Real questions from 97+ companies.
22 min read →According to DataEngPrep.tech, this is one of the most frequently asked System Design/Architecture interview questions, reported at 5 companies. DataEngPrep.tech maintains a curated database of 1,863+ real data engineering interview questions across 7 categories, verified by industry professionals.