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

Suppose You have a .NET Remoting object named ES ProductLoader. The ES ProductLoader class is a
server-activated Singleton object.
The ES ProductLoader class loads product data into a Microsoft SQL Server database. The Load
method of the ES ProductLoader class is a time-consuming method to call. You are developing a
client application that uses the ES ProductLoader class. You want to ensure that the client
application can continue to respond to user input while the Load method of the ES ProductLoader
class is called.
What should you do?
A. Use an AsyncDelegate instance to call the Load method.
B. Modify the ES ProductLoader class to be derived from IAsyncResult.
C. Configure the ES ProductLoader class to be a client-activated .NET Remoting object.
D. Configure the client application to have its own remoting channel that matches the servers
channel and formatter.

MCSD.NET - 70-320 Exam Interview Question
MCSD.NET - 70-320 Exam Interview Question

Answer:

A. Use an AsyncDelegate instance to call the Load method.

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

Previous QuestionNext Question
Suppose You create an XML Web service named Time ESService. Each time ESService is started, it
checks for the existence of an event log named Time ESServiceLog. If TimeServiceLog does not
exist, Time ESService creates it. You discover that when Time ESService creates Time
ESServiceLog, it throws a System.Security.SecurityException. The exception includes the
following message: "Requested registry access is not allowed". You need to resolve this problem.
What should you do?
A. Configure Inetinfo.exe to run as the local administrator user account.
B. Create an installer for Time ESService, and create the new event log in the installer code.
C. Modify the Web.config file by adding an identity element to impersonate the LOGON user
specified by Internet Information Services (IIS).
D. Modify the permissions of the
KEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlog registry key to give
full control to the IUSR_computername user account.
Suppose You are planning to create a Dataset object named ES DataSet to be used in a bond-trading
application. Several developers will need to write code to manipulate myDataSet, and you want to
ensure that ES DataSet is easy for them to use. You decide to create ES DataSet as a strongly
typed data set. Which two actions should you take? (Each correct answer presents part of the
solution. Choose two)
A. Create an XSD schema that defines ES DataSet.
B. Create an XDR schema that defines ES DataSet.
C. Create a class for ES DataSet that is based on the schema and that inherits from the Dataset
class.
D. Create a class for ES DataSet that is based on the schema and that inherits from the
XmlSchema class.
E. Create a key pair for ES DataSet by using the Strong Name tool (Sn.exe).