Bird
0
0

When designing an emergency handling system that integrates diverse sensor inputs and ranks alerts by urgency, which architectural pattern is most suitable?

hard📝 Trade-off Q8 of 15
LLD - Design — Elevator System
When designing an emergency handling system that integrates diverse sensor inputs and ranks alerts by urgency, which architectural pattern is most suitable?
APeer-to-peer network without centralized control
BMonolithic architecture with synchronous processing
CBatch processing with fixed time intervals
DEvent-driven architecture with priority queues
Step-by-Step Solution
Solution:
  1. Step 1: Analyze requirements

    System must handle multiple sensor types and prioritize alerts by severity.
  2. Step 2: Evaluate architectural patterns

    Event-driven architecture supports asynchronous event handling and priority queues enable alert prioritization.
  3. Step 3: Eliminate unsuitable options

    Monolithic and batch processing lack flexibility and real-time prioritization; peer-to-peer lacks centralized alert management.
  4. Final Answer:

    Event-driven architecture with priority queues -> Option D
  5. Quick Check:

    Event-driven + priority queues fit multi-sensor, prioritized alerts [OK]
Quick Trick: Use event-driven design with priority queues for alert prioritization [OK]
Common Mistakes:
MISTAKES
  • Choosing monolithic design that blocks real-time processing
  • Using batch processing which delays alerts
  • Selecting peer-to-peer which lacks centralized alert control

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes