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

    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. Configure a WCF endpoint to use the MetTcpBinding binding.
    B. Configure a WCF endpoint to use the basicHttpBinding binding.
    C. Add a load-balancing router to the Web farm configuration.
    D. Set up an SSL certificate on the server.

  • Question 72:

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

    You plan to implement a logging strategy for the application.

    You need to record all unexpected errors that occur in the application.

    What should you do?

    A. Subscribe to the unhandled exception event handler for the AppDomain object. Record relevant application-specific information to an external log.
    B. Subscribe to the unhandled exception event handler for the application's dispatcher on the main application thread. Record relevant application-specific information to an external log.
    C. Create a generic catch (Exception e) block in the Main method of the application. Record relevant application-specific information to a log in the Main method.
    D. Create a global WIN 32 unhandled exception filter. Record relevant application-specific information to an external log from within the filter.

  • Question 73:

    You are designing a Windows Presentation Foundation (WPF) application that connects to a data access layer on a server.

    You have the following requirements for all security-related exceptions:

    Exceptions that occur in the data access layer must be handled in a single exception handler in the WPF application.

    Exceptions must pass customized messages back to the WPF application.

    You need to recommend an approach for creating new exception classes in the data access layer.

    From which class should you inherit?

    A. System.AccessViolationException
    B. System.ApplicationException
    C. System.Security .SecurityException
    D. System.InvalidOperationException

  • Question 74:

    You are designing a Windows Presentation Foundation (WPF) application. The main window of the WPF application includes two panels: panel1 and panel2.

    The WPF application must meet the following requirements:

    Panel2 must be enabled only after users have entered values into multiple text boxes in panel1.

    The background color of panel2 must be set to a specific color based on one of the text box values in panel1.

    The background color of panel2 must be set at the same time the panel is enabled.

    You need to recommend an approach for meeting the requirements.

    What should you recommend?

    A. Use a Command object.
    B. Use Dependency properties.
    C. Use a DataTemplate object.
    D. Use a MultiDataTrigger object.

  • Question 75:

    You are designing a Windows Presentation Foundation (WPF) application that accesses a business tier. The business tier is implemented as a Windows Communication Foundation (WCF) service and stores data in a Microsoft SQL Server

    2008 database.

    The WCF service will be accessed by external applications that do not use the .NET Framework.

    You need to recommend an approach for passing data between layers.

    What should you recommend?

    A. Use custom .NET classes with XML serialization.
    B. Use custom .NET classes with binary serialization.
    C. Use a DataSet object.
    D. Use the DiffGram XML format.

  • Question 76:

    You are designing a Windows Presentation Foundation (WPF) application that connects to a data access layer on a server.

    You have the following requirements for all security-related exceptions:

    Exceptions that occur in the data access layer must be handled in a single exception handler in the WPF application.

    Exceptions must pass customized messages back to the WPF application.

    You need to recommend an approach for creating new exception classes in the data access layer.

    From which class should you inherit?

    A. System.ApplicationException
    B. System.AccessViolationException
    C. System.InvalidOperationException
    D. System.Security.SecurityException

  • Question 77:

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

    The application will contain several forms that include custom data validators.

    You need to ensure that data is validated before the database updates occur. You also need to ensure that the validation logic can be reused.

    How should you design the validation?

    A. Implement the IDataErrorlnfo interface in the data class of the application.
    B. Implement the INotifyPropertyChanged interface in the data class of the application.
    C. ?Subscribe to the MouseLeave event for all user interface (UI) components of the application. ?Perform data validation in the event handler and alert users when a data entry error occurs.
    D. ?Subscribe to the TextChanged event for all user interface (UI) components of the application. ?Perform data validation in the event handler and alert users when a data entry error occurs.

  • Question 78:

    You are developing a Windows application.

    The application will process data that is stored on the user's computer.

    You plan to design a data storage strategy.

    You need to ensure that the following requirements are met:

    Local data can be accessed only by the application

    Local data can be encrypted and compressed

    Local data can be shared between multiple users by sending them the data file by email

    Users must be able to open the data file directly from the email message

    Which local data storage technology should you use?

    A. XML File
    B. Microsoft Access
    C. Microsoft SQL Server Express Edition database
    D. Microsoft SQL Server Compact Edition database

  • Question 79:

    You are designing an n-tier .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application. The WPF application will access data stored in a Microsoft SQL Server 2008 database by using the solution's data

    access tier. The data access tier must also be available from within Microsoft Excel 2010.

    You need to recommend a technology for accessing the data access tier.

    Which technology should you recommend?

    A. ADO.NET Entity Framework 4
    B. LINQ to SQL
    C. WCF Data Services
    D. LINQ to XML

  • Question 80:

    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 data tier
    B. The data access tier
    C. The presentation tier
    D. The business tier

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.