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

    You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. During testing of the application, you identify several bottlenecks by using Windows Task Manager and Windows Performance Monitor.

    You need to recommend a system test strategy that will meet the following requirements:

    Identify major application workloads

    Identify the functions of the application that are most impacted.

    Which testing strategy should you recommend?

    A. Usability testing
    B. Security testing
    C. Stability testing
    D. Scalability testing

  • Question 32:

    You are upgrading a stand-alone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft .NET Framework 4.

    You plan to add .NET 4 types and members to both applications.

    Both applications consume a common utility assembly that modifies files on a local file system.

    The utility assembly requires full trust.

    You need to ensure that both applications can use the common utility assembly without any security- related exceptions.

    What should you do?

    A. Change the element for the WPF application to the .NET Framework 3.5.
    B. Change the element for the XBAP application to the .NET Framework 3.5.
    C. Apply the AllowPartiallyTrustedCallersAttribute attribute to the utility assembly.
    D. Apply the AllowPartiallyTrustedCallersAttribute attribute to the XBAP application.

  • Question 33:

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

    You plan to implement control caching to improve the loading time of a control. It is not required to refresh the content of the control after the application loads. The application will be compiled by using the .NET 4 client profile.

    You need to ensure that the following requirements are met:

    The control is reusable in multiple forms.

    Data in the control is cached when the application is loaded.

    What should you do?

    A. In the Load event of the application window, add code to load the control. Save the control to an instance variable.
    B. In the Load event of the application window, add code to load the control. Save the control to the cache by using objects in the System.Web.Caching namespace.
    C. In the constructor of the application window, add code to load the control. Save the control to a static variable.
    D. In the constructor of the application window, add code to load the control. Save the control to the cache by using objects in the System.Web.Caching namespace.

  • Question 34:

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

    You plan to add a feature to the application. The application will be used in several different locales. The application will send data to a centralized server and log the date and time information.

    You need to ensure that the date and time information includes the local Universal Time Coordinate (UTC) offset value.

    Which class should you use?

    A. CultureInfo
    B. DateTimeOffset
    C. CulturelnfoConverter
    D. DateTimeOffsetConverter

  • Question 35:

    You are designing a .NET Framework 4 solution. The solution contains a Windows Presentation Foundation (WPF) application and a Windows Communication Foundation (WCF) Web service.

    The WPF application uses the WCF Web service to store data in a Microsoft SQL Server 2008 database.

    You have the following requirements:

    Ensure that the WPF application functions while users' computers are offline.

    Minimize the time spent sending data to the WCF Web service.

    Minimize disk space requirements for data storage.

    You need to recommend an approach for synchronizing data between the WPF application and the database.

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

    A. Store data in custom business objects. Serialize data locally by using custom serialization.
    B. Create a local caching solution that periodically checks for Internet connectivity, uses local memory, and batches changes to the WCF Web service.
    C. Create a local caching solution that periodically checks for Internet connectivity and writes directly to the local data store and to the WCF Web service.
    D. Store data in DataSet objects. Serialize data locally by using XML serialization.

  • Question 36:

    You are designing the data access layer (DAL) for an application that uses Microsoft SQL Server 2008, Microsoft ADO.NET, and Microsoft Visual Studio 2010.

    Conflicts are occurring in the SQL Server database due to concurrent updates.

    You need to design a database locking strategy that meets the following requirements:

    Resolves concurrent update conflicts without loss of data

    Ensures that data conflicts can be resolved by users

    Locks only the data necessary for updates

    What should you do?

    A. Use optimistic locking. Terminate the update when a DBConcurrencyException occurs.
    B. Use pessimistic locking. Terminate the update when a DBConcurrencyException occurs.
    C. Use pessimistic locking. Retry the failing update operation in the DBConcurrencyException exception handler until it succeeds.
    D. Use optimistic locking. In the DBConcurrencyException exception handler, display the data of both original and updated records to the user. Allow the user to resolve the conflicts.

  • Question 37:

    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 user's local Temp folder
    B. the application's installation folder
    C. the application's IsolatedStorage folder
    D. the user's IsolatedStorage folder

  • Question 38:

    You are designing an n-tier Windows solution that includes a data entry application. The solution uses Microsoft .NET Framework 4 and Microsoft SQL Server 2008.

    The data entry application sends customer orders to a middle-tier server. The middle-tier server sends orders to a set of services that perform operations on the orders. Business rules determine which services to call and whether to run them

    in sequence or in parallel. The business rules are complex and data dependent.

    The Windows solution must meet the following requirements:

    Optimize application performance by using dynamic load balancing.

    Allow for business rules to be changed at runtime.

    You need to recommend an approach that meets the requirements.

    What should you recommend?

    A. Private message queues with a controller class on the middle-tier server
    B. SQL Server stored procedures
    C. A routed service that uses Windows Communication Foundation (WCF) messaging
    D. A Windows Communication Foundation (WCF) service for each operation, with a controller class on the middle-tier server

  • Question 39:

    You are debugging a Windows application that uses Windows Presentation Foundation (WPF) and Microsoft Visual Studio 2010.

    The application is deployed as an XAML browser application (XBAP). Some users report that they are not able to use the drag-and-drop functionality.

    You need to ensure that all users can use the drag-and-drop functionality.

    What should you do?

    A. Use loose XAML.
    B. Require the FullTrust permission on the XBAP application.
    C. Add the URL for the application to the browser's trusted sites list.
    D. Register the assembly that contains the IDataObject objects to the GAC on all client computers.

  • Question 40:

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

    You have designed the application to use the ADO.NET Entity Framework for the Data Access Layer (DAL).

    You have designed the user interface (UI) of the application by using the Model-View- ViewModel (M-V- VM) pattern.

    The middle tier of the application is designed by using Windows Communication Foundation (WCF).

    The database schema changes often. The DAL entity objects are required to be referenced from the middle tier and the ViewModel layer of the UI.

    You need to ensure that the DAL entity objects are updated when the database schema changes.

    What should you do?

    A. Create an observable collection of objects.
    B. Create persistent-aware objects.
    C. Create typed DataSets.
    D. Create persistent-ignorant objects.

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.