More DBA job interview questions and answers at
http://dba.fyicenter.com/Interview-Questions/
(Continued from previous question...)
You are building a .NET assembly that will access the registry of the local machine for a factor used in a computer column. What permission set should you assign it?
Answer
EXTERNAL_ACCESS
Explanation
The most restrictive permission set should always be used for .NET assemblies in keeping with a secure SQL Server environment. Only the EXTERNAL_ACCESS and UNSAFE permission sets will allow registry access and UNSAFE permissions are not required.
(Continued on next question...)