PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

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 design and development of application frameworks. 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. It takes no more than two seconds to make a two-dimensional scan, however it also takes approximately 20 seconds to combine each image. The Microsoft Windows Forms application that you are developing must allow doctors to take the two-dimensional scans without requiring the patients to wait for a long time. You thus need to choose the appropriate component to meet this requirement.

What should you do? (Choose the correct component.)

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.
The application will be accessed by users in remote locations over the Internet.
You plan to use ASP.NET role management.
You need to ensure that any authorization information cached on remote client computers is as secure as possible.

What should you do?

What should you do?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET. The application connects to a Microsoft SQL Server 2005 database that contains
the tblOrderDetails table.You plan to create an exception handler for the application.The
tblOrderDetails table has been created by using the following DDL statement. CREATE
TABLE tblOrderDetails(
[OrderID] int NOT NULL FOREIGN KEY REFERENCES
tblCustomerOrders(OrderID),
[ProductID] int NOT NULL,
[Qty] int NOT NULL,
[UnitPrice] float CONSTRAINT ckPositivePrice CHECK (UnitPrice >=0),
[Discount] float CONSTRAINT ckPositiveDiscount CHECK (Discount >=0))
You need to ensure that the users are notified when an update to the tblOrderDetails table
causes a violation of any constraint. What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application contains several classes. A code review reveals redundant business logic within the classes in the application. You need to eliminate the redundant business logic in the classes. What should you do?

What should you do?

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 design and development of applications. You are currently developing an Extensible Markup Language (XML) Web service that when completed will allow client applications the ability to download movie clips. One of the requirements that should be met is that all Web service clients must be able to use the Web service. You should also keep in mind that you should optimize the message transfer for some of the movie clips since fifty percent of the movie clips are quite large.
To this end you decide to make use of Microsoft Visual Studio 2005 and Web Services Enhancements (WSE) 3.0 to develop the Web service. Now you need to modify the Web.config file to meet the requirements.

What should you do? (Choose the correct configuration.)

What should you do?

You have a board support package (BSP) for a target hardware platform in the %_PLATFORMROOT%\BSP1 folder. The %_PLATFORMROOT%\BSP1\files folder contains a file named logo.bmp. You need to include the file in the Windows Embedded CE run-time image for every OS design that uses the BSP. What should you do?

What should you do?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET.The application connects to a Microsoft SQL Server 2005 database that contains
a table named Customers.Concurrent users update the Customers table frequently.You write
the following code segment. (Line numbers are included for reference only.)
01 SqlDataAdapter adapter = new SqlDataAdapter(
“SELECT CustomerID, CompanyName, LastUpdated” +
” FROM Customers ORDER BY CustomerID”, connection);
02 adapter.UpdateCommand = new SqlCommand(
“UPDATE Customers Set CompanyName = @CompanyName”
+ ” WHERE CustomerID = @CustomerID AND ” +
“LastUpdated = @LastUpdated”, connection);
03 adapter.UpdateCommand.Parameters.Add(
“@CustomerID”, SqlDbType.Int, 0, “CustomerID”);
04 adapter.UpdateCommand.Parameters.Add(
“@CompanyName”, SqlDbType.NVarChar, 30,
“CompanyName”);
05 SqlParameter parameter =
adapter.UpdateCommand.Parameters.Add(
“@LastUpdated”, SqlDbType.Timestamp, 0,
“LastUpdated”);
06 parameter.SourceVersion = DataRowVersion.Original;
07
You need to ensure that the application updates only records without optimistic concurrency
violations.What should you do?

Which storage mechanism should you use?

You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application retrieves a large amount of application-wide data from a database. The data retrieval is very slow. The data gets refreshed every 30 minutes. You need to ensure that the data is available for frequent access. You also need to make the most efficient use of resources. Which storage mechanism should you use?