You are designing a SharePoint 2010 intranet site at your company. The accounting department has designed a
SharePoint list. They need this list to be included in any new site that is created by using the Team Site site
definition provided by SharePoint. A feature has been created that provisions the list in a site. You need to satisfy
the request from the accounting department, while reducing the risk that future SharePoint service pack updates
will impact your solution. Which approach should you recommend?
A.
Modify the Team Site onet.xml file. Add the feature to the Web Features element in the onet.xml file.
B.
Modify the Team Site onet.xml file. Add the feature to the Site Features element in the onet.xml file.
C.
Create an event handler and register it with the Web Adding event. Activate the feature in the event handler.
D.
Create an event handler and register it with the Web Provisioned event. Activate the feature in the event handler.
SharePoint XML files in 14 folder might be overwritten when applying SharePoint updates.