200-901 · Question #586
A network engineer developed an application that performs configuration automation. The engineer used the MVC model for the application design. It has a web interface for users to interact, collect co
The correct answer is A. It contains data and responds to state queries and updates.. In the MVC (Model-View-Controller) design pattern, the Model is responsible for managing the application's data, business logic, and state. It stores configuration data for devices, responds to queries about the current state, and processes updates when changes are made. In this
Question
A network engineer developed an application that performs configuration automation. The engineer used the MVC model for the application design. It has a web interface for users to interact, collect configuration directives for specific devices, and communicate with network devices through REST-based APIs. What is the advantage of the model component in MVC design in this scenario?
Options
- AIt contains data and responds to state queries and updates.
- BIt keeps views and controllers updated during the execution.
- CIt defines main application behavior and contains functions to run.
- DIt renders the data for easy use by the remaining parts of the design.
How the community answered
(48 responses)- A96% (46)
- B2% (1)
- D2% (1)
Explanation
In the MVC (Model-View-Controller) design pattern, the Model is responsible for managing the application's data, business logic, and state. It stores configuration data for devices, responds to queries about the current state, and processes updates when changes are made. In this network automation application, the Model holds the device configuration directives and interacts with the REST-based APIs to reflect current device state. The View renders the UI (web interface), and the Controller handles user input and coordinates between the View and Model.
Topics
Community Discussion
No community discussion yet for this question.