Question 130

5.2.3 Question

Multiple Choices

Why should you create a custom role provider? (Choose all that apply.)

  • A. To use a data source not regularly supported
  • B. To use the SimpleRoleProvider
  • C. To use a database design different than .NET provides
  • D. To provide a special configuration file entry


A. Correct: Because traditional providers work only on SQL Server, accessing a differ­ent data provider such as MySQL would require a custom provider.
B. Incorrect: Using the SimpleRole provider would not require you to create a custom provider.
C. Correct: Using a different database design would require that you create a custom provider.
D. Incorrect: Creating a custom provider would require a special configuration file entry, but that would not be a reason to create the custom provider in the first place.