Which code segment should you add to the Web Part?
You create a Feature named Feature1. Feature1 is activated in a SharePoint site.
You create a Web Part that contains the following code.
SPSite site = new SPSite(“http://intranet/site1”);
SPWeb web = site.OpenWeb();
SPFeatureDefinition feature = SPFarm.Local.FeatureDefinitions[“Feature1”];
You need to modify the Web Part to activate Feature1 in Site1 only.
Which code segment should you add to the Web Part?
Which component should you use?
You are creating a Windows Embedded Standard run-time image. You need to ensure that the image will support different local privileges for different users. Which component should you use?
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. Multiple users store a specific file on their Windows Mobile devices. You need to ensure that the file is encrypted on all Windows Mobile devices.
What should you do?
Which approach should you recommend?
You are designing a SharePoint 2010 application to store 50 GB of digital assets, including audio and video files
that are up to 20 MB in size. You have the following requirements:
The disk storage system must use standard hard drives and must be configured to optimize read performance.
.The SharePoint 2010 database uses Microsoft SQL Server Express 2008.
.The application must leverage standard SharePoint 2010 components to limit the requirement for custom development.
You need to design a storage solution that meets all of these requirements.
Which approach should you recommend?
Which code segment should you use?
You have a SharePoint site that has the URL http://contoso.com/hr.
You are creating a new Web Part.
You need to create a reference to the current subsite without having to dispose of any returned objects.
Which code segment should you use?
What should you do next?
You are designing a custom shell component for Windows Embedded Standard. You need to ensure that this component is displayed along with other existing shells in the component browser. You run Component Designer. What should you do next?
What should you do?
Your company has a Microsoft Exchange Server 2007 Service Pack 2 (SP2) environment with Enterprise client access licenses (CALs) installed. Employees have Windows Mobile 6.5 devices. You manage the devices by using Microsoft Exchange ActiveSync. You deploy a certificate to the Windows Mobile devices, and configure an Exchange ActiveSync policy to allow only applications with this certificate to run on the Windows Mobile devices. You develop a custom Windows Mobile application. You deploy the application to the Windows Mobile devices. The application does not run. You need to ensure that the application can run on the Windows Mobile devices. What should you do?
Which approach should you recommend?
You are designing a SharePoint 2010 information architecture plan for a client that specifies the mechanics of
implementing content type change control. The requirements for the change control plan specify that:
Site managers can create site-specific content types based on the content types in the parent site.
.Content types must not be overwritten when changes are made to parent site content types.
.Site managers can change child site content types.
You need to specify a content type change control plan that meets all these requirements.
Which approach should you recommend?
Which code segment should you add at line 03?
You have a SharePoint site collection that contains 100 subsites.
You plan to create a Web Part. The Web Part will be deployed to each subsite.
You need to ensure that the Web Part retrieves all of the files in the root directory of the current subsite.
You write the following code segment. (Line numbers are included for reference only.)
01 SPSite site = SPContext.Current.Site;
02 SPWeb web = SPContext.Current.Web;
03
Which code segment should you add at line 03?
Which two actions should you perform?
You are developing a Windows Embedded Standard device that you plan to sell in Russia. You need to ensure that the device meets the following requirements: Supports the Russian language. Supports the Russian language for the user interface. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)