Microsoft
70-499 · Question #37
You develop an n-tier application that includes the following components: - Database - Data access layer - Business logic layer - Presentation layer (website) The database has approximately 100…
The correct answer is A. Create a mock data access layer. See the full explanation below for the reasoning.
Question
You develop an n-tier application that includes the following components: - Database - Data access layer - Business logic layer - Presentation layer (website) The database has approximately 100 tables and stores large amounts of data. You need to select a unit testing strategy to verify the business logic layer. What should you do?
Options
- ACreate a mock data access layer.
- BCreate a mock data access layer.
- CCreate a mock business logic layer and a test database.
- DCreate a test database from a backup of the live database.
How the community answered
(68 responses)- A75% (51)
- B7% (5)
- C15% (10)
- D3% (2)
Community Discussion
No community discussion yet for this question.