You create an XML Web service named TimeService. Each time TimeService is started, it checks
for the existence of an event log named TimeServiceLog. If TimeServiceLog does not exist,
TimeService creates it.
You discover that when TimeService creates TimeServiceLog, it throws a
System.Security.SecurityException. The exception includes the following message: ?Requested
registry access is not allowed?. You need to resolve this problem.
What should you do?.
A. Configure Inetinfo.exe to run as the local administrator user account.
B. Create an installer for TimeService, and create the new event log in the installer code.
C. Modify the Web.config file by adding an identity element to impersonate the LOGON user
specified by Internet Information Services (IIS).
D. Modify the permissions of the
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlog registry key to give
full control to the IUSR_computername user account.

Submitted by: Administrator
B. Create an installer for TimeService, and create the new event log in the installer code.
Submitted by: Administrator

Read Online MCSD.NET - 70-310 Exam Job Interview Questions And Answers