You are designing a SharePoint 2010 solution that includes a custom site definition and a custom master page.
The solution has the following three features:
A hidden site-scoped feature named X that adds the custom master page to the Master Page gallery.
A Web-scoped feature named Y with a feature receiver that sets the master page of the Web to the master
page
from feature X.
A Web-scoped feature named Z with a feature receiver that populates the default.aspx file with sample
content.
Any Web site that is created based on the solution's custom site definition must have the master page and the
sample content applied to it automatically. Your design must ensure that features X, Y, and Z can be activated
in
the proper order.
Which approach should you recommend?
You have a SharePoint 2010 intranet site with a site collection for all team projects. Each team project site is
created from a custom team project site definition. These sites are created with a standard list to help manage
team projects. Each list can be modified as needed for each site. You are asked to design two features:
A feature named X for the list template
A feature named Y for creating an instance of the list
You need to ensure that the list template is installed before the list instance.
Which approach should you recommend?
A company with offices worldwide has asked you to design a SharePoint 2010 feature for an intranet portal.
The feature must:
Be activated only on a site collection.
Contain a customized list template.
Contain a custom List page.
Use globalized resources that can be shared with other features.
You need to design the feature to support all these requirements.
Which approach should you recommend?
You are designing multiple SharePoint 2010 features. You have the following requirements:
There must be three features, named Feature_1, Feature_2, and Feature_3.
Feature_1 must be dependent on Feature_2; Feature_2 must be dependent on Feature_3.
Feature_1 must be available to a site collection named Finance.
You need to ensure that your feature design meets these requirements and follows the SharePoint Feature
Activation Dependency Rules. Which approach should you recommend?
You are planning to add more features to a SharePoint 2010 farm. Two developers are working independently
in
a developer environment; each has created a custom solution with a new feature. You have the following
requirements:
Each new feature that the developers created must share an assembly with an existing feature on the
production
farm.
The new features must be deployed from the developer environment to the production environment.
The possibility must be minimized that an existing application will be unavailable if the assembly needs to be
redeployed after a bug fix.
You must use the fewest solutions possible.
You need to create a deployment plan that meets these requirements.
Which approach should you recommend?
You are designing a solution package for an application project, which has several types of SharePoint 2010
artifacts. Your project contains a Web Part, features, list definitions, assemblies, customized ASPX pages, and
workflows. You have the following requirements:
You must ensure the security and manageability of the SharePoint applications.
SharePoint administrators must enforce quota limits on resources consumed. Based on your analysis, the
Web Part will exceed the limit.
You must deploy all of the artifacts with the fewest solutions possible.
You need to create a deployment plan that meets these requirements.
Which approach should you recommend?
You are designing a SharePoint 2010 solution package that includes a feature. The feature should be available
for activation in only those site collections contained within specified Web applications in the farm. You need to
design your solution package to ensure this behavior.
Which approach should you recommend?
You work for a software company that sells Web Parts to customers. You designed the first version of a Web
Part
named Weather 1.0. The company has already sold several hundred licenses of the Web Part. You designed
a
new solution package for Weather 2.0. Some customers who are already using Weather 1.0 will install
Weather
2.0 in the same Web application as Weather 1.0. You need to design your package so that the functionality of
Weather 1.0 will not be affected by the installation of Weather 2.0 in the same Web application.
Which approach should you recommend?
You are designing a SharePoint 2010 application. You have a requirement to allow access to a Microsoft
Windows .NET Framework assembly across multiple Web applications in a farm. An assembly element has
been
added to the solution manifest (manifest.xml). You need to ensure that the deployment of the assembly meets
the
requirements.
Which approach should you recommend?
You are designing a SharePoint 2010 application. You need to plan the deployment of a user control named
MyControlTemplate.ascx as a control template.
What should be added to the solution manifest (manifest.xml) to achieve this goal?