PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application that uses the Entity Data Model for the fallowing database tables.

You need to ensure that the entity that is mapped to the ContectTypeDerived table derives from the entity
that is mapped to the ContentTypeBase table. What should you do?

Which two approaches could you recommend?

You are designing an ASP.NET Web application in Microsoft Visual Studio 2010. You plan to deploy the application to multiple branch offices within your company.
Each branch office requires different settings for SQL Server connections.
You need to centrally manage the automatic configuration for each branch deployment.
Which two approaches could you recommend?
(Each correct answer presents a complete solution. Choose two.)

What should you do?

You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application.
You use entity Framework Designer to create an Entity Data Model from an existing database by using the Generate From Database wizard.
The model contains an entity type named Product. The Product type requires an additional property that is not mapped to database colomn.
You need to add the property to product. What should you do?

What should you do?

You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to enhance and existing application use Entity Framework.
The classes that represent the entites in the model are Plain old CLR Object (POCO) Classes.
You need to connect the existing POCO classes to an entity framework context. What should you do?

Which code segment should you use?

You use Microsoft .NET Framework 4.0 to develop an ASP.NET application. The application uses Integrated Windows authentication.
The application accesses data in a Microsoft SQL Server 2008 database that is located on the same server as the application.
You use the following connection string to connect to the database.

Integrated Security=SSPI; Initial Catalog=AdventureWorks;

The application must also execute a stored procedure on the same server on a database named pubs.
Users connect to the ASP.NET application through the intranet by using Windows-based authentication.
You need to ensure that the application will use connection pooling whenever possible and will keep the number of pools to a minimum.
Which code segment should you use?

Which approach should you recommend?

You have an existing ASP.NET Web Forms application All the Create, Read, Update, and Delete (CRUD) operations are implemented by using Windows Communication Foundation (WCF).
The Web application has the following requirements:
– Minimize network traffic.
– Intrinsically support change tracking.
– Do not use post backs.
You need to design a Web form to manage inventory.
Which approach should you recommend?