Which approach should you recommend?

Correct Answer for the following Question is given below

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?http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.sppersistedobject(v=office.14).aspx

Question:

Which approach should you recommend?

Options:

Place your settings within a feature that uses the SPWebConfigModification property to persist the information in the web.config file.

Place your settings in a file named webconfig.MySolution.xml and place it in the 14config directory.

Place your settings in the current web.config file for each Web application.

Place your settings in the hierarchical object store in the SPPersistedObject class.

Correct Answer

The Correct Answer for this Question is

Place your settings in the hierarchical object store in the SPPersistedObject class.

Explanation

The Question – Which approach should you recommend? has been answered correctly and answers for the question is Place your settings in the hierarchical object store in the SPPersistedObject class.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment