Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Unify Inventory and Fulfillment Pipelines

Hard
PipelinesETLDependenciesData Modeling

Problem

Context

Alameda County Community Food Bank needs a reliable data workflow that combines inventory movements, donation intake, and partner agency fulfillment activity from multiple internal systems into a single trusted reporting layer. Today, warehouse operations, donor intake, and agency order data are updated in separate operational tools and spreadsheets, creating reconciliation gaps, stale reporting, and inconsistent counts for on-hand inventory and fulfilled cases.

Assume the Food Bank wants a near-real-time operational view plus daily finance-grade reconciliations. The current stack is AWS-based, with PostgreSQL-backed internal applications, SFTP-delivered CSVs from legacy warehouse workflows, and a central Snowflake warehouse used for reporting.

Scale Requirements

  • Sources: 6 internal systems, including warehouse inventory, donation intake, partner agency ordering, and manual adjustment feeds
  • Volume: ~8M inventory transaction rows/month, ~1.2M donation records/month, ~400K agency fulfillment records/month
  • Latency: operational dashboards < 10 minutes behind source systems; daily reconciled tables ready by 6:00 AM PT
  • Storage: 3 years hot data in Snowflake, 7 years archived in Amazon S3
  • Reliability target: 99.9% successful daily pipeline completion, no duplicate business events

Requirements

  1. Design ingestion for CDC from PostgreSQL systems and batch ingestion for SFTP/CSV feeds.
  2. Build canonical data models for inventory_events, donations, agency_orders, and fulfillment_line_items.
  3. Ensure idempotent processing for retries, late-arriving files, and source replays.
  4. Reconcile inventory balances across receipts, transfers, adjustments, spoilage, and partner agency distributions.
  5. Implement data quality checks for missing SKUs, negative balances, duplicate donation IDs, and orphaned fulfillment records.
  6. Orchestrate both near-real-time and nightly batch dependencies with clear SLAs and backfill support.
  7. Expose curated tables for Alameda County Community Food Bank operational dashboards and finance reporting.

Constraints

  • Small team: 3 data engineers, 1 analytics engineer
  • Prefer managed AWS services and low operational overhead
  • Budget ceiling: $18K/month incremental infrastructure spend
  • Must preserve auditability for food traceability and historical corrections
  • Some source systems cannot be modified beyond read replicas or export jobs

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Next questions
Alameda County Community Food BankUnified Inventory, Donors, ReportingHardHighly Available Donation Operations PipelineHardAlameda County Community Food BankSingle Source of Truth WarehouseHard
0 / ~200 words