QuestionQ76

Software Development and Design

A network engineer created an application that automates configuration tasks. The engineer used the MVC model for the application's design. It includes a web interface for users to interact with it, gather configuration directives for particular devices, and communicate with network devices through REST-based APIs.

What is an advantage of the model component in the MVC design in this scenario?

  • A It contains data and responds to state queries and updates.
  • B It keeps views and controllers updated during the execution.
  • C It defines main application behavior and contains functions to run.
  • D It renders the data for easy use by the remaining parts of the design.
Explanation

The MVC model encapsulates the application's data and state, and it provides the operations used to query and update that state. This separates configuration data and related business logic from the web presentation and request-handling components.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!