MCSD.NET - 70-310 Exam Question:
Download Questions PDF

How to create a serviced component named SessionDispenser. This computer is in the XYZ.Utilities
assembly and is registered in a COM+ server application. SessionDispenser has multiple callers.
You discover that there are logic problems in the Create New Session method. You want to
debug any calls to this method.
What should you do?
A. Open the SessionDispenser solution.
Set a breakpoint on the CreateNewSession method.
Start the debugger.
B. Attach the debugger to the client process.
Set a breakpoint on the SessionDispenser.CreateNewSession method.
C. Attach the debugger to the XYZ.Utilites.exe process.
Set a breakpoint on the CreateNewSession method.
D. Attach the debugger to a Dllhost.exe process.
Set a breakpoint on the CreateNewSession method.

Answer:

D. Attach the debugger to a Dllhost.exe process.
Set a breakpoint on the CreateNewSession method.

Download MCSD.NET - 70-310 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You are creating an XML Web service that provides a daily quotation from literary works to its
customers. This quotation is requested in many different languages, thousands of times every
day, and by thousands of Web sites operating many different platform.
A Web method named GetEXQuotes takes a languageID as input. GetEXQuotes uses this
language ID to retrieve a translated version of the daily quotation from a Microsoft SQL Server
database and to return that quotation to the customer.
You want to minimize the time it takes to return the translated version.
What should you do?
A. Store each translated quotation by using the Cache object.
B. Store each translated quotation by using the Session object.
C. Set the BufferResponse property of the WebMethod attribute to false.
D. Set the CacheDuration property of the WebMethod attribute to an interval greater than zero.
Suppose You create an XML Web service named WeatherService. This service contains a Web method
named RetrieveWeather. RetrieveWeather takes as input a city named and returns the current
weather conditions for that city.
You need to provide callers of this service with the URL they need to issue an HTTP-GET against
WeatherService.
Which URL should you use?
A. http://XYZSrv/AppPath/WeatherService.asmx/cityname=somecity
B. http://XYZSrv/AppPath/WeatherService.asmx/RetrieveWeather?cityname=somecity
C. http://XYZSrv/AppPath/WeatherService/RetreieveWeather.asmx?cityname=somecity
D. http://XYZSrv/AppPath/WeatherService/RetrieveWeather?cityname=somecity