Interview Questions Answers.ORG
Interviewer And Interviewee Guide
CCIE CertificationCCSP CertificationAFMCSun CertificationGATE Exam Interviews Quizzes

Accounts

AccountingAccounts PayableAuditJunior AccountantSenior Accountant

Analysis

Data AnalystFinancial AnalystGISGIS AnalysisStatistics

Banking

ICICI Bank LtdLoan OfficerRecovery OfficerTreasuryUnderwriter

Basic Job

BehavioralBusiness intelligenceFreshers GraduatePuzzlesTargeted Selection

Best Engineering

Automobile EngineeringChemical EngineeringCivil EngineeringElectrical EngineeringMechanical Engineering

Best Multimedia

3D AnimationCoreldrawDesign EngineerGraphics DesignerInterior Design

Community

Cable OperatorFirefighter SpecialistFuneral DirectorSpeech PathologistTranslator

New Artist

Art DirectorAstrologistInternational RelationshipSociologyVisual Arts

9th Class

9th Class Biology9th Class Chemistry9th Class Computer Studies9th Class Pakistan StudiesEnglish Grammar Section 9th Class

Accounting

Accounting ManagementBank Probationary Officer (PO)Financial Accounting Exam MCQsManagerial Accounting Exam MCQs

Civil Engineering

Building ConstructionRailwaysRCC Structures DesignSoil Mechanics and Foundation EngineeringSurveying

Engineering

Electrical EngineeringElectronic DevicesElectronics EngineeringEngineering MechanicsSoftware Engineering

General Knowledge (GK)

General Knowledge (GK)IQ (Intelligence Quotient)Permutation And CombinationPhysical CommunicationVocabulary

Information Technology (IT)

Basics of ComputerComputer KnowledgeComputer OrganizationFundamentals Of ComputerWireless Communication

Networking

Advanced NetworkingBasic NetworkingComputer Networks TestNetwork SecurityNetworking

Soft Skills Quizzes MCQs

Communication Skills Exam MCQsCorporate Communication Exam MCQsLeadership Skills Exam MCQsNegotiation Skills Exam MCQsTime Management Exam MCQs

Certifications Interviews

AFMC IQAIIMS Exam IQCCDA Certification IQCCIE Certification IQCCIP Certification IQCCSP Certification IQCertifications IQCheck Point Certification IQCISCO Certification IQCIW Certification IQEngineering Entrance Exams IQEntrance Exams IQGATE Exam IQIBM Certification IQICET Exam IQIIT JEE IQISTQB Certification IQManagement Entrance Exams IQMAT IQMCDBA Certification IQMCSD.NET - 70-089 IQMCSD.NET - 70-300 IQMCSD.NET - 70-306 Exam IQMCSD.NET - 70-310 Exam IQMCSD.NET - 70-315 Exam IQMCSD.NET - 70-316 Exam IQMCSD.NET - 70-320 Exam IQMCSD.NET - 70-330 Exam IQMCSD.NET - 70-340 Exam IQMCTS .Net Certification IQMedical Science Entrance Exams IQMicrosoft Certification IQMSCE 2003 Certification IQNovell Certification IQNovell CLE 9 Certification IQNovell CLP Certification IQNovell CNA Certification IQNovell CNE Certification IQNovell MCNE Certification IQOCP 9i DBA Certification IQOPENMAT Exam IQOracle Application Developer IQOracle Certification IQPMI Certification IQPost Graduation Entrance Exams IQRed Hat Certification IQS/W Quality Assurance IQSun Certification IQSybase Certification IQTesting Certification IQ

Role-specific MCSD.NET - 70-310 Exam Interview Questions & Answers:

1. Suppose You create an XML Web service named XYZService. You must ensure that this service meets
the following URL authorization requirements.
? Anonymous access must be disabled for XYZService.
? An authenticated user named User1 cannot access XYZService.
? All other authenticared users can access XYZService.
You configure Internet Information Services (IIS) to meet these requirements. You now need to
configure the authorization section in the Web.config file to properly authorize the users.
Which code segment should you use?
A. <allow users=?*? />.
<deny users=?User1? />
B. <allow users=??? />
<deny users=?User1? />
C. <deny users=?*? />
<deny users=?User1? />
<allow users=??? />
D. <deny users=??? />
<deny users=?User1? />
<allow users=?*? />

D. <deny users=??? />
<deny users=?User1? />
<allow users=?*? />

2. You create an XML Web service named TimeService. Each time TimeService is started, it checks
for the existence of an event log named TimeServiceLog. If TimeServiceLog does not exist,
TimeService creates it.
You discover that when TimeService creates TimeServiceLog, 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 TimeService, 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
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlog registry key to give
full control to the IUSR_computername user account.

B. Create an installer for TimeService, and create the new event log in the installer code.

3. Suppose You are creating a .NET Remoting object named PropertyCache. PropertyCache will hold a
Hashtable object or name/value pairs.
A variety of remote client applications will communicate with PropertyCache to set and get
property values. You need to ensure that properties set by one client application are also
accessible to other client applications.
Which two actions should you take? (Each correct answer presents part of the solution. Choose
two)
A. Configure PropertyCache to be a client-activated object.
B. Configure PropertyCache to be a server-activated Singleton object.
C. Configure PropertyCache to be a server-activated SingleCall object.
D. Derive the PropertyCache class from MarshalByRefObject and override
InitializeLifetimeService() to return null.
E. Mark the PropertyCache class with the Serializable attribute.
Implement the ISponsor interface in the PropertyCache class.
F. Implement the ISerializable and ILease interfaces in the PropertyCache class.
Implement ILease.CurrentLeaseTime to return Int32.MaxValue.

B. Configure PropertyCache to be a server-activated Singleton object.
D. Derive the PropertyCache class from MarshalByRefObject and override
InitializeLifetimeService() to return null.

4. Suppose XYZ Inc. provides a credit card processing application for its customers. The current application
supports only computers that run on a Microsoft Windows operating system.
You are asked to rewrite the current application as a .NET application. This .NET application
does not need to be backward compatible with the current application.
You must ensure that this new application meets the following requirements:
? Must support asynchronous processing.
? Must be able to pass data through firewalls.
? Must pass only SOAP-Compliant formatted data validated by using an XSD schema.
? Must not be limited to client computers running on a Microsoft operating system.
You want to accomplish this task by using the minimum amount of development effort.
Which type of .NET application should you use?
A. Windows service
B. XML Web service
C. Serviced component
D. .NET Remoting object

B. XML Web service

5. 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

B. http://XYZSrv/AppPath/WeatherService.asmx/RetrieveWeather?cityname=somecity

6. 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.

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

7. 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.

A. Store each translated quotation by using the Cache object.

8. Your company frequently receives product information from external vendors in the form of XML
data.
You receive XML document files, an .xdr schema file, and an .xsd schema file.
You need to write code that will create a typed DataSet object on the basis of product information.
Your code will be used in several Visual studio .NET applications to speed up data processing.
You need to create this code as quickly as possible.
What should you do?
A. Create the code manually.
B. Use XmlSerializer.Serialize to generate the code.
C. Use the XmlSerializer.Deserialize to generate the code.
D. Use the Xml Schema Definition tool (Xsd.exe) to generate the code.

D. Use the Xml Schema Definition tool (Xsd.exe) to generate the code.

9. You have a DataSet object named myDataSet. This object contains two DataTable objects
named Customers and Orders. Customers has a column named CustomerID, which is unique to
each customer.
Orders also has a column named CustomerID. You want to use the GetChildRows method of the
DataRow object to get all orders for the current customers.
What should you do?
A. Add a foreign key constraint on CustomerID of Orders between Customers and Orders.
B. Add a data relation to myDataSet on OrderID between Customers and Orders.
C. Create a unique constraint on CustomerID of Customers..
D. Create a primary key on CustomerID of Customers.

B. Add a data relation to myDataSet on OrderID between Customers and Orders.

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()

11. 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)

12. 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

13. 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.

14. 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.

15. 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

16. 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.

17. 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.

18. 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.

19. 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



SHARE




FORUM
PRIVACY
TERMS & CONDITIONS
FEED BACK

Submit Your Feedback:


×

Thank You For Your Feedback!

Your message has been sent successfully.

Disclaimer
Interview Questions Answers .ORG is responsive and optimized web portal for individuals to get preparation for their job interviews, learning and training. Content at Interview Questions Answers .ORG might be simplified to improve our users experience. We constantly review our content to avoid errors and copyright violations, but we cannot warrant full correctness of all the content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.

Interview Questions Answers .ORG
Face Book Twitter Linkedin