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.
Your company runs analytics on Redshift and wants to evaluate migrating to BigQuery (or another cloud warehouse). Outline a migration plan (schema translation, cost modeling, testing and validation, cutover, rollback) and name three non-obvious trade-offs that should influence the decision.
Sample Answer
A Redshift-to-BigQuery migration (or the equivalent move between any two cloud warehouses) is really three separate problems: making the data land correctly, making the queries and dashboards keep working, and doing the cutover without a period where nobody trusts the numbers.
The migration plan
Schema translation: map Redshift's distribution and sort keys to BigQuery's partitioning and clustering columns; these aren't 1-to-1 concepts, so this step needs deliberate redesign, not a mechanical copy. Data types mostly translate cleanly, but SQL dialect differences (window function syntax, date functions) will break existing queries and dashboards that reference them directly.
Cost modeling: model BigQuery's on-demand-per-byte-scanned pricing against your actual query patterns, not just against Redshift's current node-hour cost, since the two pricing models reward different behavior (BigQuery rewards good partitioning and column pruning; Redshift's provisioned-node cost is largely independent of how well queries are written).
Testing and validation: run both systems in parallel for a defined period, and reconcile: row counts, and aggregate sums on the metrics the business actually cares about (revenue, active users), grouped the same way in both systems, for every day of the parallel-run window, not just a spot check.
Cutover: switch BI tools and downstream consumers over in phases (least-critical dashboards first), rather than a single cutover date for everything, so a translation bug surfaces on a low-stakes report before it surfaces on the CEO's dashboard.
Rollback: keep the Redshift cluster running and reachable for a defined grace period (commonly a few weeks) after cutover, with a documented, tested procedure for repointing BI tools back if the new platform surfaces a serious issue.
Three non-obvious trade-offs
First, BigQuery's pricing model means query-writing discipline now directly affects cost in a way Redshift's provisioned model didn't; a team used to writing loose, unoptimized SQL on Redshift will get an unpleasant surprise on the first month's BigQuery bill unless partitioning and clustering are designed in from the start, not bolted on after complaints. Second, Redshift's tight native integration with the rest of the AWS ecosystem (IAM, AWS Identity and Access Management, and other AWS-native services) has to be rebuilt with BigQuery's GCP-native equivalents; if the rest of the company's infrastructure stays on AWS, this migration adds a permanent cross-cloud networking and identity-management cost that a pure warehouse comparison wouldn't surface. Third, distribution-key tuning that Redshift teams have accumulated as tribal knowledge over years (which tables to co-locate, which keys to distribute on) does not transfer to BigQuery's serverless model at all; that expertise becomes sunk cost, and the team effectively restarts the performance-tuning learning curve on the new platform.
Trade-offs and pitfalls
The most common mistake is treating this as a data-movement problem and underestimating the query-rewrite and dashboard-revalidation effort, which is usually the larger share of total migration cost. The second is skipping the parallel-run reconciliation step to save time, which reliably surfaces subtle correctness bugs (a rounding difference, a NULL-handling difference between the two SQL dialects) only after cutover, when they're far more expensive to diagnose.
You're advising a team preparing a low-cost proof-of-concept analytics platform to demonstrate value within four weeks. Describe a minimal, low-risk architecture: what to include, what to deliberately trade off, and how you'd present those trade-offs to a stakeholder deciding whether to invest further.
Sample Answer
A four-week proof-of-concept has one job: demonstrate the core business value convincingly enough to justify further investment, without pretending to be a production system.
What to include
The narrowest possible slice of the real data flow that still demonstrates the actual value proposition: real (or realistically representative) data, a genuine end-to-end path from source to the specific insight or dashboard the stakeholder cares about, and enough of the real complexity (a real messy field, a real join across two systems) that the demo isn't accused of only working on artificially clean data. Use managed, off-the-shelf components wherever possible (a serverless warehouse, a no-code ingestion connector, a standard BI tool) rather than building anything custom; a PoC's job is to prove the concept, not to prove your team can build good infrastructure.
What to deliberately trade off
Skip production-grade reliability: no need for robust retry logic, comprehensive monitoring, or handling every edge case in the source data, a documented list of known gaps is fine at this stage. Skip scalability: it's fine if the PoC's approach wouldn't hold up at ten times the data volume, as long as you're honest that this is a known limitation rather than a discovered one later. Skip security hardening beyond the minimum needed to handle the actual data safely, full role-based access control and audit logging can wait until there's a decision to build the real thing.
Presenting the trade-offs to the stakeholder
Be explicit, in the same conversation where you show the value, about exactly what was skipped and why, framed as a deliberate choice rather than a limitation you're hoping nobody notices: "this demo proves the analysis is valuable using real data; it does not prove we can run this reliably at full scale, that would be the next phase's job and roughly this much additional effort." A stakeholder deciding whether to invest further needs both halves of that message, the value is real, and the investment ask for productionizing it is separate and larger, not a single number that conflates a four-week demo's cost with a production system's cost.
Worked example
For a retail client wanting to see whether combining their sales and inventory data could surface a specific business insight (say, products that are chronically overstocked relative to sell-through), a four-week PoC might: pull a few months of real sales and inventory data via CSV export or a read-only database connection (skip building a real ingestion pipeline), load it into a serverless warehouse, write the analysis as a handful of SQL queries, and present the results in a simple dashboard or even a slide deck with the actual numbers. What's explicitly out of scope: automated daily refresh, handling every product category's data quirks, and any access control beyond the presenting team having the data. That scope, honestly stated, is what lets the four-week timeline be real rather than optimistic.
Trade-offs and pitfalls
The most common mistake is quietly over-engineering the PoC (adding monitoring, handling edge cases "just in case") because it feels unprofessional to ship something rough, which blows the timeline and dilutes the PoC's actual purpose. The second is failing to explicitly name what was skipped, which sets an unrealistic expectation that the full system is nearly done when in fact a PoC and a production system are different projects with very different costs.
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.
Design a multi-tenant analytics platform supporting many customers of varying size, with data isolation, per-tenant cost tracking, and customizable retention. Compare tenancy models (single-tenant vs multi-tenant tables, single vs multi-cluster) and how you'd enforce quotas.
Sample Answer
A multi-tenant analytics platform serving customers of varying size has to answer one question first, before any tenancy-model choice: how much isolation does each tenant actually need, because that answer, not raw scale, drives the right model.
Tenancy models compared
| Shared tables (row-level isolation) | Separate schemas per tenant | Separate clusters/databases per tenant | |
|---|---|---|---|
| Isolation strength | Weakest: relies entirely on correct row-level filtering everywhere | Stronger: a schema-level bug can't leak data across tenants as easily | Strongest: physical separation |
| Cost efficiency | Best: shared infrastructure, easy to pool unused capacity across tenants | Moderate: some per-schema overhead, still shares underlying compute | Worst: dedicated infrastructure per tenant, significant idle capacity for small tenants |
| Operational complexity | Lowest: one schema to maintain and migrate | Moderate: migrations must run across many schemas | Highest: many independent environments to patch, monitor, and upgrade |
| Best fit | Large numbers of small, cost-sensitive tenants | Mid-size tenants needing stronger isolation without full dedicated infrastructure | A small number of large, security-sensitive, or regulatory-constrained tenants |
Recommendation for varying tenant sizes
A single tenancy model rarely fits customers of genuinely varying size well; a tiered approach is usually the honest answer. Small, cost-sensitive tenants share tables with strict, tested row-level security. Mid-size tenants that need stronger guarantees (perhaps for their own compliance requirements) get separate schemas. A small number of the largest or most security-sensitive tenants get dedicated infrastructure, justified because their revenue or regulatory requirements can absorb the added cost.
Isolation, cost tracking, and retention
Row-level security policies (enforced at the query engine, not just in application code) are the baseline correctness mechanism for the shared-table tier; a bug here is a real cross-tenant data leak, so this deserves the same rigor as an authentication system. Per-tenant cost tracking requires tagging usage (storage and compute) at the tenant level from day one; retrofitting tenant-level cost attribution onto a platform that wasn't designed to track it is materially harder than building it in from the start. Customizable retention per tenant (some tenants may contractually require longer or shorter retention) needs to be a first-class, per-tenant policy in the storage layer, not a single global setting, or you end up either over-retaining data some tenants require you to delete, or under-retaining data others are contractually owed.
Enforcing quotas
Set per-tenant compute and storage quotas enforced by the platform itself (not by convention or manual monitoring), with alerting before a tenant approaches its limit, so a single noisy tenant's usage spike can't degrade performance for everyone sharing that tier's infrastructure. This "noisy neighbor" problem is the most common operational failure mode of the shared-table tier specifically, and it's the strongest argument for moving a consistently-noisy tenant to a more isolated tier rather than trying to throttle them indefinitely within the shared tier.
Trade-offs and pitfalls
The most common mistake is picking one tenancy model for the whole platform because it's simpler to build and operate, when tenants genuinely differ enough in size and isolation needs that a single model either overspends on small tenants (dedicated infrastructure for everyone) or under-isolates large ones (shared tables for everyone). The second is treating row-level security as "done" once written, without ongoing automated testing that verifies a query genuinely cannot return another tenant's rows, since this is exactly the kind of bug that can regress silently after a seemingly unrelated schema change.
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.
Unlock Full Question Bank
Get access to all 26 Data Platform Architecture and Technology Selection interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.