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

    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 in WPF.

    The middle tier of the application is implemented by using an existing COM component.

    The middle tier contains a long-running method named ProcessData.

    You need to ensure that users can continue to use the UI while ProcessData is running.

    What should you do?

    A. Use an asynchronous worker thread to call ProcessData.
    B. Use the Invoke method of the Dispatcher class to call ProcessData.
    C. Call the Run method of the Dispatcher class before invoking ProcessData.
    D. Call the DoEvents method of the Application class before invoking ProcessData.

  • Question 62:

    You are designing a mission-critical Windows Presentation Foundation (WPF) application that uses .NET Framework 4.

    You need to recommend an approach for identifying repair and recovery time.

    What should you recommend?

    A. Test for buffer overflows.
    B. Use component stress testing.
    C. Test the failover technologies.
    D. Use integration stress testing.

  • Question 63:

    You are reviewing multiple Windows Presentation Foundation (WPF) applications that capture postal addresses. The WPF applications have different appearances and functionality. Each WPF application uses a different control to visualize the captured addresses.

    You plan to modify all WPF applications to allow developers to visualize addresses by using a common template. You need to recommend an approach for standardizing the visualization of captured addresses.

    What should you recommend?

    A. Use a DataTemplate object.
    B. Use a ControlTemplate object.
    C. Use a FrameworkTemplate object.
    D. Use an ItemsPanelTemplate object.

  • Question 64:

    You are developing an application by using Windows Forms and Microsoft NET Framework 4. The user interface (UI) of the application can be resized.

    You need to ensure that the images in the application scale to the entire height and width of the UI without degradation.

    What should you do?

    A. Convert the images to PNG format.
    B. Use a Picture Box control. Set the Size Mode property to use auto-sizing.
    C. Use an Element Host control. Convert the images to XAML-based images.
    D. Use a Picture Box control. Add events to resize the control based on the size of the main UI form.

  • Question 65:

    You are designing a Windows application by using Microsoft .NET Framework 4.

    Remote users have limited network connectivity. Users will not have write permissions to the local file system.

    You plan to design the error logging strategy for the application.

    You need to ensure that the application can collect error information. You also need to ensure that the errors can be analyzed from a centralized location.

    What should you do?

    A. Use a local log file.
    B. Use the Microsoft Sync Framework.
    C. Log the errors to a Web service.
    D. Log the errors to the Windows System event log.

  • Question 66:

    You are developing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.

    The application contains a grid that displays customer data stored in a database table. Users report that the grid takes a long time to display.

    You plan to implement data caching to improve loading time for the grid.

    You need to ensure that the cached data expires when the customer data is updated.

    What should you do?

    A. Use the System.Runtime.Caching.SqlChangeMonitor class.
    B. Use the ADO.MET Entity Framework.
    C. Use the System.Web.Caching.CacheDependency class.
    D. Use a static variable to store the Grid object.

  • Question 67:

    You are designing an n-tier Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.

    The application will replace an existing client/server application. The existing application was created by using Microsoft Visual Basic 6.0 and consists of a series of COM components that access a SQL Server database.

    You plan to move the existing COM components into a Windows Communication Foundation (WCF) tier.

    You need to ensure that the COM components can be replaced without impacting the existing user interface (UI) tier. You also need to ensure that the COM components can be replaced separately.

    What should you do?

    A. Create a common assembly on the UI tier of the new application to interface with the COM components.
    B. Create a common assembly on the WCF tier of the new application to interface with the COM components.
    C. Use .NET COM Interop on the client tier to interact directly with the COM components until they are replaced by the managed code.
    D. Convert the Visual Basic 6.0 source code to managed code by using the Visual Studio converters. Use these code components on the client/server application until they are replaced individually with the new permanent managed code functionality.

  • Question 68:

    You are designing a Windows Forms application. The application connects to a Microsoft SQL Server 2008 database.

    You need to recommend an approach for retrieving and logging all informational messages and error messages reported by the database.

    What should you recommend?

    A. Retrieve informational messages in a SqlException object. Retrieve error messages by creating a handler for the InfoMessage event.
    B. Retrieve informational messages by creating a handler for the InfoMessage event. Retrieve error messages in a SqlException object.
    C. Retrieve informational messages and error messages by creating a handler for the InfoMessage event.
    D. Retrieve informational messages and error messages in a SqlException object.

  • Question 69:

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

    You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.

    The application is used mostly in a disconnected scenario. The application requires offline data from a Microsoft SQL Server 2008 database. When the application connects to the network, data will be modified and synchronized.

    You need to ensure that the application does not access the database server directly to synchronize data when online.

    Which technology should you use?

    A. WCF Data Service
    B. Remote Data Access
    C. ADO.NET Sync Services
    D. SQL Server Merge Replication

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.