Your question is Design an ETL Pipeline with Data Quality Checks. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
RetailCorp, a leading e-commerce platform, handles approximately 10TB of sales data daily from multiple sources, including transactional databases, web logs, and third-party APIs. The current ETL process is batch-oriented, running nightly, which leads to data freshness issues and delayed insights for the business analytics team. To address this, the VP of Data Engineering has mandated the design of a new ETL pipeline that ensures data quality and provides near real-time analytics capabilities.
| Component | Technology | Issue |
|---|---|---|
| Data Sources | MySQL, REST APIs, and S3 | Daily batch load causes data latency |
| ETL Tool | Apache Nifi | Limited data quality checks |
| Storage | Amazon Redshift | Slow query performance due to unoptimized data structure |
| Orchestration | Apache Airflow | Complex and difficult to manage |