1. Computing

MCAD, MCSD .NET Exam 70-305 Practice Test

Provided by uCertify.com

By

These questions are provided by the folks at uCertify.com. For more information on thier products, please visit uCertify.com.

Question 1

Peter works as a Software Developer for ZenTech Inc. He develops an application, named App1, using Visual Studio .NET. App1 uses a DataSet object, named DataSet1, containing two DataTable objects, named DataTable1 and DataTable2. DataTable1 contains product information and DataTable2 contains purchase information. Peter wants the application to display data from both DataTable1 and DataTable2. He wants to display product information, from DataTable1, in a ListBox control. He also wants to display purchase information, from DataTable2, in a DataGrid control. Which of the following will Peter use to accomplish this?

A. The Merge method of DataSet1
B. The PrimaryKey property of DataTable1
C. The PrimaryKey property of DataTable2
D. The DataRelation class

Answer 1

Question 2

Ross works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual Studio .NET. Employees of the company use App1 for viewing and editing inventory data. While employees use App1 for editing data, App1 maintains data in a DataSet object, named DataSet1. App1 receives data in XML format from a file, named File1.xml, which does not contain information about inline schema. Ross decides to use the ReadXml method of the DataSet class. Which of the following XmlReadMode values will he use in the ReadXml method to accomplish this?

A. Fragment
B. ReadSchema
C. InferSchema
D. IgnoreSchema

Answer 2

Question 3

Andrew works as a Software Developer for BlueWell Inc. He creates an assembly, named Assembly1, using Visual Studio .NET. He wants to use Assembly1 in five COM client applications. Andrew wants the applications to instantiate Assembly1. Which of the following tools will he use to accomplish this?

A. Tlbimp.exe
B. Cordbg.exe
C. Sn.exe
D. Regasm.exe

Answer 3

Question 4

Mark works as a Software Developer for McRobert Inc. He develops an ASP.NET application, named App1, using Visual Studio .NET. App1 uses a SQL Server 7.0 database and a SQL Server .NET Data Provider to connect to the database. App1 is heavily used. Mark finds that the data requests are being blocked while users wait for new connections to be created. He wants to set the minimum pool size to 15. Which of the following clauses of the SqlConnection.ConnectionString property will Mark use to accomplish this?

A. ConnectionPool
B. PoolSize
C. MinPoolSize
D. MinimumPoolSize

Answer 4

Question 5

Sam works as a Software Developer for BlueWell Inc. He develops an ASP.NET application, named App1, using Visual Studio .NET. Sam uses form-based authentication to validate users. He wants to ensure that only authorized users use App1. Which of the following elements will Sam add to the Web.config file to accomplish this?

A. <deny users=="?">
B. <deny users=="*">
C. <allow users=="*">
D. <allow users=="?">

Answer 5

Question 6

Martin works as a Software Developer for BlueWell Inc. He creates an ASP.NET application, named App1. During beta testing of App1, he ensures that the actual ASP.NET error messages are displayed whenever errors are encountered. He also ensures that both developers and beta testers see the actual text of the error messages.

During beta testing of App1, Martin performs beta testing of other applications also on the same test server. All the other applications display the ASP.NET error messages. After completing beta testing, Martin promotes the beta test server to a production server. He wants all the applications to display a single, user-friendly error message. Martin also wants to configure App1 and the production server to meet these goals. He removes the customErrors element from the Web.config file for App1. What else will he do to accomplish the required task with minimum administrative effort?

A. In the App1.config file, add the following element:
<customErrors mode=="On" />
B. In the Web.config file for App1, add the following element:
<customErrors mode=="RemoteOnly" />
C. In the Web.config file for App1, add the following element:
<customErrors mode=="On" />
D. In the Machine.config file, add the following element:
<customErrors mode=="RemoteOnly" />
E. In the Machine.config file, add the following element:
<customErrors mode=="On" />
F. In the App1.config file, add the following element:
<customErrors mode=="RemoteOnly" />

Answer 6

Go To Questions 7-10

  1. About.com
  2. Computing
  3. Tech Certification
  4. Practice Tests
  5. About.com Practice Tests
  6. MCAD, MCSD .NET Exam 70-305 Practice Test from uCertify.com

©2014 About.com. All rights reserved.