최신Microsoft PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 - 070-518무료샘플문제
문제1
You are designing a Windows Presentation Foundation (WPF) application.
The WPF application must run against either Microsoft SQL Server 2008 or a third-party
database system without duplicating data access logiC.
You need to recommend a data access technology.
What should you recommend?
You are designing a Windows Presentation Foundation (WPF) application.
The WPF application must run against either Microsoft SQL Server 2008 or a third-party
database system without duplicating data access logiC.
You need to recommend a data access technology.
What should you recommend?
정답: B
문제2
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?
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?
정답: B
문제3
You are designing a Windows Presentation Foundation (WPF) application.
The application will be localized into multiple languages.
You need to recommend an approach for preparing the application for localization.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
You are designing a Windows Presentation Foundation (WPF) application.
The application will be localized into multiple languages.
You need to recommend an approach for preparing the application for localization.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
정답: C,D
문제4
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?
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?
정답: D
문제5
You are developing an application by using Microsoft .NET Framework 4 and Microsoft
Visual Studio 2010.
The application contains a grid that displays customer data stored in a database table.
Users report that the grid takes a long time to display.
You plan to implement data caching to improve loading time for the grid.
You need to ensure that the cached data expires when the customer data is updated.
What should you do?
You are developing an application by using Microsoft .NET Framework 4 and Microsoft
Visual Studio 2010.
The application contains a grid that displays customer data stored in a database table.
Users report that the grid takes a long time to display.
You plan to implement data caching to improve loading time for the grid.
You need to ensure that the cached data expires when the customer data is updated.
What should you do?
정답: D
문제6
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You need to use a replacement culture for the application at runtime.
You also need to ensure that the information in the custom culture will be available to the application.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You need to use a replacement culture for the application at runtime.
You also need to ensure that the information in the custom culture will be available to the application.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
정답: B,D
문제7
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 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?
정답: D
문제8
You are working with an existing Windows Presentation Foundation (WPF) application in Microsoft Visual Studio 2010. The WPF application requires approximately one minute to initialize before displaying its main window.
You have the following requirements:
---
Immediately display a splash screen when the WPF application launches. Allow for the display of an initialization progress bar on the splash screen. Close the splash screen when the WPF application is ready to display the main window.
You need to recommend an approach for meeting the requirements.
What should you recommend?
You are working with an existing Windows Presentation Foundation (WPF) application in Microsoft Visual Studio 2010. The WPF application requires approximately one minute to initialize before displaying its main window.
You have the following requirements:
---
Immediately display a splash screen when the WPF application launches. Allow for the display of an initialization progress bar on the splash screen. Close the splash screen when the WPF application is ready to display the main window.
You need to recommend an approach for meeting the requirements.
What should you recommend?
정답: B
문제9
You are designing a Windows Presentation Foundation (WPF) application. The main window of the WPF application includes two panels: panel1and 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 oneof 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?
You are designing a Windows Presentation Foundation (WPF) application. The main window of the WPF application includes two panels: panel1and 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 oneof 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?
정답: D
문제10
You are designing an n-tier solution that includes a Windows Presentation Foundation (WPF) client application. The WPF application connects to a middle-tier server that runs the data access layer.
The data access layer connects to a Microsoft SQL Server 2008 database and to a mainframe-based database.
The mainframe-based database will be replaced in one year.
You have the following requirements:
---
Centrally manage all database connections.
Minimize changes to the code base when the database is replaced.
Ensure that the WPF application will not need to be redeployed when the database
is replaced.
You need to recommend an approach for designing the data access layer.
What should you recommend?
You are designing an n-tier solution that includes a Windows Presentation Foundation (WPF) client application. The WPF application connects to a middle-tier server that runs the data access layer.
The data access layer connects to a Microsoft SQL Server 2008 database and to a mainframe-based database.
The mainframe-based database will be replaced in one year.
You have the following requirements:
---
Centrally manage all database connections.
Minimize changes to the code base when the database is replaced.
Ensure that the WPF application will not need to be redeployed when the database
is replaced.
You need to recommend an approach for designing the data access layer.
What should you recommend?
정답: B
문제11
---
You are analyzing a Windows client application that uses Microsoft Visual Studio 2010 and Microsoft SQL Server 2008.
The application updates two database tables from the main user interface (UI) thread.
You need to ensure that the following requirements are met:
The database tables are either updated simultaneously or not updated at all.
Users are notified of the success or failure of the updates.
Users are able to perform other tasks during the update process.
What should you do?
---
You are analyzing a Windows client application that uses Microsoft Visual Studio 2010 and Microsoft SQL Server 2008.
The application updates two database tables from the main user interface (UI) thread.
You need to ensure that the following requirements are met:
The database tables are either updated simultaneously or not updated at all.
Users are notified of the success or failure of the updates.
Users are able to perform other tasks during the update process.
What should you do?
정답: A
문제12
You are designing a Windows Forms application. The application connects to a Microsoft SQL Server 2008 database.
You need to recommend an approach for retrieving and logging all informational messages and error messages reported by the database.
What should you recommend?
You are designing a Windows Forms application. The application connects to a Microsoft SQL Server 2008 database.
You need to recommend an approach for retrieving and logging all informational messages and error messages reported by the database.
What should you recommend?
정답: B
문제13
You are updating a Windows desktop client application that was created by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application displays data derived from several database queries. The display takes a long time to update.
The application currently uses a BackgroundWorker thread and a Parallel.ForEach statement on that thread.
Users have requested a modification to the program that would allow them to interrupt the display of data and begin processing a new and different query.
You decide to provide a new Stop button on the user interface (UI) to allow the user to terminate the current data display and initiate the new query. The main UI thread must be notified when the current data processing is terminated so that the new query can be started.
You need to implement the Stop button event handler.
What should you do?
You are updating a Windows desktop client application that was created by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application displays data derived from several database queries. The display takes a long time to update.
The application currently uses a BackgroundWorker thread and a Parallel.ForEach statement on that thread.
Users have requested a modification to the program that would allow them to interrupt the display of data and begin processing a new and different query.
You decide to provide a new Stop button on the user interface (UI) to allow the user to terminate the current data display and initiate the new query. The main UI thread must be notified when the current data processing is terminated so that the new query can be started.
You need to implement the Stop button event handler.
What should you do?
정답: A
문제14
You are designing a Windows Presentation Foundation (WPF) client application that requests reports from a Windows Communication Foundation (WCF) Web service.
Users must be able to perform other tasks while the WCF Web service generates the report.
You need to recommend a message exchange pattern for the communication between the WPF application and the WCF Web service.
What are two possible message exchange patterns that will meet the requirements? (Each correct answer presents a complete solution, Choose two.)
You are designing a Windows Presentation Foundation (WPF) client application that requests reports from a Windows Communication Foundation (WCF) Web service.
Users must be able to perform other tasks while the WCF Web service generates the report.
You need to recommend a message exchange pattern for the communication between the WPF application and the WCF Web service.
What are two possible message exchange patterns that will meet the requirements? (Each correct answer presents a complete solution, Choose two.)
정답: C,D