What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are designing the database schema of the application.
The database schema is as shown in the exhibit. (Click the Exhibit button.)
You need to ensure that the design meets the following requirements:
– The database contains no duplicate data.
– A category can contain zero or more products.
– Each product can be associated with zero or more categories.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5.The application makes function calls to an unmanaged library to control the operation of a robot. You create a class that consumes significant memory during function calls to the unmanaged library. You discover that memory consumption increases over time. You need to ensure that the application consistentlyconsumes minimum memory. What should you do?
What should you do?
You are an enterprise application developer. You are designing a component that will perform the following tasks: Read data from a transaction that accesses multiple data sources.Display a computed result to the user. The component contains the following routines: A routine that displays the returned dataA routine that retrieves the transacted data You want data to be displayed only when the results are complete. You need to design the component to use the threading architecture to optimize performance and to minimize the usage of resources. What should you do?
What should you do?
You create a Windows application by using the .NET Framework 3.5.
You plan to deploy an application by using the ClickOnce deployment method.
The application has the following specifications:
It contains multiple components.
It is based on the .NET Framework 3.5.
The .NET Framework 3.5 is not installed on all the client computers.
You need to install the .NET Framework 3.5 on the client computers during the application deployment
process.
What should you do?
Which two actions should you perform?
You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application uses the Session object to store data. The application is currently deployed to a single server.
You need to ensure that the application is available in the event of failure of any single server.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You are creating a Windows application by using the .NET Framework 3.5. The application is deployed by using the XCopy command. Updates to the application are made available through a Web site. The number of users of the application increases. You need to ensure that all users use the same version of the application. What should you do?
Which assembly/assemblies should you include?
You are an enterprise application developer. You create an ASP.NET application that calls a .NET remoting object named TradingEngine. The object implements an interface named ITradingEngine. This interface defines a method that returns a SecurityDataTable object. The application types are partitioned into assemblies in the following manner: The TradingEngine class is implemented in an assembly named TradingEngineLib.The ITradingEngine interface is implemented in an assembly named TradingEngineInterfaceLib.The SecurityDataTable class is implemented in an assembly named TradingEntities. You need to identify the minimum set of assemblies necessary for deployment in the ASP.NET application.
Which assembly/assemblies should you include?
What should you do?
You create a Windows application by using the .NET Framework 3.5.
You plan to design the deployment of an application. The application deploys user-specific files and
settings. Updates to the application are deployed frequently.
The requirement specifies that all computers must run the same version of the application.
You need to select the appropriate deployment technique to meet the requirement by using minimum
possible development effort.
What should you do?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application design specifies the following components:
– A user interface implemented as an ASP.NET 3.5 Web application
– A Microsoft SQL Server 2005 database to store business data
– A Windows Communication Foundation (WCF) service that authenticates users that have their credentials stored in the SQL Server database
– A business data service to transfer data between the user interface and the SQL Server database
– In future releases, the application must also be able to authenticate business partners who use non-Microsoft directory servers to store user credentials.
You need to ensure that the application design meets the extensibility requirements.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5. The application is used to retrieve information about musicians. The application uses LINQ to SQL to return an Artist object, and related Album objects for each artist. You plan to add a method named FindArtists. The method has parameters named ArtistName of type string and IncludeAlbums of type boolean. The FindArtists method must meet the following requirements: If the IncludeAlbums parameter is set to True, then all the Album objects of the returned Artist object are populated. If the IncludeAlbums parameter is set to False, then all the Album objects of the returned Artist object are not populated. No duplicated data is returned. Data returned does not require additional processing on the client application. You need to ensure that changes to the client application are minimal. What should you do?