Microsoft Exam Questions

Which class should you use in FeatureReceiver1?

You have a Web application named WebApp1. You have a Feature receiver named
FeatureReceiver1. FeatureReceiver1 stores a connection string in the web.config file of
WebApp1. You need to ensure that when FeatureReceiver1 makes configuration changes to
web.config, the changes are automatically replicated to all Web servers in the farm. Which class

should you use in FeatureReceiver1?

A.
WebConfigurationManager

B.
SPPersistedObject

C.
SPWebConfigModification

D.
SPDiagnosticsService