PrepAway - Latest Free Exam Questions & Answers

Category: 70-566

Exam 70-566: UPGRADE: Transition your MCPD Windows Developer Skills to MCPD Windows Developer 3.5

What should you do?

You create a Windows application by using the .NET Framework 3.5. You review the design for a Windows application that has the following features:

* The data layer sends and receives data updates by using Microsoft Messaging Queue (MSMQ) 4.0.
* Data is stored in a Microsoft SQL Server 2008 server database instance.
* Data from a DataSet object is displayed in a DataGrid control.
* The application is deployed to portable computers that can access the corporate network only when plugged on to it.
* The data must be most securely stored when the computer is in offline mode.

You need to ensure that the portable computers can update data even when offline. What should you do?

What should you do?

You create a Windows application by using the .NET Framework 3.5. The application is used for data entry purposes. The application has the following features:

* Data is read from a shared Microsoft SQL Server 2008 database instance.
* Data entered and saved by the users is temporarily stored in a local SQL Server 2008 Compact edition database instance.
* When the users log off from the application, new records from the local database instance are synchronized to the shared database.
* You discover that the performance of the application is affected when multiple users log off from the application at the same time.

You need to design a performance improvement strategy for the application by using minimum amount of cost, time, and development effort. What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. An existing application uses functionality provided by an unmanaged dynamic-link library (DLL) to validate user inputs. The application contains a wrapper class that uses Platform Invoke to access the required DLL functions. The application has the following deployment and security requirements:

* ClickOnce deployment is used to publish the application to an Internet Web site.
* The application is available online only.
* The application does not require protected storage.
* Users can access the application without requiring the elevated permission.

You need to ensure that the deployment and security requirements are met without affecting the application validation performance. What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. The application stores data in a Microsoft SQL Server 2008 database. You discover the following performance issues:

* The application takes a long time to respond.
* The application consumes over 900 MB of RAM.

You need to ascertain the reason for the poor performance of the application.What should you do?

Which two actions should you perform?

You create a Windows application by using the .NET Framework 3.5. The application uses a Microsoft SQL Server 2008 database. You discover that the application is non-responsive and performs slowly at certain times during the day. Twenty-five additional users are added to the application to meet a deadline. You need to ensure that all users experience a consistent level of high application performance throughout the day. You want to achieve this goal by using minimum development effort. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. The application creates lookup fields by using data from a database within the corporate network. You use the DataAdapter object to retrieve data as a DataSet from the database. You need to reduce the network bandwidth that is used by the application. What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. The application retrieves individual product details from a database within the network. The product details frequently change. The product details available to the application can be up to one hour old. The details of a single product can be retrieved
multiple times during a single execution of the application. You need to design a caching strategy that uses the minimum amount of network bandwidth. What should you do?

Which code segment should you add at line 03?

ou are creating a multiple-document interface (MDI) application by using the .NET Framework 3.5. You configure the frmParent form to be an MDI parent. You write the following code segment. (Line numbers are included for reference only.)

01 Form frmChild = new Form();
02 Form frmParent = this;
03

You need to associate and display the frmChild form and the frmParent form.Which code segment should you add at line 03?

Which code segment should you use?

You are creating a Windows Forms application for a courier company by using the .NET Framework 3.5. You create a form that allows customers to track the progress of their shipments.
The form contains the following elements:

* A text box named txtTN that allows users to enter a tracking number
*An ErrorProvider control named ErrorProvider1 that informs users of an invalid tracking number
* A function named ValidTrackingNumber that validates tracking numbers

You need to ensure that the txtTN text box is validated.Which code segment should you use?


Page 5 of 9« First...34567...Last »