最新的Microsoft PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 - 70-518免費考試真題
You are developing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application will consume a Windows Communication Foundation (WCF) service. The WCF service will provide data to the application. You plan to use the ADO.NET Entity Framework to create a data model that will be used by the application.
Another development team makes changes to the WCF service data contract.
You need to ensure that changes made to the WCF service data contract do not require the application to be recompiled.
What should you do?
The application will consume a Windows Communication Foundation (WCF) service. The WCF service will provide data to the application. You plan to use the ADO.NET Entity Framework to create a data model that will be used by the application.
Another development team makes changes to the WCF service data contract.
You need to ensure that changes made to the WCF service data contract do not require the application to be recompiled.
What should you do?
正確答案: A
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.)
正確答案: B,C
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?
正確答案: B
說明:(僅 Fast2test 成員可見)
You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application is used mostly in a disconnected scenario. The application requires offline data from a Microsoft SQL Server 2008 database. When the application connects to the network, data will be modified and synchronized.
You need to ensure that the application does not access the database server directly to synchronize data when online.
Which technology should you use?
The application is used mostly in a disconnected scenario. The application requires offline data from a Microsoft SQL Server 2008 database. When the application connects to the network, data will be modified and synchronized.
You need to ensure that the application does not access the database server directly to synchronize data when online.
Which technology should you use?
正確答案: A
You are designing a Windows Presentation Foundation (WPF) application for your company by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The business layer of the application is implemented by using Windows Communication Foundation (WCF).
You plan to support non-repudiation and data integrity for WCF messages.
You need to design the security strategy for the application.
What should you do?
The business layer of the application is implemented by using Windows Communication Foundation (WCF).
You plan to support non-repudiation and data integrity for WCF messages.
You need to design the security strategy for the application.
What should you do?
正確答案: D
You are designing a Windows Presentation Foundation (WPF) data entry application. The application uses data binding to bind controls in the user interface (UI) to business objects. The UI uses validation rules for each input control.
The data validation rules change based on the state of the business object.
You need to recommend a validation strategy that will allow changes to the validation rules without changes to the UI code.
What should you recommend?
The data validation rules change based on the state of the business object.
You need to recommend a validation strategy that will allow changes to the validation rules without changes to the UI code.
What should you recommend?
正確答案: C
You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4.
The application will run on Windows 7-based kiosks that are located indoors and outdoors. The kiosk displays have a photo sensor that will update the application with the current ambient luminosity.
You need to ensure that the user interface (UI) of the application dynamically changes the application theme based on the ambient luminosity.
What should you use?
The application will run on Windows 7-based kiosks that are located indoors and outdoors. The kiosk displays have a photo sensor that will update the application with the current ambient luminosity.
You need to ensure that the user interface (UI) of the application dynamically changes the application theme based on the ambient luminosity.
What should you use?
正確答案: B
You are designing an application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.
The application will be used by a sales team to enter sales orders and update customer information.
You need to ensure that the application meets the following requirements:
- Allows users to enter sales orders while their computers are disconnected from the
network
- Uploads sales orders to the server database when connected to the network
- Compiles against the .NET Framework 4 client profile
What should you use?
The application will be used by a sales team to enter sales orders and update customer information.
You need to ensure that the application meets the following requirements:
- Allows users to enter sales orders while their computers are disconnected from the
network
- Uploads sales orders to the server database when connected to the network
- Compiles against the .NET Framework 4 client profile
What should you use?
正確答案: B
You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application will consist of several data entry forms. Each data entry form requires a user to enter phone numbers and addresses.
You need to design a solution that promotes code reusability.
What should you do?
The application will consist of several data entry forms. Each data entry form requires a user to enter phone numbers and addresses.
You need to design a solution that promotes code reusability.
What should you do?
正確答案: D
You design a Windows Presentation Foundation (WPF) application that interacts with a Windows Communication Foundation (WCF) Web service. The WCF Web service throws exceptions of type Exception.
The WPF application crashes when the WCF Web service throws an exception.
You need to recommend an error-handling strategy that allows users to submit updated data to the WCF Web service without restarting the WPF application.
What should you recommend?
The WPF application crashes when the WCF Web service throws an exception.
You need to recommend an error-handling strategy that allows users to submit updated data to the WCF Web service without restarting the WPF application.
What should you recommend?
正確答案: B
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?
正確答案: D
You are designing a Windows Presentation Foundation (WPF) application that uses .NET
Framework 4.
The WPF application will be deployed to 5,000 users worldwide.
You need to recommend an approach for identifying problems that users will experience.
Which testing methodology should you recommend?
Framework 4.
The WPF application will be deployed to 5,000 users worldwide.
You need to recommend an approach for identifying problems that users will experience.
Which testing methodology should you recommend?
正確答案: C