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 - Observer pattern - Quiz 10hard Behavioral Design Patterns — Part 1 - State pattern - Quiz 14medium Design — Library Management System - Why library management tests CRUD design - Quiz 12easy Design — Library Management System - Search functionality design - Quiz 8hard Design — Library Management System - Notification system - Quiz 3easy Design — Library Management System - Fine calculation - Quiz 11easy Design — Tic-Tac-Toe Game - Extensibility (NxN board, multiple players) - Quiz 13medium Design — Tic-Tac-Toe Game - Player turn management - Quiz 2easy Design — Tic-Tac-Toe Game - Player turn management - Quiz 7medium Design — Tic-Tac-Toe Game - Move validation - Quiz 14medium