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

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

    You are designing a Windows application.

    The application must meet the following requirements:

    Provide three-dimensional views of data.

    Display images, text, graphs, and videos.

    Support porting to a browser-based application.

    You need to recommend a technology that meets the requirements.

    Which technology should you recommend?

    A. Windows Presentation Foundation (WPF)
    B. Direct3D
    C. GDI+
    D. Windows Forms

  • Question 163:

    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. Execute the search on the user interface thread. Provide a Cancel button to cancel the search.
    C. Implement the search as a duplex service.
    D. Implement the search as a Windows Communication Foundation (WCF) service by using the AsyncPattern property of the OperationContract attribute.

  • Question 164:

    You are evaluating an existing Windows Presentation Foundation (WPF) application. The WPF application runs in a Web browser as a XAML browser application (XBAP). The WPF application runs in the Intranet zone with Full Trust. A client

    certificate for the WPF application has been generated. Users are unable to access the WPF application. You locate the following message in the security log:

    "User has refused to grant required permissions to the application." Users state that they are clicking OK in all message boxes that appear.

    You need to recommend an approach for ensuring that the WPF application runs correctly on all client computers.

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

    A. Use the Code Access Security Policy Tool to grant the appropriate permissions.
    B. Sign the ClickOnce manifest for the WPF application.
    C. Import the client certificate to the Trusted Root store.
    D. Modify the ClickOnce manifest for the WPF application to grant the appropriate permissions.

  • Question 165:

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

    You need to ensure that when the user attempts to run the application, the user cannot use the application if a new version of the application is available.

    What should you do?

    A. Deploy the application by using the XCopy technology.
    B. Create a Custom Action within the MSI package to check for updates.
    C. Use the ClickOnce technology along with the Search for updates during application startup setting.
    D. Use a BackgroundWorker object on an application load to connect to a Background Intelligent Transfer Service (BITS) service.

  • Question 166:

    You are designing an n-tier solution for use by multiple groups of users. The solution consists of a client application that collects information from users and transmits it to a business layer for processing. The business layer sends the

    information to a service layer by using Windows Communication Foundation (WCF). The service layer exists on multiple servers.

    The solution must send the collected information to a specific server in the service layer based on the user's group.

    You need to recommend an approach that will allow the information to be sent to the correct server.

    What should you recommend?

    A. Create a Windows Workflow Foundation (WF) activity on the client.
    B. Implement the WCF 4 Routing Service.
    C. Impersonate the client in the business layer.
    D. Implement a duplex contract on the service layer.

  • Question 167:

    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 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.
    B. Iterate over the image files. For each image file, use the Process.Start() method to launch a console application that processes the image file.
    C. Use the Parallel.ForEach() method to process the images concurrently.
    D. Use the ThreadPool.QueueUserWorkItem() method to queue up a single work item that uses the Parallel.ForEach () method to process the image files concurrently.

  • Question 168:

    You are preparing to deploy a solution that includes a Windows Forms application and several COM components. Unsigned interop assemblies have been created for each of the COM components.

    You need to recommend an approach for deploying the solution.

    What should you recommend?

    A. Deploy the windows Forms application and interop assemblies to a folder on the client computer. Sign the interop assemblies.
    B. Deploy the Windows Forms application and COM components to a folder on the client computer. Deploy the interop assemblies to the Global Assembly Cache (GAC).
    C. Deploy the Windows Forms application, COM components, and interop assemblies to a folder on the client computer. Register the COM components.
    D. Deploy the Windows Forms application to a folder on the client computer. Deploy the COM components and interop assemblies to the Global Assembly Cache (GAC). Register the COM components.

  • Question 169:

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

    The application retrieves data from multiple heterogeneous data sources. The retrieved data is aggregated into a single record set.

    You need to ensure that the application takes advantage of new multi-core server processors.

    Which technology should you use?

    A. LINQ
    B. PLINQ
    C. ADO.NET DataSet
    D. ADO.NET Typed DataSet

  • Question 170:

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

    The application is deployed as an XAML Browser Application (XBAP) and executes in the Internet Zone in Internet Explorer. The application updates data in a SQL Server 2008 database. Users report that a SecurityException exception occurs when the application attempts to save data to the database.

    You need to design a solution to resolve the problem. What should you do?

    A. Redesign the XBAP application by using partial trust.
    B. Redesign the XBAP code to utilize stored procedures.
    C. Design a WCF Service tier to provide database access.
    D. Design a data access layer that uses ASP.NET Entity Framework to communicate with the database by using the System.Data.SqICIient class.

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.