nerdexam
Microsoft

70-576 · Question #127

70-576 Question #127: Real Exam Question with Answer & Explanation

The correct answer is A. Add your code to the FeatureInstalled method of the feature receiver.. See the full explanation below for the reasoning.

Question

You are designing a SharePoint 2010 feature that will be included in a solution package. You have added a feature receiver to your feature. You need to ensure that the code in the feature receiver executes when the solution package is deployed to the Web front-end servers. Which approach should you recommend?

Options

  • AAdd your code to the FeatureInstalled method of the feature receiver.
  • BAdd your code to the FeatureActivated method of the feature receiver.
  • CAdd a FeatureInstalled node referencing the feature receiver assembly to the solution
  • DAdd a FeatureActivated node referencing the feature receiver assembly to the solution

Community Discussion

No community discussion yet for this question.

Full 70-576 Practice