PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating an XML Web service named ListBoxService. This service provides content, such as states, countries, and geographical regions, for use in drop-down list boxes.

ListBoxService contains a Web method named RetrieveRegionsListBox. This method returns a DataSet object that contains every geographical region in the world.

RetrieveRegionsListBox calls a Microsoft SQL Server database to load the DataSet object with region data. You want to minimize the amount of time the method takes to return to the caller.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Use a stored procedure to return the data.

B.
Store each DataSet object 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.


Leave a Reply