Microsoft 070-511 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 070-511
  • Exam Name/Title: TS: Windows Applications Development with Microsoft .NET Framework 4
  • Certification Provider: Microsoft
  • Corresponding Certification: MCTS
  • Exam Questions: 288
  • Updated On: May 26, 2026
You are developing a Windows Presentation Foundation (WPF) application.
An event triggers a workflow such that a parent control executes the event handlers before the child controls.
You need to ensure that if a parent control's event handler encounters an error, the subsequent handlers are not called.
What should you do?
Correct Answer: A Vote an answer
You are developing a Windows Presentation Foundation (WPF) application. You add several TextBox controls within a StackPanel control. You next add several Image controls within a second StackPanel control.
During testing, you discover that some of the textboxes do not appear in the proper layout.
You need to quickly search for the textboxes and view their properties to identify which ones are incorrect.
What should you do?
Correct Answer: D Vote an answer
You are developing a Windows Presentation Foundation (WPF) application. The window has the following markup. (Line numbers are included for reference only.)

You need to ensure that all ListBox controls have a border that matches the background color of the ListBox template.
Which markup segment should you insert at line 15?
Correct Answer: B Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
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?
Correct Answer: A Vote an answer
DRAG DROP
You have a Windows Presentation Foundation (WPF) application named App1.
You plan to deploy App1 by using ClickOnce.
You need to ensure that App1 meets the following security requirements:
The assembly that contains App1 must be visible from a COM component.
Each time App1 runs, an End-User License Agreement (EULA) must appear.
App1 must be able to open files on local drives if the application is deployed from a
file server.
App1 must be prevented from opening files on local drives if the application is
deployed from a Web server.
Which file should you modify for each requirement? (To answer, drag the appropriate files to the correct requirements. Each file may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
--- -
Correct Answer:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application uses the drag-and-drop functionality.
You need to identify which enumeration member must be used to meet the following requirements:
---
Ensure that the data from the drag source can be copied. Ensure that the data from the drag source can be moved. Ensure that the target can be scrolled while you are dragging.
Which enumeration member should you identify?
Correct Answer: A Vote an answer
You are developing a Windows Presentation Foundation (WPF) application. You add a TextBox control to the design surface and bind it to an underlying window resource named dsGiftCertificate. The control uses the binding XAML as follows.
<Binding Source="{StaticResource dsGiftCertificate}"
UpdateSourceTrigger="LostFocus" Path="Coupon" />
You need to provide a custom error message in the tooltip of the TextBox when the user leaves the textbox.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,C Vote an answer
You are developing a Windows Presentation Foundation (WPF) application.
An element binding consistently throws errors because the data retrieval is slow.
You need to ensure that the PresentationTraceSource binding is configured to debug the source of these errors.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two).
Correct Answer: A,C Vote an answer
You are developing a Windows Presentation Foundation (WPF) application with the following class. (Line numbers are included for reference only

The UI is not being updated when the Data property is set.
You need to ensure that the DisplayData class correctly updates the UI when the Data property is set.
What should you do?
Correct Answer: A Vote an answer
You are developing a Windows Presentation Foundation (WPF) application.
The application has an Image control.
You need to ensure that a portion of the image displays in a circle in the control.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Correct Answer: B,D Vote an answer
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF)
application.
On a canvas, you have a Button object named btnLoadData.
You need to ensure that the button is positioned 20 pixels from the top side of the canvas
and 20 pixels from the left side of the canvas.
Which code segment should you use?
Correct Answer: A Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList.
You need to ensure that changes to ProductList are automatically reflected in the ListBox control.
What should you do?
Correct Answer: C Vote an answer
You are developing a Windows Presentation Foundation (WPF) application.
The application is for commercial use and requires a valid license key to be entered. You create a project type of Class Library that contains the code to validate license keys.
You need to ensure that the user enters a valid license key during installation of the software.
Which deployment should reference the class library?
Correct Answer: A Vote an answer
0
0
0
10