Data Platform Architecture and Technology Selection Questions
System-level design of an end-to-end data platform: component selection, build-vs-buy, tool trade-offs, and aligning platform architecture with organizational and analytics needs. Covers reasoning about the whole stack (ingestion through serving) and technology-choice justification. The architect-altitude view above any single pipeline.
List and briefly describe the primary logical components of an end-to-end analytics platform you would propose to a mid-market client: ingestion, raw storage, transformation layer, curated semantic layer, serving/BI layer, orchestration, monitoring, and data catalog. For each component, name a common managed-service or open-source tool you might choose.
Sample Answer
A modern end-to-end analytics platform has roughly eight logical components, and naming a real tool at each layer is what separates a memorized list from a working mental model.
The components
| Component | Job | Common choice |
|---|---|---|
| Ingestion | Get data from source systems into the platform, batch or streaming | Fivetran/Airbyte (batch SaaS connectors), Kafka or Kinesis (streaming) |
| Raw storage | Land data as-is, cheap and durable, before any cleanup | Object storage: S3, Google Cloud Storage, Azure Blob Storage |
| Transformation layer | Clean, join, and reshape raw data into analysis-ready tables | dbt (SQL-based, runs inside the warehouse), or Spark for large-scale/complex logic |
| Curated / semantic layer | Business-friendly tables and metric definitions on top of raw transforms | dbt models plus a metrics layer, or the warehouse's own materialized views |
| Serving / BI layer | Where end users actually query and visualize | The warehouse itself (Snowflake, BigQuery, Redshift) plus a BI tool (Looker, Tableau, Power BI) |
| Orchestration | Sequences and retries the jobs that move data through the layers above | Airflow, Dagster, or a managed equivalent (Cloud Composer) |
| Monitoring / observability | Tells you when a pipeline is late, wrong, or broken | A combination of orchestrator alerting, warehouse query logs, and a dedicated data-observability tool (Monte Carlo, or open-source checks via Great Expectations) |
| Data catalog | Lets people find out what data exists, who owns it, and where it came from | A warehouse-native catalog (Snowflake's Horizon, BigQuery's Data Catalog) or a standalone tool (DataHub, Amundsen) |
Why these eight and not fewer
A platform that skips the raw layer and transforms directly on ingestion loses the ability to replay history when a transform bug is found. A platform that skips the catalog works fine at 20 tables and becomes undiscoverable at 500. The orchestration and monitoring layers are often the two people forget to name first, but they are what make the difference between "a pipeline" and "a platform": without them you have a collection of scripts that happen to run, with no visibility into whether they ran correctly.
Worked example
For a 15-person startup with one data engineer: a Fivetran-style connector or a simple Python script for ingestion, S3 for raw storage, dbt running inside a serverless warehouse (BigQuery on-demand) for transformation and the curated layer, the warehouse plus a light BI tool for serving, a managed orchestrator (Cloud Composer) or even just dbt Cloud's own scheduler if the DAG is simple, warehouse query-history alerts plus a handful of dbt tests for monitoring, and the warehouse's native catalog rather than a standalone tool. Every layer is present, but three of the eight are riding on a single managed product rather than a dedicated tool, which is the correct trade-off at this scale.
Trade-offs and pitfalls
The temptation at small scale is to skip orchestration and monitoring because "the pipeline is simple enough to just run on a cron job." That works until a job silently fails at 3am and nobody notices for a week, which is exactly the failure mode a thin orchestrator plus alerting is built to catch. The opposite failure, at larger scale, is standing up a dedicated best-of-breed tool for every layer before there is a team big enough to operate eight different systems; a platform team of two people cannot realistically run Kafka, Airflow, a standalone catalog, and a standalone observability tool all at once, so consolidating onto the warehouse's native features for two or three of these layers is often the more honest answer than naming eight separate best-of-breed products.
You are evaluating an ML platform such as Kubeflow, SageMaker, or Vertex AI to adopt across multiple teams. Describe an evaluation framework including technical criteria, operational impact, cost and vendor lock in risk, data governance, and developer experience, and propose a pilot plan with success metrics to decide on organization wide adoption.
Sample Answer
Direct answer
Evaluating an ML platform like Kubeflow, SageMaker, or Vertex AI for org-wide adoption needs a structured framework spanning technical fit (does it actually support the org's training/serving workloads), operational impact (what changes for the teams that adopt it, including migration cost), cost (both direct platform cost and the vendor lock-in risk of committing to it), data governance (does it meet the org's data-handling and compliance requirements), and developer experience (will teams actually want to use it), evaluated through a bounded pilot before committing to organization-wide rollout.
Structured elaboration
- Technical criteria: does the platform support the org's actual training workload shapes (distributed training at the needed scale, the specific frameworks/libraries in use, any custom infrastructure needs like specialized hardware); a platform that fits a typical use case well but poorly supports the org's specific heaviest workloads is a real risk that generic feature-comparison checklists can miss.
- Operational impact: what existing tooling/workflows change for teams (does it replace or need to integrate with existing CI/CD, experiment tracking, and monitoring the org already has), and what the migration effort looks like for teams currently on other infrastructure.
- Cost and vendor lock-in risk: direct platform/usage cost at projected scale, plus the harder-to-quantify cost of being locked into a specific vendor's ecosystem (how hard would it be to migrate away later if needed, and does the platform use genuinely portable underlying technology like Kubernetes/open standards, or proprietary abstractions that make later migration expensive).
- Data governance: does the platform meet the org's data residency, access-control, and compliance requirements (relevant especially for regulated industries or sensitive data), and how mature is its audit-logging and permission model.
- Developer experience: would the teams who'd actually use this daily find it genuinely better than their current setup, evaluated through direct hands-on trial by representative users, not just a feature checklist reviewed by the evaluating team alone.
- Pilot plan with success metrics: run a bounded pilot with one or two representative teams and workloads, defining success metrics up front (e.g. reduction in time-to-first-training-run, reduction in infrastructure-debugging time, developer satisfaction survey results) and a clear go/no-go decision point based on the pilot's actual results, before committing to the cost and disruption of an organization-wide rollout.
Worked example
A pilot selecting one team with a representative (not the org's most unusual/edge-case) training workload, running that team's real training pipeline on the candidate platform for a defined 6-week period, tracking time-to-first-successful-training-run, any workload-specific technical gaps discovered, direct cost incurred, and a structured developer-experience survey from the pilot team at the end; a go decision requires the pilot to meet pre-defined thresholds on these metrics (e.g. time-to-first-run improved or at least not regressed, no blocking technical gaps found, developer satisfaction above a defined bar), not just "the pilot team didn't complain."
Trade-offs & pitfalls
The most common evaluation-framework failure is skipping the hands-on pilot and deciding based on a feature-comparison document alone; vendor marketing materials and documentation reliably understate real integration friction and workload-specific gaps that only surface once real engineers try to run real workloads on the platform, which is exactly what a bounded pilot with pre-defined success metrics is designed to surface before the org commits at scale.
Explain the differences between a data warehouse, a data lake, and a lakehouse: typical use cases, schema-on-read vs schema-on-write, ACID/transactional semantics, query performance, and the storage-versus-compute cost model. For a mid-size company ingesting tens of millions of events per day, where would you recommend storing raw events, curated BI tables, and ML feature sets, and why?
Sample Answer
A data warehouse stores structured, cleaned data in a schema defined before you write it (schema-on-write), optimized for fast, repeatable SQL queries. A data lake stores data in its raw, often semi-structured or unstructured form in cheap object storage, with the schema applied when you read it (schema-on-read). A lakehouse adds warehouse-like guarantees, ACID (atomicity, consistency, isolation, durability) transactions, schema enforcement, and fast query performance, directly on top of lake storage, so you get one copy of the data serving both BI and machine learning workloads instead of two.
The three side by side
| Data warehouse | Data lake | Lakehouse | |
|---|---|---|---|
| Schema | On write | On read | Enforced, but on open table formats over lake storage |
| Data shape | Structured only | Structured, semi-structured, unstructured | Same as a lake, plus transactional guarantees |
| Typical use | BI dashboards, reporting | Raw archival, exploratory data science, ML training data | Both, on one copy of the data |
| Cost model | Storage and compute often bundled or tightly coupled | Very cheap storage, compute is separate/on-demand | Cheap lake storage, compute layered on top, similar to a lake |
| ACID transactions | Yes, natively | No, by default | Yes, via a table format (Apache Iceberg, Delta Lake, Apache Hudi) |
Where to put what, for a mid-size SaaS company at tens of millions of events/day
Raw events: land in object storage (S3 or equivalent) as the system of record, append-only, partitioned by date. This is the lake layer, and it stays cheap even as retention grows to years of history.
Curated BI tables: build these as warehouse tables (or lakehouse tables if you've adopted one) on top of the raw layer, modeled for the specific questions the business asks repeatedly (funnels, revenue, retention). This is where schema-on-write pays off: BI tools expect stable, typed schemas.
ML feature sets: these usually want the row-level, less-aggregated data that lives closer to the raw layer, but with reproducibility and point-in-time correctness that a bare lake doesn't guarantee. This is the strongest argument for adopting a lakehouse table format even before you need full BI-and-ML unification: it gives the ML team versioned, ACID-safe access to data that would otherwise require a second copy of the pipeline.
Trade-offs and pitfalls
The lakehouse's ACID guarantees are not free: someone still has to run compaction and manage table maintenance (small-file cleanup, log/manifest pruning), or the table format's benefits erode over months of high-frequency writes. A pure warehouse is simplest to operate at a small scale but tends to become the wrong long-term choice once machine learning or genuinely unstructured data (logs, images, free text) enters the picture, because forcing that data through schema-on-write either loses information or requires an awkward second raw-storage layer anyway. A common mistake is treating "lakehouse" as a single product decision: it is a pattern implemented via a table format on top of storage you already have, not something you buy instead of a lake.
Compare Lambda, Kappa, and a purely-batch architecture for a product analytics platform, such as a fintech workload requiring strict correctness and sub-minute updates. Describe the data flow, operational complexity, and common failure modes of each, and which fits best under different correctness and latency requirements.
Sample Answer
Lambda, Kappa, and pure-batch are three different answers to the same tension: how do you get correct results, quickly, without building the same logic twice.
The three architectures
| Lambda | Kappa | Pure batch | |
|---|---|---|---|
| Data flow | Two parallel paths: a streaming path for fast-but-approximate results, a batch path that recomputes the authoritative result later | One path: everything, including reprocessing, runs through the streaming layer by replaying the event log | One path: everything runs on a schedule against accumulated data |
| Latency | Fast approximate results in seconds, authoritative results after the next batch run | Fast, and correction/reprocessing also happens via the same streaming engine | Minutes to hours behind real time, by design |
| Operational complexity | Highest: two codebases (streaming and batch) computing similar logic, which tend to drift apart | Lower than Lambda, but demands a streaming engine mature enough to handle reprocessing and exactly-once semantics well | Lowest: one scheduled job, standard tooling, well-understood failure modes |
| Common failure mode | The streaming and batch results disagree because the two implementations subtly diverge over time | A bug in the single streaming pipeline affects both real-time and historical results, since there's no independent batch check | Simply too slow for anything needing sub-hour freshness |
Which fits a fintech workload needing strict correctness and sub-minute updates
Kappa is usually the better starting point here, not Lambda, despite Lambda's reputation as the "correctness" architecture. The reason is specific to this requirement: a fintech workload needs strict correctness AND sub-minute freshness, and Lambda's whole premise is that the fast path is allowed to be approximate until the batch path catches up, which is the opposite of what "strict correctness" demands. Kappa avoids maintaining two divergent codebases by making the single streaming pipeline capable of both live processing and full reprocessing (replaying the event log from the beginning when a bug fix or a definition change requires it), which keeps live and historical numbers consistent because they run through identical logic. The trade-off is that Kappa demands real engineering discipline: exactly-once processing guarantees, careful state management, and an event log retained long enough to support full reprocessing.
Pure batch is only viable here if "sub-minute updates" turns out, on closer questioning, to not actually be a hard requirement, since pure batch simply cannot deliver it by construction.
Trade-offs and pitfalls
Lambda's biggest real-world failure mode is exactly what it's often praised for avoiding: the two paths (streaming approximation, batch ground truth) computing the same business logic independently, in two different codebases, with two different engineers maintaining them, and slowly disagreeing on edge cases (how to handle a late-arriving refund, for instance) until nobody trusts either number without manually reconciling. Kappa avoids that specific failure mode by construction but shifts the burden onto the maturity of the streaming engine and the team's comfort with exactly-once semantics; adopting Kappa without that operational maturity in place just relocates the correctness risk rather than removing it.
Compare a data mesh (federated, domain-oriented data ownership) to a centralized data platform. Discuss ownership, discoverability, governance, latency, cost, and developer velocity, and describe when an organization should favor one approach over the other.
Sample Answer
A data mesh decentralizes data ownership to the domain teams that generate it (marketing, orders, payments), each publishing "data products" with clear contracts, while a centralized platform keeps one team owning ingestion, transformation, and the warehouse for the whole company.
The comparison
Ownership: mesh puts the people closest to the data (who understand it best) in charge of its quality and its contract; centralized puts one platform team in charge of everyone's data, whether or not they understand every domain equally well.
Discoverability: mesh requires a strong shared catalog and standardized metadata across domains, or discovery becomes worse than centralized, since data is now scattered across many owners. Centralized discovery is simpler by construction because everything sits in one place.
Governance: mesh uses federated computational governance, shared standards enforced by tooling (schema validation, SLAs as code) rather than a single team manually reviewing everything; centralized governance is easier to enforce consistently because one team controls the whole pipeline, but that team becomes a bottleneck as the company grows.
Latency (time-to-new-data-product): mesh domain teams can ship a new data product without waiting on a central team's backlog; centralized platforms often become the bottleneck once a company has more than a handful of domains competing for the same platform team's attention.
Cost: mesh usually costs more in tooling and duplicated infrastructure across domains; centralized concentrates cost (and the ability to optimize it) in one place.
Developer velocity: mesh scales velocity horizontally (more domains means more parallel capacity) once the platform is mature; centralized velocity is capped by the size of the platform team, and that cap gets worse as the company scales.
When to favor each
Favor a centralized platform when the organization has fewer than roughly a dozen distinct data domains, when the central platform team is not yet a bottleneck, and when the cost and complexity of federated governance tooling would outweigh its benefit. A 50-person company with three product lines rarely needs a mesh; it needs a competent, well-staffed central team.
Favor a data mesh once a large organization has enough independent domains (order of dozens or more) that a central team has become the bottleneck for every new dataset, and once there is executive appetite to invest in the self-serve platform and governance tooling a mesh requires to avoid becoming an ungoverned mess of inconsistent, undiscoverable domain data. A mesh adopted before that tooling investment is made tends to produce exactly the failure mode critics warn about: each domain reinventing its own formats and quality bar, with no way to reliably query across domains.
Trade-offs and pitfalls
The most common mistake is adopting "data mesh" as an organizational restructuring (just move ownership to domain teams) without investing in the platform and governance tooling that makes federation work; the result is worse than a centralized platform, because now nobody is accountable for cross-domain consistency at all. The second is applying mesh principles to an organization too small to need them, which adds coordination overhead (data contracts, domain-team accountability meetings) that a single central team would have handled faster.
Unlock Full Question Bank
Get access to all 10 Data Platform Architecture and Technology Selection interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.