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

    You are designing a Windows Presentation Foundation (WPF) application that will be used to display real- time data from a Microsoft SQL Server 2008 database.

    You need to recommend an approach for displaying the data.

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

    A. Implement Oneway binding between the controls in the WPF application and objects in the data layer.
    B. Implement OneWayToSource binding between the controls in the WPF application and objects in the data layer.
    C. Use a SqlCacheDependency object in the data layer to query the database when a change is detected.
    D. Use a System.Runtime.Caching object in the data layer with a sliding expiration, and query the database when the Cache object expires.

  • Question 212:

    You are reviewing an existing Windows application that uses .NET Framework 4.

    When the user clicks a button, the application sequentially processes thousands of image files contained in a directory. The user interface becomes unresponsive while the application processes the files.

    You have the following requirements:

    Modify the button's click event.

    Increase application throughput by processing multiple image files concurrently.

    Ensure that the user interface remains responsive while the application processes the image files.

    You need to recommend an approach for meeting the requirements.

    What should you recommend?

    A. Iterate over the image files. For each image file, use the Process.Start() method to launch a console application that processes the image file.
    B. Use the ThreadPool.QueueUserWorkItem() method to queue up a single work item that uses the Parallel.ForEach () method to process the image files concurrently.
    C. Use the Parallel.ForEach() method to process the images concurrently.
    D. Iterate over the image files by using the Parallel.ForEach() method. For each image file, start a separate thread that processes the image file, by using the Thread.Start() method.

  • Question 213:

    You are developing a Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.

    The application will store data in a SQL Server database instance.

    You plan to use the Code Generation technology to develop data entities.

    You need to ensure that the following requirements are met:

    When the application runs, a database must be created if it does not already exist. When the database schema changes, data entities must be added dynamically. Which data access technology should you use?

    A. LINQ to SQL
    B. ADO.NET Data View
    C. ADO.NET Typed DataSets
    D. ADO.NET Entity Framework

  • Question 214:

    You are designing a Windows client application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010. The business logic layer of the application is implemented by using Windows Communication Foundation (WCF).

    You write the following code segment in the middle tier:

    -Public Interface lWcf Service

    - -Sub ProcessData(ByVal d As Data)

    End Interface

    The Process Data service method is a long-running operation.

    You need to ensure that the application meets the following requirements:

    "Users can continue to use the user interface while the Process Data service method is running.

    "Message delivery is reliable.

    What should you use?

    A. A Session full One-Way operation on Process Data with a proxy-based synchronous class invocation
    B. A Session full Request-Reply operation on Process Data with a proxy-based asynchronous invocation
    C. A Session less One-Way operation of Process Data with a proxy-based synchronous class invocation
    D. A Session less Request-Reply operation on Process Data with a proxy-based asynchronous invocation

  • Question 215:

    You are designing a Windows Presentation Foundation (WPF) client application that requests reports from a Windows Communication Foundation (WCF) Web service.

    Users must be able to perform other tasks while the WCF Web service generates the report.

    You need to recommend a message exchange pattern for the communication between the WPF application and the WCF Web service.

    What are two possible message exchange patterns that will meet the requirements? (Each correct answer presents a complete solution. Choose two.)

    A. Datagram with session
    B. Request-Response
    C. Duplex
    D. Datagram without session

  • Question 216:

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

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

    You need to ensure that the following requirements are met:

    All UI elements are labeled,

    All property values are exposed.

    Keyboard navigation contains tab stops for all controls.

    The application functions on high contrast displays.

    Which testing strategy should you recommend?

    A. Stress testing
    B. Stability testing
    C. Usability testing
    D. Accessibility testing

  • Question 218:

    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 a 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 219:

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

    You plan to design a diagnostic logging strategy that will be used in a production environment.

    You need to ensure that the strategy meets the following requirements:

    Enables or disables diagnostic messages by using an application configuration option. Changes the level of detail in the diagnostic messages without recompiling the application. Which class should you use?

    A. Trace
    B. Debug
    C. Contract
    D. EventLog

  • Question 220:

    You are designing a Windows client application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will read and write data that is stored in a mainframe application.

    A hardware device that is located between the application and the mainframe removes all XML- formatted messages.

    You need to ensure that the application can request and receive data from the mainframe application.

    What should you create?

    A. a RSS-based WCF service
    B. a REST-based WCF service
    C. a .NET Remoting service that uses the SOAP formatter
    D. a .NET Web Service that uses the wsHttpBinding binding

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.