1.
You are creating a Windows application by using the .NET Framework 3.5. The application will be used by individuals with physical disabilities. You need to ensure that the application implements accessibility guidelines for navigation. What should you do?
2.
You are creating a Windows application by using the .NET Framework 3.5. The application will be used by individuals with physical disabilities. You need to ensure that the application meets the accessibility design guidelines for screen readers. What should you do?
3.
You are updating a Windows application by using the .NET Framework 3.5. You are required to upgrade the UI for the application from Windows Forms to Windows Presentation Foundation (WPF). The new version of the application will include new UI components. You need to ensure that an interim release of the application will support the new UI components within Windows Forms. You want to achieve this goal by using minimum development effort. What should you do?
4.
You are creating a Windows application by using the .NET Framework 3.5. You plan to develop utility classes for the application. The classes will provide a data access layer, a business logic layer, and a presentation layer. The presentation layer utility class provides functions for the controls on the forms. You need to ensure that the utility classes can be reused in other applications. You want to achieve this goal by using minimum possible development effort. What should you do?
5.
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?
6.
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.)
7.
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?
8.
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?
9.
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?
10.
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?