Design Predictive Maintenance For Data Center UPS Batteries
Last updated: November 29, 2026
Quick Overview
Design an ML system that predicts which UPS battery strings in customer data centers will fail or fall below runtime requirements in the next 30 days, so service teams can replace them before an outage.
Schneider Electric
November 29, 20260
0
0 solved
Design an ML system that predicts which UPS battery strings in customer data centers will fail or fall below runtime requirements in the next 30 days, so service teams can replace them before an outage.
APC UPS units monitored through EcoStruxure IT report battery voltage, temperature, impedance and self-test results, and battery failure is a leading cause of UPS-related outages. The interviewer checks label definition from messy service records, time-aware validation, handling rare positives across many models, and how predictions turn into service actions.
What the Interviewer Expects
- Defines the label and prediction horizon precisely
- Builds features from degradation trends, not just latest values
- Uses time-based and fleet-based splits to avoid leakage
- Handles class imbalance and evaluates with precision at a service capacity
- Explains how predictions become work orders and how feedback returns
- Monitors drift across battery chemistries and firmware
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- Replaced batteries never get to fail, so labels are censored. How do you handle that?
- How would you adapt to lithium-ion packs when most history is VRLA lead-acid?
- How do you explain a risk score to a data center operator?
- How do you measure business impact after launch?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Predict per battery string the probability of failure within 30 days. Failure means a failed self-test, runtime below the customer's requirement, or an unplanned replacement after an alarm. Output a r...
High-Level Design
- Data: telemetry (float voltage, per-block voltage where available, internal temperature, load, discharge events), self-test results, battery install date and chemistry, service tickets and repl...