PrepAway - Latest Free Exam Questions & Answers

Category: 70-563

Exam 70-563: Pro: Designing and Developing Windows Applications Using the Microsoft .NET Framework 3.5.

Which two actions should you perform?

You are creating a Windows client application by using the .NET Framework 3.5.
The application will be used to retrieve real-time stock information during market-trading hours.
The application has the following data transfer features:
The untyped DataSet objects are used to transfer data between the different application tiers.
The Windows Communication Foundation channel is used to connect the client application and the
service layer.
You discover that the serialization of the DataSet objects results in large payloads that cause an increase
in the network traffic.
You need to modify the serialization of the DataSet objects to reduce the network traffic. You also need to
preserve the DataTable relationships within the DataSet object.
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 will be used to update information about musicians and their albums. Users can submit
their rankings for the album.
The application has the following specifications:
It contains SyncTable objects named Artist, Album, and AlbumReview.
It uses a local database cache to switch between online and offline modes.
It applies the offline changes when an Internet connection becomes available.
The application uses the ADO.NET synchronization services and contains a Synchronize() method.
You need to ensure that the application meets the following requirements:
The information about the musicians and their albums are updated in a single transaction.
The process of updates to the musicians and their albums is unaffected by the user rankings.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application will be used to retrieve information about the technical skills of the employees.
The data will be retrieved from the following related tables on a Microsoft SQL Server 2008 database
instance by using LINQ to SQL:
EmployeeSkills table
TechnicalSkills table
The application must retrieve data from the TechnicalSkills table only when the corresponding
EmployeeSkills rating value is 3. In addition, the application must minimize data returned and prevent
duplicate information from being returned.
You need to meet the outlined requirements in one roundtrip to the database.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application is used to retrieve information about musicians.
The application uses LINQ to SQL to return an Artist object, and related Album objects for each artist.
You plan to add a method named FindArtists. The method has parameters named ArtistName of type
string and IncludeAlbums of type boolean.
The FindArtists method must meet the following requirements:
If the IncludeAlbums parameter is set to True, then all the Album objects of the returned Artist object are
populated.
If the IncludeAlbums parameter is set to False, then all the Album objects of the returned Artist object are
not populated.
No duplicated data is returned.
Data returned does not require additional processing on the client application.
You need to ensure that changes to the client application are minimal.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application processes a large number of records. The records are processed on a separate thread.
Occasionally, the record processing takes a long time. You add a Cancel button to the form. You also add
an AutoResetEvent object on the user interface thread, and set the default value of the object to false.
You plan to perform the following steps in sequence:
After every record is processed, read the value of the AutoResetEvent object by using the
AutoResetEvent.WaitOne method.
When the value of the AutoResetEvent object is True, discontinue the record processing.
You need to modify the Click event handler of the Cancel button to change the value of the
AutoResetEvent object.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application performs multiple read/write operations to the file system by using asynchronous delegate
invocation.
You discover that the read/write operations are abruptly terminated when the application exits. The files
either remain open or are corrupted.
You need to ensure the application completes all read/write operations successfully before it exits.
What should you do?

Which set of commands should you insert at line 02?

You are creating a Windows application by using the .NET Framework 3.5.
You create an installer package that deploys the following elements:
The PageLayout.exe tool
The ImageImporter.exe tool
A shared DLL named Graphics.dll
Resource files
You use the NGen Windows service and write the script package commands in the following manner.
(Line numbers are included for reference only.)
01 ngen queue pause
03 ngen executequeueditems 1
04 ngen queue continue
You need to ensure that the following installation requirements are met:
The just-in-time (JIT) compilation of the PageLayout.exe tool is completed during installation.
The Graphics.dll file is installed to the global assembly cache.
The script package commands are placed in a sequence for precompilation of the ImageImporter.exe tool
after installation.
Conflicts between the installer package and the NGen Windows service are avoided during installation.
The script package commands are arranged in the sequence of their execution.
Which set of commands should you insert at line 02?

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?

Which three actions should you recommend?

You are creating a Windows application by using the .NET Framework 3.5. The application is used to
schedule appointments.
The application contains a scheduling component that will perform the following tasks:
Return available appointments.
Add a new appointment to a calendar.
The initial implementation of the scheduling component must be deployed.
You need to recommend a strategy to allow replacement of the scheduling component without changing
compiled code.
Which three actions should you recommend? (Each correct answer presents part of the solution. Choose
three.)

What should you do?

You create a windows application by using the .NET Framework 3.5. The application has a business
layer and a data access layer class library.
You create a Web UI by using ASP.NET for the application.
You discover excessive code repetition on the flow of the application between the Windows Forms UI and
the Web UI.
You need to increase code reuse between the applications.
What should you do?


Page 6 of 13« First...45678...Last »