PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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?

You need to configure DNS to provide zone data to the DNS server in the new branch office

Your company has a main office and two branch offices. Domain controllers in the main office host
an Active Directory-integrated zone. The DNS servers in the branch offices host a secondary zone for
the domain and use the main office DNS servers as their DNS Master servers for the zone. The
company adds a new branch office. You add a member server named Branch3 and install the DNS
Server server role on the server. You configure a secondary zone for the domain. The zone transfer
fails. You need to configure DNS to provide zone data to the DNS server in the new branch office.
What should you do?

You need to map a stored procedure to the complex type by using the Entity Designer

You are developing a Microsoft .NET Framework 4 application. You create an Entity Data Model
(EDM) by using the Microsoft ADO.NET Entity Data Model Designer (Entity Designer). The EDM
contains a complex type. You need to map a stored procedure to the complex type by using the
Entity Designer. What should you do?

You need to create and persist a relationship between person1 and territory1

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the ADO.NET Entity Framework Designer to model entities as shown in the following
diagram.

You create an ObjectContext instance named objectContext1 and use it to create a SalesPerson
instance named person1. You also create an ObjectContext instance named objectContext2 and use
it to create a SalesTerritory instance named territory1. You need to create and persist a relationship
between person1 and territory1. What should you do?

Which two tasks should you perform?

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.)

What should you recommend?

You are evaluating an ASP.NET Web application that includes three methods: Calculate ()
performs CPU-intensive calculations on the server. GetData() retrieves data from a
server-side data store and returns an XML file. WriteData() receives an XML file and writes
data from the file to a server-side data store. You need to recommend an approach for
maximizing server throughput. What should you recommend?

Which code segment should you use?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application
that uses the Entity Framework. The application has an entity model that includes SalesTerritory and
SalesPerson entities as shown in the following diagram.

You need to calculate the total bonus for all sales people in each sales territory. Which code segment
should you use?