Design an MLOps platform for a mid-sized company: components and build-vs-buy trade-offs

Tests pragmatic scoping and build-vs-buy reasoning. Strong answers rank data estate, feature store, registry, CI/CD/CT, and monitoring above exotic serving, buying commodity and building differentiators. Red flag: custom orchestrators or missing governance.
What's really being asked
This question evaluates your ability to design a pragmatic MLOps architecture for a mid-sized company with finite engineering resources and to justify build versus buy decisions using total cost of ownership, maintenance burden, and time-to-value rather than technology preference alone. Interviewers want to see that you understand which layers are commodity infrastructure and which are competitive differentiators, and that you can sequence investments to avoid building a complex platform before the basics are solid.
The full answer
A strong response names six foundational components in priority order. First, the data estate including raw storage, governance policies, and lineage tracking because garbage data destroys model performance regardless of algorithm quality. Second, feature pipelines and a feature store to enable reuse and consistency between training and serving. Third, a model registry with versioned artifacts and metadata so teams can reproduce experiments and rollback safely. Fourth, CI CD and CT pipelines that automate testing, validation gates, and retraining triggers rather than relying on manual notebook execution. Fifth, monitoring and observability covering data drift, concept drift, and latency SLAs. Sixth, the serving layer for online and batch inference, which should be addressed only after the first five are stable. For build versus buy, the answer should map each layer to a simple rule: buy off the shelf tools for orchestration, experiment tracking, and monitoring because they are solved problems; build custom code only for feature engineering logic and model architectures that directly create business differentiation. The justification must include real constraints such as a mid sized team of five to fifteen engineers cannot afford to maintain a custom Kubernetes scheduler or feature store when managed alternatives exist.
The mistakes people make
Red flags include proposing a fully custom orchestrator or feature store without quantifying the two to three full time engineers required to maintain it. Another red flag is prioritizing exotic real time serving with custom GPU clusters before basic data governance and monitoring are in place. Candidates who treat build versus buy as a religious debate rather than a total cost of ownership calculation also signal immaturity. Similarly, ignoring governance, access control, or lineage tracking suggests a prototype mindset rather than production engineering.
What usually comes next
Interviewers often push deeper by asking how you would handle a specific latency requirement such as one hundred millisecond p99 inference, how you would design retraining triggers based on data drift thresholds, or how you would justify the operational cost of a feature store to a skeptical CFO. They may also ask which specific tools you would evaluate first, such as Kubeflow, MLflow, Tecton, or SageMaker, and how you would migrate from a notebook based workflow without halting existing model deliveries.
A concrete example
Imagine a mid sized e commerce company with eight data scientists and three platform engineers. Instead of building a custom Airflow competitor, you purchase a managed workflow service and invest custom engineering hours into a domain specific feature store schema for user session embeddings because that directly improves recommendation relevance. You defer real time serving from a custom Flask cluster to a managed autoscaling endpoint until monitoring proves that batch inference is insufficient. This sequence keeps the team focused on revenue generating model improvements rather than infrastructure maintenance.
Interview question
When scoping an MLOps platform for a mid-sized company with 5-15 engineers, which approach best demonstrates mature build-vs-buy reasoning?
- a.Prioritize data governance, feature store, model registry, CI/CD/CT, and monitoring before the serving layer; buy commodity tools like orchestration and monitoring while investing engineering effort only in proprietary feature engineering and model architectures.Correct
- b.Build a custom Kubernetes orchestrator and real-time GPU serving cluster to minimize latency, deferring data lineage tooling until the team grows.
- c.Build the feature store and model registry in-house to avoid vendor lock-in, using open-source monitoring with minimal configuration to keep costs low.
- d.Purchase managed feature engineering pipelines and model training platforms, but build custom experiment tracking and observability stacks because production visibility is a core differentiator.
Why? this is the answer
This option correctly sequences foundational components before serving and applies the buy-commodity, build-differentiator rule. Option C is tempting because avoiding vendor lock-in feels engineering-savvy, but maintaining a custom feature store and registry would consume two to three full-time engineers and ignores total cost of ownership.
Just read this? Test yourself on what you have been reading.
Read the original → dev.to
- #mlops
- #system-design
- #architecture
- #build-vs-buy
- #platform-engineering
You just looked this up. Could you explain it out loud?
That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.
The iPhone app is on the way
We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.
Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.
We are hiring for this. Open roles that interview on mlops — each one lists the topics its interview covers.
See open roles