70-518 Exam Details

  • Exam Code
    :70-518
  • Exam Name
    :PRO: Design & Develop Wndws Apps Using MS .NET Frmwrk 4
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :239 Q&As
  • Last Updated
    :Dec 13, 2021

Microsoft 70-518 Online Questions & Answers

  • Question 201:

    You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.

    The application retrieves customer data from an enterprise resource planning (ERP) system.

    You need to ensure that the following requirements are met:

    Customer data is retrieved only once.

    Customer data is available on multiple forms within the application.

    Forms can implement Two-Way binding to the customer data.

    What should you do?

    A. Store the results of the query in a static DataTable object that is used by all the forms.
    B. Store the results of the query in a local XML file. Bind all forms to an XMLDataAdapter object that references the local XML file.
    C. Design a static class for the data that implements the [Observable interface. Subscribe to the static class from each of the forms that use the data.
    D. Design a static class for the data that implements the INotifyPropertyChanged interface. Raise the PropertyChanged event to notify the forms when data is changed.

  • Question 202:

    You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft SQL Server 2008.

    You create a window that allows users to search for products that match a given name. Search results are displayed when the user types each letter of the product name.

    You use a method named FindProducts to obtain the list of products.

    Users report that when they type a letter of the product name, the window stops responding for a varying amount of time. While the window stops responding, users cannot type more letters. The window stops responding even when the

    search generates few results.

    You need to ensure that the window responds while users type a name.

    What should you do?

    A. Cache the results returned by the FindProducts method for each set of criteria.
    B. Use a VirtualizingStackPanel class to display the list of client applications that match the given name.
    C. Create a delegate for the FindProducts method. Pass the delegate to the Invoke method of the Dispatcher property of the window.
    D. Before you call the FindProducts method, call the Freeze method on the Brush object that is used as the Background property of the window.

  • Question 203:

    You are designing a Windows Presentation Foundation (WPF) application that displays thumbnail images of photographs. The thumbnails are arranged in rows and columns.

    The number of columns must automatically update based on the size of the application window.

    You need to recommend a container for displaying all the thumbnail images at the same size.

    Which container should you recommend?

    A. a WrapPanel control
    B. a StackPanel control
    C. a Canvas control
    D. a DockPanel control

  • Question 204:

    You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.

    You create a control named HelpViewer to view the Help documentation of the application. The HelpViewer control must be available to al windows in the application.

    You need to ensure that the application allows users to perform the following tasks:

    Bookmark their location in the documentation and return to the bookmark from any window.

    Hide the HelpViewer control.

    Dock the HelpViewer control.

    You create a main window as a base class. What should you do next?

    A. ?Add the HelpViewer control to the window at runtime. ?Inherit all other window classes in the application from the main window base class.
    B. ?Add the HelpViewer control to a DockPanel control at runtime. ?Inherit all other window classes in the application from the main window base class.
    C. ?Add the HelpViewer control and a Frame control to a DockPanel control to the window at runtime. ?Create all other windows in the application as pages and host them in the Frame control.
    D. ?Add the HelpViewer control and a Frame control to a StackPanel control to the window at runtime. ?Create all other windows in the application as pages and host them in the Frame control.

  • Question 205:

    You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will consist of several data entry forms. Each data entry form requires a user to enter phone numbers and addresses. You need to design a solution that promotes code reusability.

    What should you do?

    A. Add multiple text boxes for each data entry form.
    B. Use the same style resource for each data entry form.
    C. Create a new user control and reference it on each data entry form.
    D. Create a new merged resource dictionary and reference it from each data entry form.

  • Question 206:

    You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft NET Framework 4.

    The user interface (UI) tier of the application will be implemented by using WPF. The middle tier of the application will be implemented by using Windows Communication Foundation (WCF). The middle tier will contain several methods that

    update data in a remote database.

    The middle tier will also contain a long-running method named Process Data.

    The Process Data method performs database operations and can take several minutes to complete.

    You need to ensure that the UI of the application can continue to call other methods while the Process Data method is running

    What should you do?

    A. Implement the Process Data method by using Windows Workflow Foundation (WF).
    B. Implement the Process Data method by using the Invoke method on the Dispatcher class.
    C. Call the Run method of the Dispatcher class before invoking the Process Data method
    D. Call the Do Events method of the Application class before invoking the Process Data method

  • Question 207:

    You are developing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4.

    You need to recommend a testing strategy to identify the additional hardware resources that are necessary to support future projected growth.

    Which testing strategy should you recommend?

    A. Load testing
    B. Stress testing
    C. Capacity testing
    D. Integration testing

  • Question 208:

    You are designing a Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The application uses a subset of the functionality provided by a third-party COM component that will be replaced later.

    The application developers must have access to only the required subset of functionality.

    You need to recommend a solution that meets the requirements.

    Which two actions should you recommend? (Each correct answer presents part of the solution.

    Choose two.)

    A. Create an adapter assembly that exposes the entire functionality of the COM component.
    B. In the adapter assembly, use an embedded interop reference.
    C. In the adapter assembly, use a standard interop reference.
    D. Create an adapter assembly that exposes the required subset of the COM component functionality.

  • Question 209:

    You are designing a .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application, a Windows service, and a private assembly shared by the WPF application and by the Windows service. The solution

    stores data in a local Microsoft SQL Server Compact 3.5 database. The WPF application and Windows service will each access the database directly. The solution will be installed by using Windows Installer.

    You have the following requirements:

    The installer must allow users to specify the installation folders for the WPF application and for the database.

    The solution must support the deployment of updates to the WPF application without restarting the Windows service.

    You need to recommend an approach for installing the solution.

    Which two actions should you recommend? (Each correct answer presents part of the solution.Choose two.)

    A. Install the Windows service to a different folder from the WPF application.
    B. Install the Windows service to the same folder as the WPF application.
    C. In the installer, create a registry key that stores the WPF application installation path.
    D. In the installer, set an environment variable that defines the database installation path.

  • Question 210:

    You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.

    You have designed the application to use the ADO.NET Entity Framework for the Data Access Layer (DAL).

    You have designed the user interface (UI) of the application by using the Model-View- ViewModel (M-V- VM) pattern.

    The middle tier of the application is designed by using Windows Communication Foundation (WCF).

    The database schema changes often. The DAL entity objects are required to be referenced from the middle tier and the ViewModel layer of the UI.

    You need to ensure that the DAL entity objects are updated when the database schema changes.

    What should you do?

    A. Create an observable collection of objects.
    B. Create typed DataSets.
    C. Create persistent-aware objects.
    D. Create persistent-ignorant objects.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-518 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.