nerdexam
Microsoft

70-519 · Question #56

You are designing a testing methodology for an ASP.NET MVC 2 Web application. The application has a rich domain model that represents the logic and the data of the business. A facade over the domain…

The correct answer is B. The domain model. See the full explanation below for the reasoning.

Question

You are designing a testing methodology for an ASP.NET MVC 2 Web application. The application has a rich domain model that represents the logic and the data of the business. A facade over the domain model provides a simplified API that is used by the controllers. A data access layer beneath the domain model is used by the domain model to handle data storage and retrieval. You have the following requirements:

  • Centralize business rules.
  • Directly validate the accuracy of the business rules.

You need to design tests against the appropriate layer to meet the requirements. Which layer should you recommend?

Options

  • AThe controllers
  • BThe domain model
  • CThe data access layer
  • DThe domain model facade

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    76% (22)
  • C
    3% (1)
  • D
    7% (2)

Community Discussion

No community discussion yet for this question.

Full 70-519 Practice