A SharePoint 2010 server farm has a custom feature installed that provides specialized business logic for a
SharePoint solution package. The solution package is being updated to include additional functionality. Your job is
to specify a deployment method for the updates that will:
Add the additional application business logic to the solution package.
.Provide the least downtime for the application.
.Automate the application upgrade a much as possible.
You need to update the solution package with additional business logic and meet all these requirements.
Which approach should you recommend?
A.
Create a new feature containing the new business logic.
Use the feature upgrade process to deploy the solution package by incrementing the version number of the feature in the Feature.xml file.
B.
Add the new business logic to the existing feature.
Use the feature upgrade process to deploy the solution package by incrementing the version number of the feature in the Feature.xml file.
C.
Use Visual Studio 2010 to add the new business logic to the existing code in the .wsp package for the feature.
Create two timer jobs – one to retract the current solution package and one to deploy the solution package with
the updated feature.
D.
Use the object model to create a custom feature receiver to increment the version property of the SPFeatureDefinition class.
Increment the version number of the current solution in the Feature.xml file.
http://msdn.microsoft.com/en-us/library/office/aa544511%28v=office.14%29.aspx