InterviewStack.io LogoInterviewStack.io

Data Ingestion and Source Systems Questions

Understand different data sources and ingestion methods: batch processing (scheduled jobs), streaming (Kafka, Kinesis), API polling, database replication, and log aggregation. Know the trade-offs between real-time and batch ingestion. Understand concepts like exactly-once delivery and idempotency.

MediumTechnical
45 practiced
Describe how you would design an idempotent API ingestion flow that supports retries. Explain how to generate idempotency tokens, where to store tokens or processed IDs, and how to design sinks to use these tokens to avoid duplicate downstream writes for BI systems.
HardSystem Design
33 practiced
Explain techniques to achieve exactly-once semantics end-to-end for streaming pipelines (e.g., Kafka -> Flink -> Snowflake). Cover the roles of checkpointing, Kafka transactions, idempotent sinks, two-phase commit, and practical limitations when sinks do not support transactions.
HardTechnical
42 practiced
A critical upstream system accidentally published corrupted data for a 6-hour window. Describe a disaster recovery and reprocessing plan to correct downstream BI datasets and dashboards. Include detection, scope identification, replay/backfill steps, idempotent writes, resource planning, and communication to stakeholders.
HardTechnical
33 practiced
Design SCD Type 2 processing for slowly-changing dimensions in a hybrid streaming + batch pipeline. Provide the schema for a dimension table (surrogate_key, natural_key, attributes..., effective_start, effective_end, is_current) and show pseudo-SQL or pseudo-code for how you would update the table on each incoming change event while preserving history, handling out-of-order events and late-arriving data.
HardTechnical
33 practiced
Design a testing framework for ingestion pipelines covering unit tests, integration tests, contract tests, and data quality (DQ) tests. Explain how you would create synthetic/sampled datasets, run contract tests in CI, simulate failures (late data, duplicates), and gate deployments based on test results.

Unlock Full Question Bank

Get access to hundreds of Data Ingestion and Source Systems interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.