Design Safe Configuration Rollout Across a Data Center Fabric
Last updated: November 29, 2026
Quick Overview
Design a change-control service that pushes a configuration change to hundreds of leaf and spine switches in stages, validates health after each stage, and automatically rolls back on failure.
Arista Networks
November 29, 20260
0
0 solved
Design a change-control service that pushes a configuration change to hundreds of leaf and spine switches in stages, validates health after each stage, and automatically rolls back on failure.
A bad config pushed everywhere at once is one of the fastest ways to take down a data center, so CloudVision change control stages and verifies changes. The interviewer looks for staging by failure domain, pre and post checks, atomic apply per device, and well-defined rollback.
What the Interviewer Expects
- Model a change as desired config per device plus a rollout plan
- Stage by failure domain: one canary, then a fraction of leaves, never both spines of a pair at once
- Use per-device atomic apply (config session commit with a confirm timer)
- Run pre-checks and post-checks such as BGP neighbors up, no new interface errors, reachability
- Define automatic rollback and halt rules
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you roll back a change that is not safely reversible, such as an image upgrade?
- What if a device is unreachable mid-rollout?
- How do you handle two engineers submitting overlapping changes?
- How would you test the change before touching any real device?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Scope: 500 switches across leaf and spine. A change targets a set of devices with a generated config per device. Requirements: staged execution, health gates, automatic rollback, audit trail, approval...
High-Level Design
Components: a change API storing change records (target devices, intended config, plan, approvals); a planner that splits devices into stages; a workflow engine (durable state machine per change and p...