Microsoft
70-515 · Question #146
70-515 Question #146: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #146. The question stem and answer options stay visible for context.
Question
You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses Microsoft Windows authentication. Employees are members of a group named Employees. Managers are members of a group named Managers. The root folder of the application is named Details. The Details folder displays information about employees' performance. The Details folder has a subfolder named MoreDetails. You need to ensure that employees and managers can access pages stored in the Details folder. However, only managers can access pages stored in the MoreDetails folder. You make the following entries in the Web.config file in the Details folder. (Line numbers are given for reference only.) 1 <authentication mode="Windows" / > 2 <authorization> 3 <allow roles="Employees, Managers" / > 4 <deny users="*" /> 5 </authorization> You make the following entries in the Web.config file in the MoreDetails folder. (Line numbers are given for reference only.) 1 <authentication="Windows" /> 2 <authorization> 3 <allow roles="Managers" /> 4 <deny users="*" /> 5 </authorization> When managers try to access pages stored in the MoreDetails folder, they receive the following error message: "An error occurred during the processing of a configuration file required to service this request." You must ensure that managers are able to access pages stored in the MoreDetails folder. What will you do to accomplish this?
Options
- AAdd the following directive between line 1 and line 2 in the Web.config file in the MoreDetails
- BModify line 4 in the Web.config file in the MoreDetails folder as follows:
- CAdd the following directive between line 1 and line 2 in the Web.config file in the MoreDetails
- DReplace line 1 in the Web.config file in the MoreDetails folder with
- EAdd the following directive between line 1 and line 2 in the Web.config file in the Details folder:
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.