Question 119


4.3.3 Question

Multiple Choice

You support hardware purchasing for an ASP.NET MVC application in your company. The application is finished, and the development team knows the number of intended users. Which approach will give the team the best understanding of the application’s hardware needs?

  • A. Create several web tests that exercise all parts of the application, including all static pages. Run these tests in a constant load at various levels to see the effect on performance.
  • B. Create several web tests that exercise all parts of the application, including all static pages. Run these tests in a step approach up to the maximum expected number of users. This will give you an idea of the load one server can handle.
  • C. Create several web tests that exercise all parts of the application, including all static pages. Run these tests in a goal-based approach in which the percent of CPU usage and percent of memory usage metrics are set to the company standard maximums. Evaluate how many users it takes to reach the maximum levels.
  • D. Create several web tests that exercise only the dynamic parts of the application, ignoring all static content. Run these tests in a goal-based approach in which the percent of CPU usage and percent of memory usage metrics are set to the company standard maximums. Evaluate how many users it takes to reach these maximum levels.

Answer:

C
Explanation
A. Incorrect: Running at a constant load, even at various levels of user count, will not efficiently give them the information that they need.
B. Incorrect: Although this approach will give them interesting information and an understanding of the capacity of a server, it is based less on statistical information than on a subjective analysis of performance.
C. Correct: This approach will give them an objective analysis of the amount of users a server can manage at a particular level of memory or CPU usage.
D. Incorrect: This approach leaves out static pages. For a true test, you should exer­cise all parts of the application.