Microsoft
70-498 · 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
(21 responses)- A76% (16)
- B5% (1)
- C5% (1)
- D14% (3)
Community Discussion
No community discussion yet for this question.