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 21:

    You are designing a .NET Framework 4 solution that contains a Windows Presentation Foundation (WPF) application. The WPF application includes CPU-intensive calculations. The calculations can be run on a separate process and can

    effectively be isolated from the rest of the WPF application.

    You need to recommend a deployment strategy that maximizes the scalability of the calculations for each user.

    What should you recommend?

    A. Deploy the calculation logic as a Windows Communication Foundation (WCF) service to servers. Deploy the WPF application to the same servers.
    B. Deploy the calculation logic as a Windows Communication Foundation (WCF) service to servers. Deploy the WPF application to each client computer.
    C. Deploy the calculation logic as a separate assembly along with the WPF application to each client computer. Invoke methods in the assembly asynchronously.
    D. Deploy the calculation logic as a separate assembly along with the WPF application to each client computer. Invoke methods in the assembly synchronously.

  • Question 22:

    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 23:

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

    The application will contain several forms that include custom data validators.

    You need to ensure that data is validated before the database updates occur. You also need to ensure that the validation logic can be reused.

    How should you design the validation?

    A. Implement the IDataErrorlnfo interface in the data class of the application.
    B. Implement the INotifyPropertyChanged interface in the data class of the application.
    C. ?Subscribe to the MouseLeave event for all user interface (UI) components of the application. ?Perform data validation in the event handler and alert users when a data entry error occurs.
    D. ?Subscribe to the TextChanged event for all user interface (UI) components of the application. ?Perform data validation in the event handler and alert users when a data entry error occurs.

  • Question 24:

    You are designing a Windows Presentation Foundation (WPF) application. The WPF application displays indicators to compare your company's past performance to the current day,s operations data. The WPF application accesses historic

    data from your company's data warehouse through a Web service, and accesses current data directly from a Microsoft SQL Server 2008 database.

    The WPF application must meet the following requirements:

    Retrieve historic data from the data warehouse at application startup and then once per day.

    Retrieve current data from the database every five minutes, and then update the indicators.

    Cache all retrieved data.

    Target the .NET Framework 4 Client Profile.

    You need to recommend an approach to data caching.

    What should you recommend?

    A. Use System.Runtime.Caching with an absolute expiration.
    B. Use System.Web.Caching with a sliding expiration.
    C. Use System.Runtime.Caching with a sliding expiration.
    D. Use System.Web.Caching with an absolute expiration.

  • Question 25:

    You are designing a distributed Windows Presentation Foundation (WPF) application.

    You have the following requirements:

    Ensure that all errors are logged in a central location.

    Ensure that the WPF application logs related errors within a single transaction.

    Secure error information during transmission.

    You need to recommend a strategy for collecting error information.

    What should you recommend?

    A. Write the information to the Windows Application log on each client system. Use Windows Error Reporting to collect the results.
    B. Write the information to the Windows Application log on each client system. Use Windows Management Instrumentation (WMI) to collect the results.
    C. Create a Windows Communication Foundation (WCF) service. Use the basicHttpBinding protocol to transport the information.
    D. Create a Windows Communication Foundation (WCF) service. Use the wsHttpBinding protocol to transport the information.

  • Question 26:

    You are designing a Windows Forms application that allows users to search a product catalog and place orders. You have the following requirements:

    Display a progress indicator while the application is searching the catalog.

    Ensure that users can cancel search operations.

    You need to recommend an approach that meets the requirements.

    What should you recommend?

    A. Use a BackgroundWorker component to perform the search.
    B. Implement the search as a Windows Communication Foundation (WCF) service by using the AsyncPattern property of the OperationContract attribute.
    C. Implement the search as a duplex service.
    D. Execute the search on the user interface thread. Provide a Cancel button to cancel the search.

  • Question 27:

    You are modifying an existing Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The WPF application uses a wizard to capture data and insert the data into a database. The database includes one parent

    table and many child tables.

    Inserting captured data in the database locks many database tables and delays application access.

    You have the following requirements:

    Reduce delays when saving data.

    Ensure that other application users are not blocked from reading data.

    Ensure that captured data is available only after all child tables are updated.

    You need to recommend an approach for inserting captured data into the database.

    What should you recommend?

    A. Insert captured data by using optimistic concurrency as the user completes each wizard page.
    B. Insert captured data by using a single transaction as the user completes each wizard page.
    C. Insert captured data by using non-transactional operations when the user completes the wizard.
    D. Insert all captured data in a single transaction when the user completes the wizard.

  • Question 28:

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

    The application contains a COM component.

    You plan to deploy the application to several client computers by using read-only media.

    You need to ensure that the COM component is registered during deployment of the application.

    Which deployment technology should you use?

    A. XCopy
    B. Microsoft Windows Installer (MSI)
    C. ClickOnce along with full trust
    D. ClickOnce along with partial trust

  • Question 29:

    You are designing a distributed Windows Presentation Foundation (WPF) application.

    You have the following requirements:

    Ensure that all errors are logged in a central location.

    Ensure that the WPF application logs related errors within a single transaction.

    Secure error information during transmission.

    You need to recommend a strategy for collecting error information.

    What should you recommend?

    A. Write the information to the Windows Application log on each client system. Use Windows Error Reporting to collect the results.
    B. Write the information to the Windows Application log on each client system. Use Windows Management Instrumentation (WMI) to collect the results.
    C. Create a Windows Communication Foundation (WCF) service. Use the basicHttpBinding protocol to transport the information.
    D. Create a Windows Communication Foundation (WCF) service. Use the wsHttpBinding protocol to transport the information.

  • Question 30:

    You are designing a Windows Presentation Foundation (WPF) application. The application will be localized into multiple languages.

    You need to recommend an approach for preparing the application for localization.

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

    A. Translate the contents of the appropriate XAML elements into each localization language.
    B. Add an application setting for each language to the App.config file.
    C. Define a UICulture element for each language in the project file.
    D. Add UID attributes to language-specific elements in the XAML file.

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.