Monday, December 12, 2011

IIS Administration Interview Questions and Answers Series 3

What is the default authentication settings for IIS?
Anonymous authentication is the default authentication mode for any site that is hosted on IIS, and it runs under the "IUSR_ServerName" account.

What is web garden?
By default Each Application Pool runs with a Single Worker Process (W3Wp.exe). We can assign multiple Worker Process With a Single Application Pool. An Application Poll with multiple Workr process called Web Gardens. Each Worker Process Should have there own Thread and Own Memory space.

Best Practice: Generally its not recommended to use InProc Session mode while we are using Web Garden.

Where session data stores in case of "In-Proc" Session mode?
Session data store inside process memory of worker process ( w3wp.exe ).

How we can create an web garden?
For creating web-garden we need to go to Application Pool, then Right Click on Application Pool --> select Properties --> Go to Performance Tab  -->In Web Garden Section, increase the number of worker process. By default it is 1.

How we can debug a web application which is hosted on IIS?
We can easily debug any web application that are hosted on IIS by using Attaching of Worker Process. 
From Visual Studio IDE > Tools > Attach To Process
Select the particular Process, then start debugging.

How we can open IIS Configuration manager ?
Go to Start--> Run --->enter "inetmgr"  ---> Click enter
We can open it from control panel > Administrative tools.

How we can create a Virtual Directory on IIS?
Open IIS Configuration Manager then Right Click on Default web sites > New > Virtual Directory.
Browse the Physical Path. Set the properties and Click OK.

What are the permission settings are available for Virtual Directory?
Here is the list of permission that can be set during virtual directory creation
1. Read
2. Run Scripts
3. Execute:
4. Write:
5. Browse

What is the folder location for Virtual Directory ?

What is the use of Enable Pinging Properties for Application Pool?
IIS periodically monitors the health of a worker process like Idle or not, time for recycle or not, all Worker process are running properly or not . If Pining enables, Activation Process monitor Worker process performance, health, idle time etc. By default it sets to 30 seconds.


Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More