Preparing your design workspace

Loading the problem and your latest saved attempt…

Audit Midnight Fleet Analytics and Reviewed Patch Rollout

Critique issue-only midnight reports followed by 1 AM patching, then design evidence-based review, bounded software rollout and truthful per-machine recovery.

Problem statement

For this exercise, assume one application runs on a geographically distributed fleet of managed servers. The initial scheme is that every machine emits analytics at midnight only if it has issues, then the fleet is patched at 1 AM based on those reports.

Audit this scheme and design a safer path from fault evidence through a human-reviewed patch plan to bounded deployment and confirmed outcomes.

For the initial practice diagram, midnight and 1 AM mean UTC; the interview report does not specify a timezone or establish that its machines and patched servers are the same set. Discuss the effect of choosing global versus local maintenance windows.

The 1 AM time is an initial scheduled start, not a deadline for every machine to finish.

For this exercise, the registry identifies the enrolled fleet and each machine's region, compatibility profile and last confirmed application version. Fault observations can be duplicated, late, incomplete or lost; silence from an issue-only reporter does not prove health.

You may add bounded liveness and coverage evidence in the redesign. Reviewers select from already prepared, compatible software patch artifacts and approve an exact evidence snapshot, target set and rollout policy. Reports are not executable patch instructions, and analytics alone never authorizes a deployment.

Agents authenticate, fetch a verifiable approved artifact, apply only a current eligible plan and report the confirmed active version and health. Separate desired state, command acceptance, install progress, verified activation and an unknown outcome.

Bound concurrent installs and advance cohorts only with trustworthy health evidence; stop further admission when a gate fails. A disconnected or already installing agent cannot be assumed to stop immediately. Recovery must reconcile its actual active version before another mutation.

Building patches, model training, arbitrary remote shell access, database/schema migrations and physical maintenance work orders are outside scope.

What to build

  1. Accept auditable machine observations and distinguish eligible fault evidence from missing, stale or unknown fleet coverage.
  2. Let an authorized reviewer approve an immutable compatible artifact, evidence snapshot, target set and bounded rollout policy; changes require a new reviewed plan.
  3. Deploy a reviewed current plan through authenticated agents and bounded cohorts, with explicit compatibility checks and stop or recovery decisions.
  4. Show desired and confirmed versions, observation age, install progress and uncertain outcomes, and reconcile reachable agents before retry or a newer recovery plan.

At scale

  • For this exercise, assume 10,000 servers in six regions. Each midnight issue report is at most 20 KiB; in a fleet-wide incident all servers may report together. Durable ingestion should acknowledge a healthy admitted report within five minutes at p95. The target does not prove completeness of the midnight report set.
  • For this exercise, the redesign may add one authenticated liveness/coverage observation per machine every 60 seconds. Show missing or more-than-two-minute-old coverage as unknown, not healthy; observed time and receive time or clock uncertainty remain explicit.
  • For this exercise, allow no more than 100 simultaneous application installs across the fleet, with reviewed region/service capacity checks before admission. The first canary cohort contains ten eligible machines; later cohorts require a defined current-version health window. These limits bound rollout-induced disruption, not every independent fleet outage.
  • For this exercise, target closure of new install admission within 60 seconds after the healthy control plane observes a failed or uncertain gate. In-flight or partitioned agents can remain uncertain and must be reconciled; accepted evidence, plan approvals and outcomes survive one control-plane process or zone failure. Keep compact audit history for 30 days.