Microsoft PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 (70-518) Free Practice Test
Question 1
You are developing an application by using Microsoft .NET Framework 4.
The application will be used by all employees of your company. Local file stores on the computers are secure and inaccessible remotely.
You need to design a remote monitoring strategy to monitor the usage time of the application by each user.
What should you do?
The application will be used by all employees of your company. Local file stores on the computers are secure and inaccessible remotely.
You need to design a remote monitoring strategy to monitor the usage time of the application by each user.
What should you do?
Correct Answer: B
Question 2
You are designing a .NET Framework 4 solution that contains a Windows Presentation Foundation (WPF) application. The WPF application includes CPU-intensive calculations. The calculations can be run on a separate process and can effectively be isolated from the rest of the WPF application.
You need to recommend a deployment strategy that maximizes the scalability of the calculations for each user.
What should you recommend?
You need to recommend a deployment strategy that maximizes the scalability of the calculations for each user.
What should you recommend?
Correct Answer: D
Question 3
You are designing a sales and inventory tracking system by using Microsoft Visual Studio 2010 and Microsoft SQL Server 2008.
The sales, inventory, and shipping tables will reside in different databases on different database servers.
You need to ensure that the tables are updated simultaneously.
What should you do?
The sales, inventory, and shipping tables will reside in different databases on different database servers.
You need to ensure that the tables are updated simultaneously.
What should you do?
Correct Answer: D
Question 4
You are analyzing an application that uses Microsoft .NET Framework 4 and Microsoft SQL Server 2008.
The application is used to maintain an inventory database and is accessed from several remote Windows client applications. The application frequently updates multiple rows in a database table by using a DbDataAdapter object.
Users report that the application runs slowly during peak business hours.
When large number of records are changed by multiple users, you discover the following:
The CPU utilization of the client applications is normal.
The network utilization increases slightly.
The CPU utilization of the database server remains close to the normal average
for a day.
You need to resolve the performance issue.
What should you do?
The application is used to maintain an inventory database and is accessed from several remote Windows client applications. The application frequently updates multiple rows in a database table by using a DbDataAdapter object.
Users report that the application runs slowly during peak business hours.
When large number of records are changed by multiple users, you discover the following:
The CPU utilization of the client applications is normal.
The network utilization increases slightly.
The CPU utilization of the database server remains close to the normal average
for a day.
You need to resolve the performance issue.
What should you do?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
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?
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?
Correct Answer: A
Question 6
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?
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?
Correct Answer: C
Question 7
You are designing a new feature for an existing Windows Forms application by using Microsoft .NET Framework 4.
The application contains multiple forms that are loaded into a parent Multiple Document Interface (MDI) form. Your company policy does not allow the use of third-party controls.
You need to ensure that the new feature meets the following requirements: - It provides a three-dimensional scale model.
- It allows users to change the colors of the model and communicates the color
selections back to the application. - It allows the model to scale, based on the user's client computer display resolution. - It is a child form in the MDI application.
What should you do?
The application contains multiple forms that are loaded into a parent Multiple Document Interface (MDI) form. Your company policy does not allow the use of third-party controls.
You need to ensure that the new feature meets the following requirements: - It provides a three-dimensional scale model.
- It allows users to change the colors of the model and communicates the color
selections back to the application. - It allows the model to scale, based on the user's client computer display resolution. - It is a child form in the MDI application.
What should you do?
Correct Answer: C
Question 8
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?
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?
Correct Answer: B
Question 9
You are designing a .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application. The WPF application connects to a Microsoft SQL Server 2008 database. You plan to deploy the WPF application to millions of client computers. The SQL Server database will be hosted in a data center.
The WPF application will query the database to provide type-ahead assistance as users enterdata.The WPF application will send a query after each character is entered. Each query will access multiple joined tables.
You need to recommend an approach for maximizing scalability of the solution.
What should you recommend?
The WPF application will query the database to provide type-ahead assistance as users enterdata.The WPF application will send a query after each character is entered. Each query will access multiple joined tables.
You need to recommend an approach for maximizing scalability of the solution.
What should you recommend?
Correct Answer: B
Question 10
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?
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?
Correct Answer: A
Question 11
You are designing a Windows Presentation Foundation (WPF) application that will be used to display real-time data from a Microsoft SQL Server 2008 database.
You need to recommend an approach for displaying the datA.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
You need to recommend an approach for displaying the datA.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,C
Question 12
You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.
You create a control named HelpViewer to view the Help documentation of the application. The HelpViewer control must be available to all windows in the application.
You need to ensure that the application allows users to perform the following tasks:
- Bookmark their location in the documentation and return to the bookmark from any
window.
- Hide the HelpViewer control.
- Dock the HelpViewer control.
You create a main window as a base class.
What should you do next?
You create a control named HelpViewer to view the Help documentation of the application. The HelpViewer control must be available to all windows in the application.
You need to ensure that the application allows users to perform the following tasks:
- Bookmark their location in the documentation and return to the bookmark from any
window.
- Hide the HelpViewer control.
- Dock the HelpViewer control.
You create a main window as a base class.
What should you do next?
Correct Answer: A