Congratulations to all the winners of Sep 2015
ITIL Career Advice
PMP Career Advice
Tips & Tricks
Introduction to Mongo db Storing Data Part2
Career in Application Support
How to use knockout js in project?
adding mobilenumbers and emailid of selected checkboxes inside gridview using template field
How to retrieve data from the database?
Welcome Guest !
IIS Interview Questions and Answers (71) - Page 1
Latest and authentic Interview questions. You can also
post an interview question
win monthly prizes
as well as gain community
71 records found.
Get 650+ Questpond's Interview videos on discount
What is the Role of IIS ?
Visual studio having It own ASP.NET Engine which is capable enough to run Asp.net web application from visual studio. So we just click on Run button to start the application.
Now this is the scenarios of local environment. But If we want to host it on server from where all user can access the sites then IIS comes into the picture.
IIS provides a redesigned WWW architecture that can help you achieve better performance, reliability, scalability, and security for our Web sites. IIS can support following Protocol
HTTP/HTTPS, FTP, FTPS, SMTP
Etc. We need to host the site on IIS, when request comes from client it first hits the IIS Server, then the server passed it to ASP.NET worker process to execute. Then the response also passes to client via IIS itself.
Note only Hosting of Site we can create our FTP Server, SMTP Server using IIS itself.
There are different version of IIS available like 5.1, 6.0, 7.0 etc
What are the different version on IIS that you have worked on ?
Before answering this question you need to know what are the different IIS version is available in different OS. Below is the list of IIS version with different Operating system.
Windows Server 2008 - Windows Vista - Home Premium/ Ultimate
- IIS 7.0
Windows Server 2003
- IIS 6.0
Windows XP Professional
- IIS 5.1
Now based on your working experience you can say that you have worked on IIS 5.1 and 6.0 or only IIS 7. Etc.
Now, the next question that can asked after answering this question is “
what is the difference between them ?
” – Well I will come with this later.
What is Application Pool in IIS ?
Before Giving the Definition : you can say like this, Concept of Application pool has from IIS 6.0 .
Application pools are used to separate sets of IIS worker processes that share the same configuration and application boundaries. Application pools used to
our web application for better security, reliability, and availability and performance and keep running with out impacting each other . The worker process serves as the process boundary that separates each application pool so that when one worker process or application is having an issue or recycles, other applications or worker processes are not affected.
One Application Pool can have multiple worker process Also.
Main Point to Remember:
1. Isolation of Different Web Application
2. Individual worker process for different web application
3. More reliably web application
4. Better Performance
What is the Name of Default Application Pool in IIS ?
Though we can create new application pool IIS with different settings, but IIS having its own default application pool named :
What are the different types of Identity available in IIS 6.0 ?
IIS having three different Identity.
1. Local System
2. Local Services
Name of default Identity of IIS6.0
Default Identity of IIS 6.0 is
Which is having very minimum rights on your system. The user can only have the read access of the site.
What is Recycling of Application Pool ?
ecycling Application pool means recycle the Worker process (
) and the memory used for the web application.
There are two types of recycling related with Application pool
1. Recycling Worker Process -
2. Recycling Worker Process -
Based on Memory
What are the main layers of IIS Architecture ?
IIS having mainly two layer
Below are the subsection of both of them.
1. Kernel Mode
2. User Mode
o Web Admin Service
o Virtual Directory
o Application Pool
What is the Role of Http.Sys in IIS ?
HTTP.SYS is the kernel level components of IIS. All client request comes from client hit the HTTP.Sys of Kernel level. HTTP.SYS then makes a queue for each and every request for each and individual application pool based on the request.
Whenever we create any application pool IIS automatically registers the pool with HTTP.SYS to identify the particular during request processing.
What are the different security settings available in IIS ?
Below are the commonly used IIS Security settings
2 Integrated Windows Authentication
3. Basic Authentication
4. Digest Authentication
5. Passport Authentication
For Set security permission you need to go to Virtul Directory > Right Click > Properties > Directory Security
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
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 Worker process called Web Gardens.
Each Worker Process Should have there own Thread and Own Memory space.
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 graden we need to go to Application Pool, then Right Click on Application Pool > Properties > Goto 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.
For more information Read this article :
How we can open IIS Configuration manager ?
Or we can open it from control panel > Administrative tools.
How we can create a Virtual Directory on IIS ?
Open IIS Configuration Manager
First of all Right Click on Default web sites > New > Virtual Directory .
Browse the Physical Path. Set the properites. Click on OK
What are the permission settings are available for Virtual Directory ?
Below are the list of permission that can be set during virtaul directory creation
2. Run Scripts
What is the folder location for Virtual Directory ?
What is the use of Enable Pinging Properties for Application Pool ?
IIS should periodically monitor the health of a worker process [ Idle or not , Time for recycle or not, All Worker process are running properly or not ] .
Pining means, Activation Process monitor Worker process performance, health, idle time etc.
By default it sets to
More IIS Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Interview Questions and Answers Categories
ASP.NET Web API
Design Pattern & Practices
Error and Solution
Function Points (FPA)
News and Community
Web Services, Remoting