PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which code segment should you add to the application?

You need to create a custom application that provides users with the ability to create a managed property.

The managed property name must be specified in the args[1] parameter.

You write the following code segment for the application. (Line numbers are included for reference only.)

01 SPSite currentSite = new SPSite(“http://intranet”);
02 SearchContext context = SearchContext.GetContext(currentSite);
03 Schema schema = new Schema(context);

Which code segment should you add to the application?

What should you do?

You connect a Windows Mobile 6.5 Professional device to a Windows Vista portable computer. You manage the Windows Mobile device by using the Windows Mobile Device Center (WMDC). You need to configure an existing connection on the Windows Mobile device to use specific DNS and WINS IP addresses. What should you do?

What should you do?

You connect a Windows Mobile 6.5 Professional device to a Windows Vista portable computer. You manage the Windows Mobile device by using the Windows Mobile Device Center (WMDC). You need to configure an existing connection on the Windows Mobile device to use specific DNS and WINS IP addresses. What should you do?

Which approach should you recommend?

You are designing a SharePoint 2010 application. You need to design the application so that it meets the following requirements:
Content authors must be allowed to create product pages.
.Content authors also must be able to add Web Parts to customize the page.
.Product pages must allow the content author to select a value from a Product Type field as defined in an existing site column.
Which approach should you recommend?

What should you do?

Your company has a Microsoft Exchange Server 2007 environment. Employees have Windows Mobile 6.5 devices. You manage the devices by using Microsoft System Center Mobile Device Manager (MDM) 2008. You disable infrared capabilities for Windows Mobile devices, but employees are still able to beam files. You need to prevent Windows Mobile devices from beaming files.
What should you do?

Which approach should you recommend?

You are using SharePoint 2010 to develop multiple Internet sites. You have the following requirements:
Create a user registration page for each site.
.Use the logic found in a custom control named UserRegistration.ascx.

You need to provide a solution that will allow each site to have a custom user registration page with HTML editing capability.
Which approach should you recommend?

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?