PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which code segment should you use?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application
that uses LINQ to SQL. The application contains the following model.

Each region contains a single vendor. Customers order parts from the vendor that is located in their
region. You need to ensure that each row in the Customer table references the appropriate row
from the Vendor table. Which code segment should you use?

What should you configure from Group Policy?

Your network contains an Active Directory domain named contoso.com. All domain controllers run
Windows Server 2008 R2 and are configured as DNS servers. All client computers run Windows 7.
You create a new zone named secure.contoso.com and configure the zone to use DNSSEC. You need

to ensure that all client computers verify whether the name and address information of
secure.contoso.com is validated by the DNS servers. What should you configure from Group Policy?

Which approach should you recommend?

You are designing an ASP.NET Web application to manage and display sensitive
information stored in a Microsoft SQL Server database. The database also provides
authorization information for users. All Web pages that display sensitive information require
an authenticated login. There is no visitor access to these pages. You have the following
requirements: Separate authorization logic from the application. Prevent the application
from directly accessing the database server. You need to design a data access and
authorization solution. Which approach should you recommend?

Which code segment should you insert at line 04?

You use Microsoft .NET Framework 4 to develop an application that connects to a Microsoft SQL
Server 200B database. You populate a SqlDataAdapter by using the following code. (Line numbers
are included for reference only.)
01 SqlDataAdapter dataAdapterl = new SqlDataAdapter
(“SELECT * FROM [BlogEntries]
ORDER BY CreationDote”, connection);
02 cmdBuilder = nev SqlCormnandBuilder(dataAdapterl);
03 dataAdapterl.Fill(BlogEntryDataSet, “BlogEntries”); 04
05 connection.Close()
You need to update the blog owner for all BlogEntry records.
Which code segment should you insert at line 04?