Question 111


4.1.1 Question

Multiple Choice

Your application has an intermittent issue, based on the user’s path through the application, in which the application seems to stop running. Even when running in debug mode, the application calls a web service and then stops. The application locks and the call never returns, thus the user’s request is never completed and eventually times out.

What performance or profiling tool will provide the most pertinent information about your application?

  • A. CPU sampling in the Performance Wizard
  • B. Memory allocation in the Performance Wizard
  • C. Resource contention data in the Performance Wizard
  • D. Tracing from the System.Diagnostics namespace that logs the times of web service call and web service return
  • E. The Health Monitoring tool, for capturing security information related to the interaction with the web service

Answer:

C
Explanation
A. Incorrect: CPU sampling will not provide assistance for the main problem of the application locking up.
B. Incorrect: Memory analysis will not provide assistance for the main problem of the application locking up.
C. Correct: Thread and resource profiling will give some understanding of what kind of actions are taking place that will cause a resource or thread to be blocked.
D. Incorrect: Tracing information regarding when a web service starts and stops would be interesting. However, the problem is that the web service is called and never returns, so this logging information would not be complete or useful.
E. Incorrect: A problem with security information would likely not cause the service to stop responding.