Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 188
Several teams at a company are developing a new CRM solution to track customer interactions with a goal of improving customer satisfaction and driving higher revenue. The proposed solution contains these components:
* MySQL database that stores data about customers
* HTML5 and JavaScript UI that runs on Apache
* REST API written in Python
What are two advantages of applying the MVC design pattern to the development of the solution? (Choose two.)
Answer options
- A. to enable multiple views of the same data to be presented to different groups of users
- B. to provide separation between the view and the model by ensuring that all logic is separated out into the controller
- C. to ensure data consistency, which requires that changes to the view are also made to the model
- D. to ensure that only one instance of the data model can be created
- E. to provide only a single view of the data to ensure consistency
Correct answer: A, B
Explanation
The correct answers A and B highlight the benefits of the MVC design pattern in allowing multiple views and separating concerns, which enhances maintainability and flexibility. Options C, D, and E are incorrect as they either misinterpret the MVC principles regarding data consistency and modeling, or they limit the functionality and accessibility of the data.