UNDERSTAND
Bring these concepts with you
BUILD
Your implementation
- Implement computeSloStatus(events, targetAvailability) using only events where eligible === true.
- Calculate availability, errorBudgetTotal, errorBudgetRemaining, and burnRate.
- Classify status as 'exhausted' when budget remaining < 0, 'warning' when burnRate >= 2, and 'healthy' otherwise.
export function computeSloStatus(events, targetAvailability = 0.999) {
// Compute request-based SLI, budget remaining, and burn rate.
}Need a hint?
- Error budget fraction is (1 - targetAvailability). Burn rate compares observed error fraction against that budget.
- Return availability: 1 and status: 'healthy' safely when there are zero eligible events.
Saved on this device · 0 / 6000 · Do not include passwords or private data.
VERIFY
Acceptance checks
From the folder containing your downloaded files, run:
node checks.mjs ./starter.mjs 2This runs checks up to this step. Earlier steps must work first. Mark each result only after checking your implementation; the website does not run or grade it.
Record your attempt to enable the checklist and reference comparison.
Compare with the reference
Attempt the step first, then compare decisions and behavior. There can be more than one correct implementation.
EXPLAIN
Your interviewer asks
Why can 99.9% monthly uptime still fail users during a 10-minute checkout spike?
Say your answer aloud, then record the trade-offs and evidence in your notes above.
LOCAL VOICE REHEARSAL
Rehearse your step walkthrough aloud
00:00/ 02:00