Bird
0
0

Which of the following best describes the God Object anti-pattern in system design?

easy📝 Conceptual Q11 of 15
LLD - Advanced LLD Concepts
Which of the following best describes the God Object anti-pattern in system design?
ASeparating data storage and business logic into different layers.
BA system design where components are loosely connected and communicate via events.
CA single component that handles too many responsibilities, making the system hard to maintain.
DUsing multiple small services to handle different tasks independently.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the God Object concept and compare options

    The God Object anti-pattern occurs when one component or class takes on too many responsibilities, leading to complex, hard-to-maintain code. A single component that handles too many responsibilities, making the system hard to maintain. matches this description exactly, while others describe good design practices.
  2. Final Answer:

    A single component that handles too many responsibilities, making the system hard to maintain. -> Option C
  3. Quick Check:

    God Object = Single overloaded component [OK]
Quick Trick: God Object means one part does too much [OK]
Common Mistakes:
  • Confusing God Object with microservices
  • Thinking God Object is a good modular design
  • Mixing God Object with event-driven architecture

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes