Enterprise Data Engineering Capstone
The ultimate Data Engineering challenge. Architect, build, and deploy an enterprise-grade lakehouse and warehouse platform combining batch ETL, real-time streaming, CDC replication, REST API integration, ML feature stores, CI/CD automation, and Snowflake serving with rigorous data governance.
Project Brief
Synthesize foundational, intermediate, advanced, and expert engineering capabilities into a production platform.
Enterprise Business Scenario
A multinational omnichannel retail conglomerate operates hundreds of physical department stores, high-throughput e-commerce platforms, and a direct-to-consumer mobile application. The enterprise is undergoing a comprehensive digital transformation to unify its fragmented data landscape into a unified, modern analytics and AI platform.
The company currently receives data across five distinct ingestion channels: continuous customer profile CDC streams from transactional databases, high-volume batch sales files from store servers, real-time event streams from online checkouts, external product catalog feeds via REST APIs, and store reference hierarchies from ERP systems.
Capstone Development Objective
As the Lead Data Platform Architect, you must design, build, test, and deploy the complete end-to-end Enterprise Data Platform. The solution must ingest all five data sources across batch, streaming, CDC, and REST protocols; standardize and curate records through an immutable Medallion Lakehouse (Bronze, Silver, Gold); generate leakage-free ML feature stores; publish an enterprise dimensional data mart to Snowflake; orchestrate dependencies with automated retries; and implement automated GitHub Actions CI/CD workflows with automated rollback and comprehensive observability.
Expected Outcome
This capstone challenge evaluates complete data engineering competency: architectural design, distributed compute optimization, schema evolution, streaming state management, DataOps automation, and financial reconciliation.
Source System
Inspect the five enterprise data feeds, ingestion protocols, update frequencies, and schema contracts.
Five Ingestion Feeds Overview
The capstone platform integrates five heterogeneous enterprise sources:
Source Feeds Contract Matrix
Known Complex Edge Cases
The platform must achieve complete decoupling. A network failure in the product catalog API or a delayed batch file must never compromise the real-time sales stream or corrupt historical customer master state.
Expected Architecture
Unified Medallion Lakehouse & Warehouse architecture combining Batch, Streaming, CDC, ML, and CI/CD.
Capstone End-to-End Flow
The architecture implements a multi-protocol ingestion layer, an immutable Medallion Lakehouse in Databricks/Delta Lake, an automated ML Feature Store, and a dimensional serving layer in Snowflake.
Architecture Expectations
The capstone represents a cohesive enterprise platform. Every componentβfrom ingestion to ML features and CI/CDβmust work in harmony, demonstrating complete production readiness.
Development Requirements
Comprehensive engineering requirements across architecture, ingestion, streaming, CDC, ML, CI/CD, and governance.
Developer Responsibilities
The capstone implementation must fulfill requirements across 8 core engineering disciplines:
Multi-Protocol Ingestion Pipelines
Ingest all five heterogeneous enterprise feeds.
Medallion Lakehouse Architecture
Deploy structured Bronze, Silver, and Gold Delta Lake layers.
CDC State Resolution & Deduplication
Materialize current customer master state from change streams.
Real-Time Streaming & Watermarking
Process streaming transactions and compute operational windowed KPIs.
Leakage-Free ML Feature Store
Engineer behavioral customer features for machine learning.
Enterprise Dimensional Modeling
Build and deploy a conformed Star Schema in Snowflake.
Automated GitHub Actions CI/CD
Automate testing, packaging, deployment, and rollback.
Data Quality, Quarantine & Observability
Enforce zero silent data loss and complete operational monitoring.
You must make all underlying engineering decisions regarding table partitioning, watermark durations, surrogate key algorithms, and cluster configurations. Document your architectural choices and justify them.
Testing Requirements
Execute comprehensive test suites across 24 rigorous enterprise validation scenarios.
24 Required Verification Scenarios
The capstone platform must be validated against all 24 required test scenarios:
Passing all 24 verification scenarios with documented test outputs proves your platform is resilient against every category of real-world production failure.
Acceptance Criteria
Verify that the capstone platform meets all production Definition of Done criteria.
Definition of Done
The capstone platform is accepted when all 12 master criteria are satisfied:
Sign-off requires evidence demonstrating complete end-to-end integration, passing all 24 test scenarios, and proving 100% financial reconciliation in Snowflake.
Developer Deliverables
Submit all source modules, Medallion pipelines, feature stores, CI/CD workflows, and test evidence.
Required Deliverables
The capstone submission must include the following 12 artifacts:
Organize your capstone repository cleanly so that peer architects can inspect every tierβfrom raw ingestion to CI/CD workflows and analytical martsβwithout ambiguity.
Engineering Constraints
Adhere to strict operational, security, and architectural boundaries for the enterprise capstone.
Required Boundaries
The solution must strictly comply with the following 10 constraints:
Failing to handle late-arriving CDC events, leaking future data into ML features, or skipping automated rollback will result in capstone review rejection.
Suggested Project Structure
Recommended enterprise repository layout for the capstone platform.
Recommended Project Layout
Structure your capstone repository to separate ingestion protocols, lakehouse tiers, ML feature store, CI/CD, and tests:
DEV-010-enterprise-data-engineering-capstone/
β
βββ README.md
βββ pyproject.toml
β
βββ .github/
β βββ workflows/
β βββ ci.yml # PR quality gates: lint, secret scan, pytest
β βββ deploy-staging.yml # Staging deploy & 24-scenario test run
β βββ deploy-prod.yml # Gated production promotion
β βββ rollback.yml # Automated emergency rollback
β
βββ config/
β βββ dev.yaml
β βββ staging.yaml
β βββ prod.yaml
β
βββ src/
β βββ ingestion/
β β βββ batch_sales.py # Cloud Storage batch file reader
β β βββ stream_sales.py # Structured Streaming POS reader
β β βββ cdc_customer.py # Debezium / Kafka CDC reader
β β βββ api_product.py # REST API product catalog extractor
β β βββ erp_store.py # ERP store reference extractor
β β
β βββ bronze/
β β βββ bronze_writer.py # Append-only raw landing & metadata
β β
β βββ silver/
β β βββ normalize.py # Schema normalization & typing
β β βββ cdc_merger.py # LSN ordering & Delta MERGE
β β βββ stream_watermark.py # Event-time watermarking & deduplication
β β βββ quarantine.py # Bad-records quarantine handler
β β
β βββ gold/
β β βββ dimensions/ # Conformed DIM_CUSTOMER, DIM_PRODUCT, DIM_STORE
β β βββ facts/ # FACT_ENTERPRISE_SALES & aggregate marts
β β βββ streaming_kpis/ # 5-min tumbling & 1-hr sliding KPI queries
β β
β βββ ml_features/
β β βββ observation_spine.py # Point-in-time snapshot grid
β β βββ rfm_transformers.py # Rolling 30d/90d/180d RFM features
β β βββ feature_store_sync.py # Delta Feature Store & Snowflake sync
β β
β βββ monitoring/
β βββ freshness_sla.py # Source arrival lag & SLA tracker
β βββ reconciliation.py # Automated financial variance auditor
β
βββ ddl/
β βββ 01_dimensions.sql
β βββ 02_facts.sql
β βββ 03_ml_features.sql
β βββ 04_semantic_views.sql
β
βββ tests/
β βββ unit/ # Pytest transformation unit tests
β βββ integration/ # End-to-end 24-scenario test suite
β βββ mocks/ # Mock data generators for all 5 feeds
β
βββ docs/
βββ enterprise_architecture.md # Logical & physical architecture diagrams
βββ data_dictionary.md # Schema definitions & metric formulas
βββ disaster_recovery.md # Full replay & incident recovery runbookModule Responsibilities
Structuring the repository with clear boundaries between ingestion protocols, Medallion storage tiers, ML feature store, and DataOps automation ensures individual components can be scaled and maintained independently.
Submission Checklist
Final engineering quality checklist before submitting the DEV-010 Capstone.
Final Review Checklist
Verify every checklist item before submitting your capstone challenge:
Submit the DEV-010 Capstone only after all five ingestion pipelines, Medallion tiers, CDC handlers, real-time streaming queries, ML feature store, Snowflake serving mart, CI/CD automation, and 24 test scenarios have been thoroughly verified.