PrepAway - Latest Free Exam Questions & Answers

Which file should you audit?

You are configuring a Windows Server 2008 R2 Hyper-V server.
You need to audit changes to Hyper-V roles and authorization rights.
Which file should you audit?

PrepAway - Latest Free Exam Questions & Answers

A.
AzMan.msc

B.
web.config

C.
InitialStore.xml

D.
machine.config

Explanation:
What is Web.Config File?
It is an optional XML File which stores configuration details for a specific asp.net web
application.
Note:When you modify the settings in theWeb.Configfile, you do not need to restart the Web
service for the modifications to take effect..By default, theWeb.Configfile applies to all the
pages in the current directory and its subdirectories.
Extra:You can use the<location>tag to lock configuration settings in theWeb.Configfile so
that they cannot be overridden by aWeb.Configfile located below it. You can
usetheallowOverrideattribute to lock configuration settings. This attribute is especially
valuable if you are hosting untrusted applications on your server.
What is Machine.config File?
The Machine.Config file, which specifies the settings that are global to a particular machine.
This file is located at the following path:
\WINNT\Microsoft.NET\Framework\[Framework Version]\CONFIG\machine.config As
web.config file is used to configure one asp .net web application, same way Machine.config
file is used to configure the application according to a particular machine. That is,
configuration done in machine.config file is affected on any application that runs on a
particular machine. Usually, this file is not altered and only web.
config is used which configuring applications.
You can override settings in the Machine.Config file for all the applications in a particular
Web site by placing a Web.Config file in the root directory of the Web site as follows:
\InetPub\wwwroot\Web.Config
What can be stored in Web.configfile?

There are number of important settings that can be stored in the configuration file. Here are
some of the most frequently used configurations, stored conveniently inside Web.config file.
1. Database connections.
2. Session States
3. Error Handling(CustomError Page Settings.)
4. Security(Authentication modes)


Leave a Reply