PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to ensure that you can deploy DirectAccess on Server3

Your network contains an Active Directory domain named contoso.com. Contoso.com contains three
servers. The servers are configured as shown in the following table.

You plan to give users access to the files shares on Server2 by using DirectAccess. You need to
ensure that you can deploy DirectAccess on Server3. What should you do?

Which two actions should you recommend?

You are modifying an existing ASP.NET Web application. Each page of the Web application
includes a navigation bar and a print button. You have the following requirements: • Enable
users to print pages of the Web site without printing the navigation bar. • Do not create a
separate version of the page formatted for printing. • Leverage the existing print button on
each page. You need to recommend an approach that meets the requirements. Which two
actions should you recommend? (Each correct answer presents part of the solution. Choose
two.)

Which code segment should you add at line 04?

You need to create a Web Part that adds a term set to the current SharePoint site collection’s
term store. You write the following code segment. (Line numbers are included for reference only.)
01 System.Web.UI.WebControls.TextBox txtBoxTermSetToAdd = new System.Web.UI.
WebControls.TextBox(); 02 TaxonomySession session = new
TaxonomySession(SPContext.Current.Site); 03 TermSet addedTerm =
session.TermStores[0].Groups[“MyNewTermStore”]. CreateTermSet(txtBoxTermSetToAdd.Text);
04 Which code segment should you add at line 04?

Which authentication method should you use?

Your network contains one Active Directory domain. You have a member server named Server1 that
runs Windows Server 2008 R2. The server has the Routing and Remote Access Services role service
installed. You implement Network Access Protection (NAP) for the domain. You need to configure
the Point-to-Point Protocol (PPP) authentication method on Server1. Which authentication method
should you use?

You need to enable remote users to connect as securely as possible

You deploy a Windows Server 2008 R2 VPN server behind a firewall. Remote users connect to the
VPN by using portable computers that run Windows 7. The firewall is configured to allow only
secured Web communications. You need to enable remote users to connect as securely as possible.
You must achieve this goal without opening any additional ports on the firewall. What should you
do?

Which code segment should you add at line 04?

You need to create a Web Part that displays all of the content created by a specific user. You
write the following code segment. (Line numbers are included for reference only.) 01 private void
keywordQueryExecute(string searchAuthor) 02 { 03 KeywordQuery kRequest = new
KeywordQuery(ServerContext.Current); 04 05 kRequest.QueryText = strQuery; 06

ResultTableCollection resultTbls = kRequest.Execute(); 07 } Which code segment should you add
at line 04?