70-511 Exam Details

  • Exam Code
    :70-511
  • Exam Name
    :TS: Windows Applications Development with Microsoft .NET Framework 4
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :287 Q&As
  • Last Updated
    :Jan 26, 2022

Microsoft 70-511 Online Questions & Answers

  • Question 171:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.

    You create a custom control named Wheel.

    You need to ensure that the Speed property of Wheel can be animated.

    What should you do?

    A. Inherit the DependencyObject class.
    B. Declare the Speed property as a dependency property.
    C. Declare an animation of the Speed property from within the code-behind file.
    D. Implement the System.Windows.Media.Animation.IAnimatable interface with the Wheel class.

  • Question 172:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains an ObservableCollection object named Pictures that contains several Picture objects. Each Picture object

    contains the Name and PictureFilePath properties.

    You add a ListBox control to the application.

    You need to ensure that the pictures are displayed in the ListBox control.

    Which code fragment should you use?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 173:

    You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled.

    The application requires access to environment variables on each computer.

    You need to ensure that users who do not have administrative permissions can install the application.

    Which deployment method should you use?

    A. Start from Web.
    B. Install from Web.
    C. Start from network share.
    D. Install from network share.

  • Question 174:

    You are developing a user control for a Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event.

    You need to ensure that the user control responds to the button click event before the hosting control responds to the event.

    What should you do?

    A. Use a bubbling routed event. In the button click event handler, set the Handled property to True.
    B. Use a bubbling routed event. In the button click event handler, set the Handled property to False.
    C. Use a standard Microsoft .NET event. Set the Handled property to True.
    D. Use a tunneling routed event. Set the Handled property to False.

  • Question 175:

    You develop a Windows Presentation Foundation (WPF) application. This application is used to output data trends to customer service representatives. A data trend analysis is performed in a function named UpdateTrendData. The trend

    analysis is a long-running process.

    The application contains the following code segment.

    Class MainWindow

    Private Sub UpdateData(By Val arg As Object) Dim data As Double = UpdateTrendData() ...

    End Sub

    End Class

    UpdateData is currently invoked on the UI thread when the form is first displayed. You need to process the data in a manner that does not cause the UI to freeze.

    What should you do?

    A. Use ThreadPool.SetMaxThreads(2,2) and invoke UpdateData.
    B. Use ThreadPool.QueueUserWorkltem to invoke UpdateData.
    C. Use Me.Dispatcher.BeginInvoke to invoke UpdateData passing in the priority of Normal.
    D. Use Me.Dispatcher.BeginInvoke to invoke UpdateData passing in the priority of Background.

  • Question 176:

    You are developing a Windows Presentation Foundation (WPF) application.

    The application uses drag-and-drop functionality.

    You need to ensure that code is executed in the code-behind file when the dragged item is released onto the target element.

    Which enumeration should you use?

    A. DragDropEffects.None
    B. DragDropEffects.All
    C. DragAction.Drop
    D. DragAction.Cancel

  • Question 177:

    You are developing a Windows Presentation Foundation (WPF) application. This application will be used to display customer data to customer service representatives.

    Phone numbers are stored as ten-digit numbers in the database. The markup is as follows.

    You need to ensure that phone numbers are displayed in the following format: (###) ### - ####

    Which markup segment should you use?

    A. Public Function Convert( ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, ByVal culture As CultureInfo) As Object Return String.Format("{0:(###)###-####>", CLng(parameter)) End Function
    B. Public Function Convert( ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, ByVal culture As CultureInfo) As Object Return String.Format("{0:(###)###-####)", CLng(value)) End Function
    C. Public Function ConvertBackf ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, ByVal culture As CultureInfo) As Object Return String.Format("{0:[###)###-####}", CLng(parameter)) End Function
    D. Public Function ConvertBack( ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, ByVal culture As CultureInfo) As Object Return String. Format ("{0: (###)###-####>'', CLng(value)) End Function

  • Question 178:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a formnamed frmMain that contains a button named btnSave. You create a ProgressBar control named saveProgress. Initially, saveProgress is not displayed on frmMain. When a user clicks btnSave, you have the following requirement: saveProgress is fully visible after l second

    You need to declare the corresponding storyboard.

    You write the following code fragment. (Line numbers are included for reference only.)

    01 03

    Which code fragment should you insert at line 02 to complete the declaration?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 179:

    You are deploying a ClickOnce application manually in a test environment.

    You need to ensure that the deployment is signed with a self-signed test X.509 certificate.

    Which tool should you use to create the certificate?

    A. mage.exe
    B. cert2spc.exe
    C. makecert.exe
    D. Ic.exe

  • Question 180:

    You use Microsoft .NET Framework 4 to create an application. The application contains a partially trusted client assembly and a server assembly.

    You create a custom sandboxed application domain.

    You need to ensure that the application can be executed in a partial-trust environment.

    What should you do?

    A. Apply the following attribute to the server assembly. [Assembly: AllowPartiallyTcustedCallers(PartialTcustVisibilicyLevel-VisibleToAllHoscs)]
    B. Apply the following attribute to the server assembly. [Assembly: AllowPartiallyTrustedCallers(PartialTrustVislbilityLevel-NotVisibleByDefault)]
    C. Apply the following attribute to the client assembly. [Assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
    D. Apply the following attribute to the client assembly. [Assembly: AllowPartiallyTrustedCallers(PartialTruscVisibilityLevel=NotVisibleByDefault) ]

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-511 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.