Design a Model Deployment and Inference Platform
Company: Atlassian
Role: Machine Learning Engineer
Category: ML System Design
Difficulty: medium
Interview Round: Technical Screen
Design a platform for deploying machine-learning models and serving inference. Cover model artifacts and versions, deployment configuration, rollout, runtime serving, monitoring, and rollback. Focus on the platform rather than a particular recommendation or search use case.
### Clarifying Questions to Ask
- Are workloads online, batch, or both, and what hardware do models require?
- Which input/output contracts and dependency versions must be reproducible?
- What rollout and rollback guarantees do model owners need?
```hint Separate control decisions from prediction traffic
Model registration and deployment orchestration have different lifecycles from low-latency inference requests.
```
### What a Strong Answer Covers
- Versioned artifacts, environment/configuration, and a deployment control plane.
- A serving data plane with routing, resource isolation, batching, and scaling.
- Compatibility validation, staged rollout, observability, and rollback.
### Follow-up Questions
- How would you deploy a model requiring a different accelerator or runtime version?
- What would trigger rollback when infrastructure metrics are healthy but prediction quality degrades?
Overview: Design a model deployment platform with versioned artifacts, isolated inference runtimes, staged rollouts, resource controls, quality monitoring, and rollback.