nerdexam
Microsoft

70-576 · Question #74

You are designing a SharePoint 2010 solution that requires custom configuration settings. The solution will reside in every Web application within the environment because subsequent features depend…

The correct answer is D. Place your settings in the hierarchical object store in the SPPersistedObject class. See the full explanation below for the reasoning.

Question

You are designing a SharePoint 2010 solution that requires custom configuration settings. The solution will reside in every Web application within the environment because subsequent features depend on these settings. The server farm that the code is currently deployed to is going to be replaced with a new one. The content databases will be migrated to the new server farm. Manual changes to any files will not be allowed after the migration is complete. You need to ensure that the configuration settings are in place on the new server farm. Which approach should you recommend?

Options

  • APlace your settings within a feature that uses the SPWebConfigModification property to
  • BPlace your settings in a file named webconfig.MySolution.xml and place it in the \14\config
  • CPlace your settings in the current web.config file for each Web application.
  • DPlace your settings in the hierarchical object store in the SPPersistedObject class.

How the community answered

(46 responses)
  • A
    7% (3)
  • B
    13% (6)
  • C
    4% (2)
  • D
    76% (35)

Community Discussion

No community discussion yet for this question.

Full 70-576 Practice