200-901 · Question #484
What are two advantages of the MVC design pattern? (Choose two.)
The correct answer is C. It controls the data flow into a model object and updates a view whenever data changes. D. It separates low-level data accessing operations from high-level business services. MVC (Model-View-Controller) has two key advantages reflected here. Option C describes the Controller's role: it mediates data flow into the Model and triggers View updates when data changes-the core MVC interaction loop. Option D describes the separation of concerns MVC…
Question
What are two advantages of the MVC design pattern? (Choose two.)
Options
- AIt represents the visualization of data contained with a model.
- BIt allows filtering of a set of objects using different criteria.
- CIt controls the data flow into a model object and updates a view whenever data changes.
- DIt separates low-level data accessing operations from high-level business services.
- EIt builds a final object through a step-by-step approach.
How the community answered
(29 responses)- A3% (1)
- C93% (27)
- E3% (1)
Explanation
MVC (Model-View-Controller) has two key advantages reflected here. Option C describes the Controller's role: it mediates data flow into the Model and triggers View updates when data changes-the core MVC interaction loop. Option D describes the separation of concerns MVC enforces: the Model handles low-level data access (database queries, persistence), while the Controller manages high-level business logic, keeping these layers independent. Option A describes only the View. Option B describes the Iterator or Filter pattern. Option E describes the Builder design pattern. MVC's primary benefits are maintainability, testability, and separation of concerns across its three components.
Topics
Community Discussion
No community discussion yet for this question.