nerdexam
Cisco

200-901 · Question #44

What are two advantages of the Model-view-controller software design pattern? (Choose two.)

The correct answer is B. allows for multiple views of the same model E. separates responsibilities of the code, which makes future modifications easier. (B) MVC allows multiple views to be created from the same underlying model. For example, the same data model can be rendered as an HTML page, a JSON API response, or a mobile UI without changing the business logic. (E) MVC separates an application into three distinct layers…

Software Development and Design

Question

What are two advantages of the Model-view-controller software design pattern? (Choose two.)

Options

  • Asimplifies network automation
  • Ballows for multiple views of the same model
  • Cmakes code easier to deploy using Cl/CD pipelines
  • Dreduces need for error handling
  • Eseparates responsibilities of the code, which makes future modifications easier

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    88% (30)
  • C
    6% (2)
  • D
    3% (1)

Explanation

(B) MVC allows multiple views to be created from the same underlying model. For example, the same data model can be rendered as an HTML page, a JSON API response, or a mobile UI without changing the business logic. (E) MVC separates an application into three distinct layers - Model (data/business logic), View (presentation), and Controller (input handling) - which isolates concerns so that modifying one layer does not require changes to the others, making future development and maintenance much easier. MVC does not inherently simplify network automation (A), ease CI/CD deployment (C), or reduce error handling needs (D) - these are not core benefits of the pattern.

Topics

#Software Design Patterns#Model-View-Controller (MVC)#Separation of Concerns#Software Architecture

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice