LLD - Design — Library Management SystemWhich component in a notification system is responsible for deciding how to deliver a notification?AEvent generatorBNotification dispatcherCUser databaseDMessage queueCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify the role of the notification dispatcherThe dispatcher determines the delivery method (email, SMS, push) for notifications.Step 2: Understand other components' rolesEvent generator creates events, user database stores user info, message queue buffers messages but does not decide delivery.Final Answer:Notification dispatcher -> Option BQuick Check:Delivery decision = Dispatcher [OK]Quick Trick: Dispatcher chooses delivery channel for notifications [OK]Common Mistakes:MISTAKESConfusing event generator with delivery decisionThinking message queue decides deliveryAssuming user database controls notification sending
Master "Design — Library Management System" in LLD9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepArchTryChallengeDesignRecallScale
More LLD Quizzes Behavioral Design Patterns — Part 1 - Observer pattern - Quiz 7medium Behavioral Design Patterns — Part 2 - Null Object pattern - Quiz 4medium Behavioral Design Patterns — Part 2 - Null Object pattern - Quiz 1easy Behavioral Design Patterns — Part 2 - Null Object pattern - Quiz 12easy Design — Elevator System - Why elevator design tests state machines - Quiz 6medium Design — Parking Lot System - Enum usage (VehicleType, SpotType) - Quiz 10hard Design — Parking Lot System - Enum usage (VehicleType, SpotType) - Quiz 4medium Design — Parking Lot System - Class identification (ParkingLot, Floor, Spot, Vehicle) - Quiz 12easy Design — Tic-Tac-Toe Game - Player turn management - Quiz 7medium Design — Tic-Tac-Toe Game - Requirements and game rules - Quiz 9hard