MCSD.NET - 70-310 Exam Interview Preparation Guide

Elevate your MCSD.NET - 70-310 Exam interview readiness with our detailed compilation of 19 questions. These questions will test your expertise and readiness for any MCSD.NET - 70-310 Exam interview scenario. Ideal for candidates of all levels, this collection is a must-have for your study plan. Access the free PDF to get all 19 questions and give yourself the best chance of acing your MCSD.NET - 70-310 Exam interview. This resource is perfect for thorough preparation and confidence building.
Tweet Share WhatsApp

19 MCSD.NET - 70-310 Exam Questions and Answers:

1 :: Suppose You create three Windows services named EXService1, EXService2, and EXService3. You want
to install all three services on a computer named XYZA by using the Installer tool (Installutil.exe).
On the command line of XYZA, you enter and run the following command:
Installutil EXService1 EXService2 EXService3
During the installation process, EXService3 throws an installation error. The installation process
completes.
How many of the three services are now installed on XYZ1?
A. None
B. One
C. Two
D. Three.

A. None
Download PDFRead All MCSD.NET - 70-310 Exam Questions

2 :: Suppose You are planning to create a DataSet object named EXDataSet to be used in a bond-trading
application.
Several developers will need to write code to manipulate EXDataSet, and you want to ensure that
myDataSet is easy for them to use. You decide to create EXDataSet 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 EXDataSet.
B. Create an XDR schema that defines EXDataSet.
C. Create a class for EXDataSet that is based on the schema and that inherits from the DataSet
class.
D. Create a class for EXDataSet that is based on the schema and that inherits from the
XmlSchema class.
E. Create a key pair for EXDataSet by using the Strong Name tool (Sn.exe).

A. Create an XSD schema that defines EXDataSet.
C. Create a class for EXDataSet that is based on the schema and that inherits from the DataSet
class.

3 :: Suppose You create a serviced component named Scheduler. Scheduler is registered in a library
application. The Scheduler methods parse String objects into Date Time objects.
You write a console application named EXCoverage.exe to test each method in Scheduler. You
want Coverage.exe to test Scheduler for multiple cultures to verify its globalization support.
What should you do?
A. Create a CultureInfo object for each culture locale before calling the Scheduler methods.
B. Create a RegionInfo object for each culture locale before calling the Scheduler methods.
C. Set the current thread?s CurrentCulture property to each culture locale before calling the
Scheduler methods.
D. Create a EXCoverage.exe.config file and add a <location> element to the configuration file for
each culture locale.

C. Set the current thread?s CurrentCulture property to each culture locale before calling the
Scheduler methods.

4 :: Suppose 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 runs 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?
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.

D. Set the CacheDuration property of the WebMethod attribute to an interval greater than zero.

5 :: Suppose You are debugging a visual studio .Net application named XYZApp. The application produces an
Xml documents object and then consumes the same object. This object moves data in the
application. The object has no schema, but it contains a declaration line that you must inspect.
You decide to transform the XML code and its declaration into a string for easy inspection.
What should you do?
A. Assign the ToString method of the Xml Document object to a string variable.
B. Assign the OuterXml property of the Xml document object to a string variable
C. Assign the OuterXml property of the Xml document element property of the Xml document
object to a string variable.
D. Use the WriteContentTo method of the XmlDocument object to write the document into a
MemoryStream object. Use the GetXml method of the DataSet object to get a string version of
the document.

B. Assign the OuterXml property of the Xml document object to a string variable
Download PDFRead All MCSD.NET - 70-310 Exam Questions

6 :: Suppose You create a Windows service that processes XML messages placed in a MSMQ queue. You
discover that the service is not functioning properly.
You need to debug the service to correct the program.
What should you do?
A. Start the Windows service.
Then attach a debugger to the process.
B. Attach a debugger to the Windows service.
Then start the Windows service.
C. Start the Windows service.
Then run the .NET Services Installation tool (Regsvcs.exe).
D. Place a breakpoint in the Main method of the Windows service.
Then run the application within the Visual Studio .NET integrated development environment
(IDE).

A. Start the Windows service.
Then attach a debugger to the process.

7 :: You create a .NET Remoting object named EXPatientinfo that exposes medical patient
information.
Because of the confidential nature of the information, you must ensure that the data remains
secure.
You want client applications to connect to EXPatientinfo over a secure communication channel.
You want to accomplish this task by writing the minimum amount of code.
What should you do?
A. Create your own host application and use a TcpChannel and BinaryFormatter.
B. Create your own host application and use an HttpChannel and a SoapFormatter.
C. Install EXPatientinfo in an Internet Information Services (IIS) virtual directory.
Configure EXPatientinfo to use a TcpChannel and a BinaryFormatter.
Configure IIS to use SSL.
D. Install EXPatientinfo in an Internet Information Services (IIS) virtual directory.
Configure EXPatientinfo to use an HttpChannel and a SoapFormatter.
Configure IIS to use SSL.

D. Install EXPatientinfo in an Internet Information Services (IIS) virtual directory.
Configure EXPatientinfo to use an HttpChannel and a SoapFormatter.
Configure IIS to use SSL.

8 :: You are creating an XML Web service that processes highly confidential messages. The service
exposed a Web method named RetrieveMessage that takes as input a code name and returns an
encrypted message.
You create a SOAP extension and override the extension?s ProcessMessage method so that you
can encrypt the message before it is sent back to the caller.
You need to encrypt only the data within the RetrieveMessageResult node of the SOAP
response. You create a function named EncryptMessage that encrypts the
RetrieveMessageResult node. You need to ensure that this method gets called before sending
the message back to the caller.
During which SoapMessageStage should you call EncryptMessage?
A. BeforeSerialize
B. AfterSerialize
C. BeforeDeserialize
D. AfterDeserialize

B. AfterSerialize

9 :: You have DataSet object named LoanCustomersDataSet that contains customers serviced by the
loan department of XYZ. You receive a second DataSet that contains customers serviced by the
asset management department of XYZ. Both objects have the same structure.
You want to merge assetCustomersDataSet into LoanCustomersDataSet and preserve the
original values in loanCustomersDataSet.
Which code segment should you use?
A. loanCustomersDataSet.Merge (assetCustomersDataSet)
B. loanCustomersDataSet.Merge (assetCustomersDataSet, True)
C. assetCustomersDataSet.Merge (loanCustomersDataSet)
D. assetCustomersDataSet.Merge (loanCustomersDataSet, True)

B. loanCustomersDataSet.Merge (assetCustomersDataSet, True)

10 :: You are creating an XML Web service named XYZService. This service has a function named
WriteMessage that writes messages to a flat file in the C:EXServiceLog directory..
You want to implement security for WriteMessage so that WriteMessage and all the code it calls
can write messages only to the EXServiceLog directory.
Which code segment should you use?
A. Dim filePermission As New
FileIOPermission_(FileIOPermissionAccess.Write, ?C:EXServiceLog?)
filePermission.Demand()
B. Dim filePermission As New
FileIOPermission_(FileIOPermissionAccess.Write, ?C:EXServiceLog?)
filePermission.Deny()
C. Dim filePermission As New
FileIOPermission_(FileIOPermissionAccess.Write, ?C:EXServiceLog?)
filePermission.PermitOnly()
D. Dim filePermission As New
FileIOPermission_(FileIOPermissionAccess.Write, ?C:EXServiceLog?)
filePermission.Assert()

C. Dim filePermission As New
FileIOPermission_(FileIOPermissionAccess.Write, ?C:EXServiceLog?)
filePermission.PermitOnly()
Download PDFRead All MCSD.NET - 70-310 Exam Questions