nerdexam
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)
  • A
    76% (16)
  • B
    5% (1)
  • C
    5% (1)
  • D
    14% (3)

Community Discussion

No community discussion yet for this question.

Full 70-498 Practice