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…
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)- A3% (1)
- B88% (30)
- C6% (2)
- D3% (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
Community Discussion
No community discussion yet for this question.