PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create a logging utility class by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The class writes logs to event log services.
You need to ensure that the client applications that use the class can create an instance of the class only if they have permissions to write to the event log services. What should you do?

What should you do?

You create Windows Forms applications by using the .NET Framework 3.5. You plan to use the Windows Installer to deploy a new application. The application must meet the following requirements:

* Support deployment to 32-bit and 64-bit operating systems.
* Use the 64-bit Program Files folder when deployed to 64-bit platforms.

You need to ensure that the application is deployed appropriately.What should you do?

What should you do?

You are an enterprise application developer. You are reviewing a code segment in a Windows Forms application that invokes a Web service asynchronously. You discover that there is no implementation of exception handling. You need to implement exception handling for the application and log the error in the event log by using the minimum amount of coding effort.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application stores customer details in a database within the corporate network. The application has a
form that contains a TextBox control to capture the customer name.
The auto-complete feature must be used in the TextBox control to display the customer names entered
since the application started.
You need to ensure that the application meets the following requirements:
It is available in the offline mode.
It provides the fastest response time for the auto-complete feature.
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 a set of Windows Communication Foundation (WCF) services to authorize and settle credit card transactions.
A separate service is implemented for each credit card provider. However, the same service contracts and data contracts are used across all implementations.
The incoming requests to the service must conform to the contracts.
You need to implement validation to meet the requirement by using a minimum amount of development effort.
What should you do?

What should you do?

You create Windows Forms applications by using the .NET Framework 3.5. You plan to deploy a new application. You need to ensure that on deployment, the application meets the following requirements:

* It is executed on the client computer.
* It is removed from the client computer after the application is closed.
* It is not displayed in the Add/Remove programs panel on the client computer.

What should you do?

What should you do?

You are an enterprise application developer. The application is used by 500 call center executives for an item tracking system. The existing application contains large custom- serializable business objects that contain no user-specific data. The objects are stored by using the session state in-memory provider. You plan to evaluate the logical design of the application. You need to ensure that the application can support long-term growth in the number of users.
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?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application connects to a Microsoft SQL Server 2005 database by using LINQ to SQL. The database contains a table named MarketTransaction.
The MarketTransaction records must be validated against certain business rules before they are added to or updated in the database.
You need to design a validation strategy for the MarketTransaction records. You also need to ensure that the schema changes do not affect the validation code.
What should you do?