nerdexam
Cisco

200-901 · Question #633

A developer has created a three-tier web application for network device control and management. The application consists of multiple objects assigned for different functionalities. When a…

The correct answer is A. Dependent objects are updated automatically. The Observer pattern is a design pattern used to establish a one-to-many dependency between objects, such that when one object (the subject) changes its state, all dependent objects (observers) are automatically notified and updated. This pattern is ideal for applications like…

Software Development and Design

Question

A developer has created a three-tier web application for network device control and management. The application consists of multiple objects assigned for different functionalities. When a configuration change is pushed to a running device, the status is reflected on the dashboard simultaneously. The architecture of the application is based on the Observer pattern. Which advantage does this pattern provide for the application design and architecture?

Options

  • ADependent objects are updated automatically.
  • BOne object can query the state of other objects.
  • CIt reinforces the object dependency.
  • DIt updates the state of dependent objects directly.

How the community answered

(47 responses)
  • A
    91% (43)
  • B
    2% (1)
  • C
    2% (1)
  • D
    4% (2)

Explanation

The Observer pattern is a design pattern used to establish a one-to-many dependency between objects, such that when one object (the subject) changes its state, all dependent objects (observers) are automatically notified and updated. This pattern is ideal for applications like dashboards where multiple components need to reflect real-time updates based on changes in

Topics

#Observer Pattern#Design Patterns#Software Architecture#Event-driven

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice