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

    You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to create a Customer object that contains an Orders property. The Orders property

    contains an array of Order objects.

    When users browse Customer objects, they must be able to optionally view Order objects. You need to design a data access strategy that retrieves data only when necessary.

    Which strategy should you use?

    A. lazy loading
    B. eager loading
    C. file streaming
    D. pessimistic locking

  • Question 152:

    You are designing a .NET Framework 4 solution that contains a Windows Presentation Foundation (WPF) application and a Windows Communication Framework (WCF) Web service. The WPF application will be deployed to users' desktops located in the company's corporate network. The WCF Web service will be deployed to a Web farm located in the company's perimeter network. The firewall between the perimeter network and the Internet allows only HTTP and HTTPS traffic.

    You need to recommend an approach for minimizing the attack surface of the WCF Web service. What should you recommend?

    A. Add a load-balancing router to the Web farm configuration.
    B. Configure a WCF endpoint to use the basicHttpBinding binding.
    C. Configure a WCF endpoint to use the NetTcpBinding binding.
    D. Set up an SSL certificate on the server.

  • Question 153:

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

    You are analyzing a Windows client application that uses Microsoft Visual Studio 2010 and Microsoft SQL Server 2008.

    The application updates two database tables from the main user interface (UI) thread. You need to ensure that the following requirements are met:

    The database tables are either updated simultaneously or not updated at all.

    Users are notified of the success or failure of the updates.

    Users are able to perform other tasks during the update process.

    What should you do?

    A. Use TransactionScope in a using block on the UI thread. Batch the database updates by setting the DbDataAdapter.UpdateBatchSize property to 2.
    B. Move the database update logic to a BackgroundWorker thread. Ensure that the thread is enclosed in a TransactionScopeusing block in the BackgroundWorker DoWork method.
    C. Use TransactionScope in a using block on the main thread. Create a BackgroundWorker thread within the block. Move the database updates to the BackgroundWorker DoWork method.
    D. Use TransactionScope in a using block on the UI thread. Create a DependentTransaction object within the block and pass the object to the BackgroundWorker ReportProgress method Use the object in the ReportProgress method to create a new TransactionScope block.

  • Question 155:

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

    The application will consist of a user interface (UI) tier and a middle tier. The middle tier will be implemented by using Windows Communication I Foundation (WCF).

    Each method in the middle tier will contain the following catch block.

    Catch (Argument-NullException e)

    { thcow e; }

    When testing the application, you discover that all ArgumentNullExceptions exceptions that occur in the middle tier do not contain accurate stack trace information.

    You need to design the exception handling strategy for the application.

    What should you do?

    A. Create an ArgumentFMullException handler in the UI tier.
    B. Use a DispatcherUnhandledExceptionEvent handler in the UI tier.
    C. Use a DispatcherUnhandledExceptionEvent handler in the middle tier.
    D. Remove the exception parameter from the ArgumentNullException handler.

  • Question 156:

    You are deploying an application on Windows client computers by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You need to ensure that the deployment package meets the following requirements:

    Grants only the necessary permissions Adds a shortcut to the Windows Start menu Registers the application within Programs and Features ?Can be published to a Web site

    Which deployment strategy should you use?

    A. XCopy
    B. ClickOnce
    C. Merge module
    D. Windows Installer

  • Question 157:

    You are designing an n-tier solution that connects to a Microsoft SQL Server 2008 database.

    You plan to deploy the database to development machines and to a staging database server from within Microsoft Visual Studio 2010. You plan to set up separate build configurations for development and staging. You also plan to deploy to

    multiple production database servers managed by an outside vendor.

    You must not allow the outside vendor to access the visual Studio projects.

    You need to recommend an approach for configuring and deploying the production database servers.

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

    A. Use a SQL Server 2008 Database Project.
    B. Use SQL Server 2008 Management Studio to deploy the production databases.
    C. Use VSDBCMD to deploy the production databases.
    D. Use a Visual Basic SQL CLR Database Project.

  • Question 158:

    You are designing an n-tier .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application and a Windows Workflow Foundation (WF) component. The WF component contains functionality to incorporate

    frequently changing rules.

    You need to recommend a tier for the deployment of the WF component that will not degrade the performance of the WPF application.

    Which tier should you recommend?

    A. The business tier
    B. The data access tier
    C. The data tier
    D. The presentation tier

  • Question 159:

    You are designing an update to an existing Windows Presentation Foundation (WPF) application. Users can purchase and download photographs from the company's Web server by using the WPF application. Photographs must be viewable

    only when logged in as the user who purchased the photographs.

    You need to recommend a download location for the photographs.

    Which location should you recommend?

    A. the application's IsolatedStorage folder
    B. the user's IsolatedStorage folder
    C. the application's installation folder
    D. the user's local Temp folder

  • Question 160:

    Which to possible ways to call operation without blocking of UI thread?

    A. Use async call of operation in main thread
    B. Use sync call of operation in main thread
    C. Use sync call of operation in other threads

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.