PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What conclusion can you draw?

You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the testing and stabilization of applications. Domain.com operates as a medical technological company that manufactures electronic scanning equipment for medical use.
You are currently developing a Microsoft Windows Forms application. This application is destined to allow doctors to perform computed Axial Tomography (CAT) scans on patients. When a CAT scan is carried out, it takes over 1,000 two-dimensional scans that are combined to create a three-dimensional image. There is the matter of performance requirements that the application need to comply with. This performance requirement states that the application must scan 10 images per second.
To this end the testing team deployed a debug build of the application to a staging environment to carry out performance testing. The result of the performance testing was that the application scans nine images per second. You now need to determine whether the performance testing strategy is feasible.

What conclusion can you draw?

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

You need to create a UI element in the application to meet the following requirements:

* Custom logic can be implemented.
* The element can be used in multiple places on each page.
* The element can be used on multiple pages within the application.
* The element can be redistributed for use in other applications without sharing source code or layout files.

What should you do?

Which code segment should you insert at line 16?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework
version 3.5.You create a Web page that has a GridView control named GridView1. The
GridView1 control displays the data from a database named Region and a table named
Location. You write the following code segment to populate the GridView1 control. (Line
numbers are included for reference only.)
01 protected void Page_Load(object sender, EventArgs e)
02 {
03 string connstr;
04
05 SqlDependency.Start(connstr);
06 using (SqlConnection connection =
07 new SqlConnection(connstr))
08 {
09 SqlCommand sqlcmd = new SqlCommand();
10 DateTime expires = DateTime.Now.AddMinutes(30);
11 SqlCacheDependency dependency = new
12 SqlCacheDependency(“Region”, “Location”);
13 Response.Cache.SetExpires(expires);
14 Response.Cache.SetValidUntilExpires(true);
15 Response.AddCacheDependency(dependency);
16
17 sqlcmd.Connection = connection;
18 GridView1.DataSource = sqlcmd.ExecuteReader();
19 GridView1.DataBind();
20 }
21 }
You need to ensure that the proxy servers can cache the content of the GridView1
control.Which code segment should you insert at line 16?

What should you do?

You are designing business layer classes by using the .NET Framework 3.5 and Microsoft SQL Server 2008. The business classes will be used by a banking application. The class diagram for the business classes is as shown in the exhibit. (Refer to the Exhibit.)

You need to ensure that the application meets the following requirements:
Users are allowed to select only one of the three operationswithdraw, deposit, and get balance. Access to other members of the business objects is disallowed.
Future types of accounts can be handled.
Use of the operations directly from the class is disallowed.

Child classes inherited from the business layer classes are prevented from overriding these operations. What should you do?

What conclusion can you draw?

You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the testing and stabilization of applications. Domain.com operates as an airliner. You are stationed on one of the airports that the airliner operates from.
You are currently developing an air traffic control system. This system has a Microsoft .NET Remoting component that upon completion will allow air traffic controllers to help guide airplanes. There is a specific instance of the remote component that controls one airplane. A Microsoft Windows Forms application will provide the user interface which will be used by the air traffic controllers. A test engineer named Amy Wilson created the following integration testing strategy:
1. Deploy the Windows Forms application to a client computer
2. Deploy the remote component to an application server
3. Launch a real airplane into the air with no passengers, on automatic pilot.
4. Attempt to control the airplane by means of the application You now need to make a decision as to whether the integration test strategy will be feasible.

What conclusion can you draw?

What should you do?

You are creating ASP.NET applications by using the .NET Framework 3.5.
The application has two tables named Products and ProductPrice.
The application retrieves and stores data from the Product table into a Dataset object.
The application uses the DataSet object to modify and update the data that is retrieved.
The update command for the related SqlDataAdapter class is generated automatically by using a SqlCommandBuilder object.
You plan to retrieve and modify data from the Product and ProductPrice tables as a unit.

You need to ensure that the application can update the data in the tables. What should you do?