Interview prompt
Problem context
Skills being evaluated
Use the sequence below to surface constraints, choose boundaries, test failure behavior, and defend trade-offs. Concrete numbers are interview assumptions, not claims about a real production system.
Clarify the decision
- Rank capabilities by customer value, resource cost, legal necessity, and dependency. Define whether stale, omitted, approximate, or queued behavior is acceptable for each journey.
Establish scale assumptions
- Measure the resource saved and business impact for every candidate fallback. A brownout step must release the actual bottleneck—turning off a cheap feature is operational theater.
Functional and non-functional requirements
- Protect checkout correctness and latency, activate degradation by cohort or region, avoid oscillation, communicate material limitations, and preserve a reliable path to restore features.
High-level architecture
- Create versioned degradation levels evaluated locally from a resilient control snapshot. Services implement typed fallback contracts; global admission and local saturation signals recommend a level, while operators retain audited override.
Data model and flow
- Propagate the active level and fallback reason with requests and responses. Cache or precompute safe stale views, and durably record customer mutations that the product explicitly promises to process later.
Consistency and transaction boundaries
- Brownout may weaken freshness and completeness, never transaction, authorization, pricing, or inventory invariants. If a promotion cannot be verified, omit it rather than guess.
Failure modes and recovery
- Use hysteresis and minimum dwell time so levels do not flap. Last-known-good policy works during control outage, and recovery enables one capability at a time while watching saturation.
Security and privacy
- Degradation cannot disable fraud, authentication, consent, or tenant isolation unless a documented risk owner approved that exact mode. Clients cannot request a privileged lower-check path.
Observability and SLOs
- Track active level, resource relief, fallback success and quality, conversion, customer complaints, and error budget by journey. Record why and by whom each transition occurred.
Capacity and cost
- Precomputing fallbacks costs steady resources but can prevent expensive peak overprovisioning. Compare the cost of reserved capacity with the measured revenue cost of each brownout minute.
Alternatives and trade-offs
- Automatic brownout reacts quickly but can make product decisions from noisy telemetry; manual control is slow during cascades. Use automated recommendations and bounded transitions, with human governance for high-impact levels.
Evolution and migration
- Implement and test one low-risk fallback at a time, shadow trigger logic, then rehearse with product, support, and incident command. Remove brownout paths that do not measurably release the constrained resource.
What Staff and Principal candidates should emphasize
- Principal candidates make degradation a product contract, not a bag of flags. They quantify relief and harm, protect invariants, and design stable entry and recovery.
Decision trade-offs
Activation
Option A
Fully automatic level changes
Option B
Manual incident-command toggles
Recommendation:Automate bounded low-risk transitions with hysteresis; require human authorization for modes that materially change customer or compliance behavior.
Fallback style
Option A
Serve stale or approximate output
Option B
Omit the feature explicitly
Recommendation:Serve stale only when age and correctness are visible and safe; omission is better than plausible but materially wrong output.
Follow-up interview questions
- 01How do you prove a brownout step relieves the current bottleneck?
- 02Which features must never degrade?
- 03How do customers and support learn what is unavailable?
- 04What prevents repeated level flapping during a noisy recovery?
Common weak answers and mistakes
- 01Choosing degradation order based on engineering convenience rather than customer value and resource relief.
- 02Using stale data where incorrect pricing or authorization would violate invariants.
- 03Adding many flags without coherent levels, ownership, or recovery order.
- 04Calling a mode successful because error rate fell while conversion collapsed.
Interviewer evaluation rubric
Turns off optional features ad hoc without quantifying resource relief, business impact, or invariant safety.
Defines product-ranked levels, safe fallbacks, controlled flags, customer messaging, and gradual recovery.
Uses typed contracts, local resilient policy, hysteresis, measured fallback quality, and audited high-impact transitions.
Connects brownout economics to capacity strategy and creates a cross-functional contract proven through realistic exercises.