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.
Design a governance program meant to meaningfully cut recurring bad-data incidents (say, by half) across dozens of autonomous teams, without centralizing everything and killing team agility. What's your operating model (centralized versus federated, or something closer to how a data-mesh migration would frame domain-level responsibility with central guardrails), what technical controls and organizational changes does it actually require (ownership assignment, runbooks, policy-as-code, quality gates), and what would you measure over the following year to know the program is working, not just running?
Sample Answer
The core design choice is a federated operating model with central guardrails, not full centralization: domain teams own their data and remain accountable for its quality, while a small central governance function owns the shared standards, tooling, and the small set of policies that must be consistent everywhere (naming conventions for canonical entities, classification tiers, the schema-contract format, the escalation path for a cross-domain incident). This mirrors how a data-mesh migration frames domain-level responsibility with central guardrails: the mesh doesn't eliminate governance, it moves enforcement out of a central team's backlog and into each domain's own pipeline, backed by shared infrastructure the central team maintains.
Operating model
- Domain teams: own their source tables, their producer contracts, and first-line triage of quality incidents in their own data.
- Central governance function: owns the policy-as-code framework, the catalog, the classification standard, and cross-domain incident coordination. It sets the bar; it does not review every table.
- Federation boundary: a domain team can ship changes freely as long as they pass the shared automated gates; anything that would break a documented cross-domain contract requires the same CI-enforced compatibility check as any producer contract, not a manual sign-off meeting.
Technical controls and organizational changes
- Ownership assignment. Every dataset with downstream consumers gets a named owning team in the catalog, not a person (people leave, teams persist). This is the single highest-leverage change: an unowned incident cannot be triaged.
- Runbooks. Each owning team maintains a runbook for their domain's common failure modes (a stalled ingestion job, a schema-drift alert, a null-rate spike) so on-call response does not depend on institutional memory. Runbooks are checked into the same repo as the pipeline and reviewed on the same cadence as the code.
- Policy-as-code. Classification rules, retention windows, and compatibility rules are expressed as machine-checkable policy (for example, Open Policy Agent rules or a custom linter run in CI) rather than a wiki page, so a violation fails a build instead of being caught in a quarterly audit.
- Quality gates. Automated checks (freshness, null rate, referential integrity, schema compatibility) run on every load and block publication of a failing batch. This is what actually prevents incidents rather than just detecting them faster.
Concrete rollout: ownership plus runbooks as the first program elements, over 12 months, by vertical
Rather than rolling out to "dozens of teams" simultaneously, sequence by business vertical so the program proves itself before it scales. A realistic first-year plan:
- Months 1-3: pick one vertical, for example the CRM (customer relationship management) domain, as the pilot. Assign explicit ownership for every CRM-sourced table with downstream consumers, write the first runbooks for its two or three most common incident types, and stand up the quality gates on ingestion. This is deliberately narrow so the pattern can be validated before it is asked of teams who did not choose it.
- Months 4-6: extend the same ownership-assignment-plus-runbook pattern to a second vertical with materially different risk profile, for example finance data (where compatibility breaks have compliance consequences, not just dashboard noise). This tests whether the guardrails generalize or were accidentally tuned to CRM's shape of problem.
- Months 7-9: roll the same pattern to the remaining domains in waves of a handful of teams at a time, reusing the policy-as-code rules and runbook templates built in the first two verticals rather than writing new tooling per team.
- Months 10-12: the central function shifts from active rollout to maintenance: quarterly policy review, an incident retrospective process, and a self-service onboarding path so a new team can adopt the standard without a central-team engagement.
What to measure to know it's working, not just running
| Metric | Why it matters |
|---|---|
| Incident count by domain, trended monthly | The stated goal (cut recurring incidents by half); trend, not a single snapshot, filters out noise. |
| Mean time to identify an incident's owning team | Falling toward "the catalog answers this instantly" means ownership metadata is actually current, not decaying. |
| Percentage of in-scope tables with an owner, a contract, and passing quality gates | Coverage; a program with great runbooks on 10% of tables isn't working yet. |
| Runbook usage in incident postmortems | If on-call keeps solving the same incident from scratch, the runbook isn't trusted or isn't current. |
| Domain team velocity (release frequency, lead time) before and after adoption | Confirms the federated model didn't quietly recentralize and become a bottleneck, which was the explicit thing to avoid. |
Trade-offs and pitfalls
The biggest risk in this design is the central function drifting into a review bottleneck by accident: every "just this once" manual sign-off makes the next domain team expect the same, and the whole point of policy-as-code is to make the guardrail a build check, not a meeting. The other common failure is measuring activity instead of outcomes (number of runbooks written, number of tables catalogued) without ever checking whether incident counts actually fell; a program can look busy and still not be reducing the thing it was funded to reduce.
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.
Your analytics stack has grown increasingly dependent on a single cloud vendor's proprietary features. Assess the vendor lock-in risk and propose a playbook: short-term mitigations, a long-term migration strategy, and a rough cost estimate for regaining independence.
Sample Answer
Vendor lock-in risk assessment starts with a concrete question: if we had to leave this vendor in six months, what specifically would break, and how long would it take to rebuild.
Assessing the risk
Audit which proprietary features are actually load-bearing versus merely convenient: a proprietary SQL extension used in every transformation query is load-bearing (rewriting it is real work); a UI feature used for occasional debugging is not. Check whether the data itself is stored in an open, portable format (an open table format, standard file formats) or a proprietary storage layer that only that vendor's engine can read; the latter means even "exporting your data" doesn't actually free you, because the export format may not preserve what made the data useful. Check whether your team's operational knowledge (tuning, troubleshooting, cost optimization) has become vendor-specific tribal knowledge that wouldn't transfer.
The playbook
Short-term mitigations: stop adding NEW dependencies on proprietary features going forward, even while continuing to use existing ones, so the lock-in stops growing while you plan the response. Where feasible, start writing new transformation logic in a portable form (standard SQL, or a transformation tool that can target multiple backends) rather than the vendor's proprietary dialect.
Long-term migration strategy: prioritize migrating away from the SPECIFIC features that are hardest to replace, not the easiest ones, since the hard ones are exactly what makes leaving expensive later; tackle them while the total surface area is still smaller than it will be in another year of continued dependency. Where full migration isn't justified yet, invest in an abstraction layer (a transformation framework, a query interface) that could be repointed at a different backend with less rewrite effort than a direct migration would need.
Rough cost estimate for regaining independence
Estimate cost as the sum of: engineering time to rewrite proprietary-feature-dependent logic in a portable form, the cost of running two systems in parallel during validation (a real, often underestimated cost), and the opportunity cost of the engineering time not spent on other roadmap work during the migration window. For an organization with, say, a few dozen pipelines with moderate proprietary-feature dependency, this commonly lands in the range of several engineer-months to a few engineer-years, heavily dependent on how deep the dependency actually runs, which is exactly why the audit step above has to come first: without it, this estimate is a guess rather than a plan.
Trade-offs and pitfalls
The most common mistake is treating "no vendor lock-in" as an absolute goal worth paying for regardless of actual risk; a small team may rationally accept meaningful lock-in in exchange for never having to operate a component themselves, if the switching cost, honestly estimated, is genuinely low relative to the ongoing operational savings. The second mistake is assessing lock-in risk only at adoption time and never revisiting it; dependency accumulates gradually as teams add "just one more" proprietary feature over years, so the actual risk at year three is rarely what it looked like at year one.
A company with a constrained budget ingests roughly 1 TB/day and expects several hundred concurrent BI users running interactive queries. Compare Snowflake, BigQuery, Redshift, and Databricks for this workload (concurrency, cost predictability and pricing model, performance, admin overhead) and recommend one, explaining what would change your recommendation.
Sample Answer
For a budget-constrained e-commerce company at roughly 1 TB/day with several hundred concurrent BI users, running ETL (extract, transform, load) jobs alongside interactive queries, the decision comes down to how each platform handles concurrency and how predictable its cost is, more than raw query speed, since all four can comfortably handle this data volume.
The four compared
| Snowflake | BigQuery | Redshift | Databricks | |
|---|---|---|---|---|
| Architecture | Multi-cluster, storage/compute/services fully decoupled | Serverless, storage/compute decoupled, no clusters to manage | Cluster-based (or Serverless mode), traditionally tighter storage-compute coupling | Lakehouse-native, Spark-based compute over Delta Lake |
| Concurrency model | Spin up separate virtual warehouses per workload so BI users don't compete with ETL | Auto-scales query slots; concurrency is mostly transparent to the user | Workload management (WLM) queues, or Redshift Serverless auto-scaling | Cluster autoscaling per workload/job |
| Pricing model | Per-second compute billing while a warehouse runs | On-demand (per data scanned) or flat-rate slot commitments | Per-node-hour (provisioned) or per-capacity-unit (serverless) | Per-cluster compute time (DBUs) |
| Best fit here | Predictable cost via warehouse sizing, easy to isolate the 300 BI users from ETL | Simplest ops (nothing to provision), but on-demand cost can spike if queries scan a lot of data without partitioning discipline | Strongest fit if already deep in the AWS ecosystem and wants tight integration | Best if the workload is genuinely mixed BI + ML/Spark, less natural fit for a pure BI-heavy shop |
Recommendation
For a budget-constrained BI-heavy workload at this scale, Snowflake or Redshift Serverless are usually the more predictable choices, because both let you size (or auto-size) compute specifically for the concurrent-BI-user workload without over-provisioning for peak ETL. BigQuery's on-demand model is appealing for its zero-ops story, but at hundreds of concurrent BI users the team needs disciplined partitioning and clustering or the per-query cost becomes hard to forecast; BigQuery's flat-rate slot pricing solves that but requires committing to a capacity level up front, which cuts against "constrained budget." Databricks is the wrong default here unless the same platform is also doing meaningful ML/Spark work, since its per-cluster billing model is optimized for compute-heavy jobs, not hundreds of short interactive BI queries.
What would change the recommendation
If the team is small and wants to spend zero time on capacity planning, BigQuery's serverless model wins despite the cost-predictability risk, because the ops savings often outweigh it at this size. If the company is AWS-committed for compliance or existing infrastructure reasons, Redshift is the practical default even if Snowflake would otherwise edge it out. If the roadmap includes real machine learning workloads within the next year, Databricks becomes worth the switch even though it costs more operational overhead today, because re-platforming later is expensive.
Trade-offs and pitfalls
A common mistake is picking a warehouse based on a benchmark of raw query speed, when at this scale all four are fast enough and the real differentiator is how predictably the cost scales with concurrent users, not with data volume. Another is underestimating the "constrained budget" implication of BigQuery's on-demand model: it looks free until an unindexed table gets scanned by three hundred analysts a day.
Design a cost-allocation (showback/chargeback) model to attribute a shared data platform's compute and storage costs to the product teams that use it: tagging strategy, handling of shared resources fairly, reporting cadence, and a dispute-resolution process.
Sample Answer
A cost-allocation model has to answer, defensibly, "how much of this shared bill belongs to your team," which is straightforward for dedicated resources and genuinely hard for shared ones.
Tagging strategy
Require every compute job and every stored dataset to carry a team or product-owner tag at creation time, enforced by policy (a job or table without a valid tag either fails to run or gets flagged), not by asking people to remember. Tag at the finest practical granularity, per query or per job run, not just per dataset, since a shared dataset queried by five teams needs usage-level attribution, not just ownership-level attribution.
Handling shared resources fairly
For genuinely shared infrastructure (a common raw-data lake, a shared orchestration platform), allocate cost using a defensible proxy for actual usage, bytes scanned per team for a shared warehouse, compute-seconds consumed per team for a shared processing cluster, rather than an even split, which systematically overcharges light users and undercharges heavy ones. For genuinely indivisible shared cost (the platform team's own headcount, a base infrastructure license fee that doesn't vary with usage), either allocate it evenly as an acknowledged "platform tax" or pro-rate it by team size or overall usage share, whichever the organization has agreed is fair, but be explicit that this portion is a policy choice, not a measured usage number.
Reporting cadence
Report monthly at a minimum, with a runnable, self-service breakdown available to each team on demand rather than only in a monthly PDF, so a team can investigate a cost spike in the same week it happens rather than a month later when the details are hard to reconstruct. Include trend, not just the current month's number, since a single month's snapshot doesn't show a team whether their cost trajectory is improving or worsening.
Dispute-resolution process
Publish the tagging and allocation methodology itself (not just the resulting numbers) so a team can check the calculation, not just the conclusion. Provide a defined escalation path (a specific person or a lightweight review committee) for a team that believes its allocated cost is wrong, with a documented turnaround time, and track how often disputes are raised and resolved, since a rising dispute rate is itself a signal the methodology needs revisiting, not that teams are being difficult.
Worked example
If a shared raw-data lake costs a fixed amount in storage per month and three teams query it with wildly different frequency, allocate the storage cost by data volume each team's data occupies (a clean, defensible per-team number), and allocate the compute cost of QUERYING that lake by bytes scanned per team (measurable directly from query logs), rather than splitting either cost three ways evenly, which would let the lightest user subsidize the heaviest one indefinitely with no visibility into why.
Trade-offs and pitfalls
The most common mistake is allocating shared cost evenly because it's simple to compute, which quietly subsidizes heavy users at light users' expense and erodes trust in the whole model once someone notices. The second is building a cost model with no visible methodology or dispute path, which turns every allocation disagreement into a political argument instead of a checkable calculation.
Unlock Full Question Bank
Get access to all 11 Data Platform Architecture and Technology Selection interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.