InterviewStack.io LogoInterviewStack.io

Legacy Modernization and Architecture Evolution Questions

Evolving an existing system rather than designing greenfield. Covers the modernization patterns (strangler fig, anti-corruption layers, facades and protocol adapters), choosing between rehosting, replatforming, incremental refactoring and a full rewrite, data migration and coexistence (dual-running, change-data-capture versus bulk cutover, reconciliation and drift), cutover readiness and decommissioning, recovering undocumented behavior from legacy code and stored procedures, instrumenting a migration so you can tell in real time whether it is working, and the organizational and risk management of long migrations across many teams. The scope is the migration itself: not quantifying or prioritizing technical debt, not code-level refactoring craft, not how to decompose a system into microservices, and not cloud migration or deployment and rollback mechanics as topics in their own right.

HardSystem Design
47 practiced

You're extracting model-serving and feature computation out of a monolith that currently handles both batch scoring and real-time predictions. How do you decide what to pull out first, and how do you know the extraction didn't change any outputs?

HardSystem Design
50 practiced

A legacy system has real business logic buried inside feature-preprocessing and model code, undocumented and hard to separate from the plumbing around it. How would you pull it apart into something you can actually maintain, without silently changing what it does?

MediumTechnical
100 practiced

You need to move an existing inference or model-serving system onto a new platform without a service interruption users would notice. How would you sequence that cutover and prove the new platform is behaving equivalently before you commit to it?

HardSystem Design
48 practiced

A machine learning system was built to retrain and serve in batch and now needs to support near-real-time updates and inference instead. How do you get there without breaking what's currently in production?

That is every published Legacy Modernization and Architecture Evolution question for Machine Learning Engineer so far. Browse the other topics in this category, or practice this one interactively.