LLD - Design — Elevator SystemWhy is it important for an emergency handling system to implement circuit breakers when calling external services?ATo prevent cascading failures by stopping calls to failing servicesBTo increase the number of retries indefinitelyCTo log every request in detailDTo slow down alert processing intentionallyCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand circuit breaker purposeCircuit breakers stop calls to external services that are failing to prevent system overload and cascading failures.Step 2: Evaluate other optionsIncreasing retries indefinitely worsens failures, logging is unrelated to circuit breaking, slowing processing is harmful.Final Answer:To prevent cascading failures by stopping calls to failing services -> Option AQuick Check:Circuit breaker purpose = Prevent cascading failures [OK]Quick Trick: Circuit breakers stop calls to failing services [OK]Common Mistakes:MISTAKESConfusing circuit breakers with logging or retriesThinking circuit breakers slow down processing intentionally
Master "Design — Elevator System" in LLD9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepArchTryChallengeDesignRecallScale
More LLD Quizzes Behavioral Design Patterns — Part 1 - Strategy pattern - Quiz 5medium Behavioral Design Patterns — Part 1 - Command pattern - Quiz 12easy Behavioral Design Patterns — Part 2 - Why more behavioral patterns solve communication - Quiz 1easy Behavioral Design Patterns — Part 2 - When to use which behavioral pattern - Quiz 15hard Behavioral Design Patterns — Part 2 - When to use which behavioral pattern - Quiz 11easy Design — Elevator System - Elevator, Floor, Request classes - Quiz 9hard Design — Elevator System - State management (idle, moving up, moving down) - Quiz 9hard Design — Parking Lot System - Why parking lot is a classic LLD problem - Quiz 8hard Design — Parking Lot System - Payment handling - Quiz 2easy Design — Tic-Tac-Toe Game - Command pattern for undo - Quiz 8hard