MCSD.NET - 70-310 Exam Question:
Download Questions PDF

Suppose You create an XML Web service named XYZService. You must ensure that this service meets
the following URL authorization requirements.
? Anonymous access must be disabled for XYZService.
? An authenticated user named User1 cannot access XYZService.
? All other authenticared users can access XYZService.
You configure Internet Information Services (IIS) to meet these requirements. You now need to
configure the authorization section in the Web.config file to properly authorize the users.
Which code segment should you use?
A. <allow users=?*? />.
<deny users=?User1? />
B. <allow users=??? />
<deny users=?User1? />
C. <deny users=?*? />
<deny users=?User1? />
<allow users=??? />
D. <deny users=??? />
<deny users=?User1? />
<allow users=?*? />

Answer:

D. <deny users=??? />
<deny users=?User1? />
<allow users=?*? />

Download MCSD.NET - 70-310 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You create three Windows services named EXService1, EXService2, and EXService3. You want
to install all three services on a computer named XYZA by using the Installer tool (Installutil.exe).
On the command line of XYZA, you enter and run the following command:
Installutil EXService1 EXService2 EXService3
During the installation process, EXService3 throws an installation error. The installation process
completes.
How many of the three services are now installed on XYZ1?
A. None
B. One
C. Two
D. Three.
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.