PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are designing a data contract for a Windows Communication foundation (WCF) service that will be hosted by the application.
You need to ensure that the data contract meets the following requirements:
– It does not support Schema versioning.
– It allows additional contract and additional elements to be included over time.
– It allows the client applications to submit messages that contain additional elements without error.
What should you do?

Which two actions should you perform?

You are creating a Windows application by using the .NET Framework 3.5. The application will be used by the shipping department of your company. The application contains a form named SchedulingForm. You plan to design a strategy to ensure the following accessibility criteria:

* SchedulingForm is accessible only to users logged on by using a particular Windows account.
* The Windows account belongs to a local group named Managers.

You need to implement the strategy by using the minimum amount of development effort. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You are an enterprise application developer. You are designing a monitoring mechanism for a Web service. The Web service uses a custom header for authentication. You must send an e- mail message to the server administrators whenever the number of consecutive failed authentication attempts reaches three. You need to design the monitoring mechanism by using the minimum amount of development effort.
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.)

Which three actions should you perform?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application currently generates output to a comma-delimited text file. Users have requested the output be generated to an XML file, a PDF file, or an HTML file.
You need to design the application to allow output in different formats. You also need to allow addition of different output format types without recompilation of the application. Which three actions should you perform?
(Each correct answer presents part of the solution. Choose three.)

What should you do?

You are an enterprise application developer. You are working on an accounting application. The application is designed in a modular manner. Each module provides a different set of accounting features. The modules are implemented as a set of component assemblies. The module versions will be upgraded with new features and bug fixes in a regular maintenance release schedule. You need to ensure that the application is configured to use the updated versions of the modules.
What should you do?

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?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application includes the following components:
– A Windows Presentation Foundation (WPF) user interface
– A class library that implements business logic
You provide documentation to allow customers to use the class library in custom applications. This class library will throw a custom exception.
This custom exception will include a state that provides security-sensitive information.
You need to design the exception to meet the following requirements:
– The unit tests and the WPF user interface can retrieve security-sensitive information.
– Customer applications cannot retrieve security-sensitive information.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. The application connects to a database within the corporate network. It retrieves data from a read-only database. The database contains a table named Customers. An XML file that contains new customer data is periodically provided to the application. The XML file has the following specifications:

* It has the same schema as that of the Customers table.
* It will be integrated into the Customers table.
* It will be removed after data integration.

The application requires data from the Customers table and the XML file to bind to a DataGridView control.

You need to ensure that data can be retrieved together from the two data sources by using minimum development effort. What should you do?