iis server interview ques
TRANSCRIPT
-
8/10/2019 Iis Server Interview Ques
1/29
1
Internet Information Services is used to make your computer a web server. If we want to havea web server for developing dynamic website or want to publish website on our own server thenwe install the IIS. IIS is used on windows plate form. For other plate form we have different web
servers.
What is Web Farm?When we hosted our web Application on multiple web server under a load balancer call theWeb Farm. This is generally used for heavy load web application where there are many userrequests at a time. So When Web Application is hosted on Different IIS Server over a loadbalancer, Load balancer is responsible for distribute the load on different server.
What is Web Garden?A Web garden is configured on a single server by specifying multiple worker processes for an
application pool. Web farms use multiple physical servers for supporting a single Web site.
What is the default Identity of an Application Pool ?NetworkServices
What is the available Identity of an Application Pool?In IIS 6.0 - NetworkServices | LocalService | LocalSystemIn IIS 7.0 - NetworkServices | LocalService | LocalSystem | ApplicationPoolIdentity
What are the worker process for IIS 5.1 and IIS 6.0 and IIS 7.0?For IIS 5.1 > aspnet_wp.exe
For IIS 6.0 > w3wp.exeFor IIS 7.0 > w3wp.exe
Types of Authentication available in IIS 6.0 and 7.0
What are the different type of application pool available in IIS 7.0 ?1. DefaultAppPool (Integrated)2. ClassicAppPool
Where is the default location for IIS Log files ?C:\WINDOWS\system32\LogFiles\W3SVC1
What is the use of aspnet_regiis -i command ?This is used automatically register the .NET Framework with your IIS.
How to check Installed .Net Version on IISC:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe lv
-
8/10/2019 Iis Server Interview Ques
2/29
2
If there are multiple worker process running on IIS, then how can you attach aparticularworker process for application ?run cscript iisapi.vbs script to find out the process ID and Application Pool name . Based onthe process Id for particular application I have to attache the process from Visual studio IDE.
Which Tool is used for Remote IIS Debugging ?Tools is : msvsmon.exeThis is located at : \Microsoft Visual Studio 8\Common7\IDERemote Debuggerx86\
IIS Port numbers?HTTP : 80 (default port for iis), SSL : 443,FTP : 21,SMTP : 25,POP2 : 109,POP3 : 110,IMAP :143,NNTP : 119,LDAP : 89, DNS : 53,DHCP : 67
IIS Services?1. www services2. FTP services
3. SMTP services4. NNTP services
IIS Application pool ?Group of web applications are called application pool.An application pool is a group of one or more URLs that are served by a worker process or setof worker processes. Any Web directory or virtual directory can be assigned to an applicationpool. so that one webiste cannot be effected by other , if u used seperated application pool.
What is App Pool and App Domain? What is the difference between these two?Application Pool is created the each and every website.Application Domain is created to one domain Purpose.
What is the properties of App Pool in IIS?1.Recycling2.Perfomance3.Health4.Identity
How do I stop and restart Internet services?By using the IISRESET command
How can I confirm that a server certificate is attached to a Web site?1.In IIS Manager, right-click the Web site, and click Properties.
2.Click the Directory Security tab.3.Under Secure communications, if the View Certificate button is activated, there is acertificate attached to the Web site. If the button is not activated, you must attach a servercertificate to the site to use the Secure Sockets Layer (SSL) features.
What is a Web service extension and how do I use the Web Service Extensions folder? (IIS6.0)
-
8/10/2019 Iis Server Interview Ques
3/29
3
The Web Service Extensions folder is the user interface for the new IIS 6.0 lockdown feature.This feature is a manifest of ISAPI extensions and CGIs with user-specified permissions,meaning, administrators must set the permissions to allow specific ISAPIs and CGIs to run onyour server. Administrators can also specify the names of ISAPIs or CGIs that are forbidden torun on your server. Before loading an ISAPI extension .dll file or CGI .exe file, IIS checks thismanifest for the permissions on the file. If the file is permitted to run, then the request
proceeds normally. If the file is not permitted to run, then IIS returns a 404.2 error responseto the client machine. The HTML page for a 404.2 error looks like a standard 404 error page,so the client machine processes the request as though the file did not exist. IIS logs the 404.2error, which administrators can view to assess problems or potential threats against theserver.
What is ISAPI Filter ?ISAPI filters are DLL files that can be used to modify and enhance the functionality providedby IIS. ISAPI filters always run on an IIS server, filtering every request until they find one theyneed to process. The ability to examine and modify both incoming and outgoing streams ofdata makes ISAPI filters powerful and flexible.
Filters are registered at either the site level or the global level (that is, global filters apply toall sites on the IIS server), and are initialized when the worker process is started. A filterlistens to all requests to the site on which it is installed.
Both ISAPI filters and ISAPI extensions can only be developed using C/C++. Visual Studio comeswith wizards that make ISAPI development fast and easy.
What is the Role of IIS ?
Posted by: Abhijit Jana
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 ?
-
8/10/2019 Iis Server Interview Ques
4/29
4
Posted by: Abhijit Jana
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.1Now 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 ?
Posted by: Abhijit Jana
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 isolate 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 application3. More reliably web application
4. Better Performance
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
How we can open IIS Configuration manager ?
Posted by: Abhijit Jana
Just simply Run >inetmgr
Or we can open it from control panel > Administrative tools.
How we can create a Virtual Directory on IIS ?
-
8/10/2019 Iis Server Interview Ques
5/29
5
Posted by: Abhijit Jana
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 ?
Posted by: Abhijit Jana
Below are the list of permission that can be set during virtaul directory creation
1. Read
2. Run Scripts
3. Execute:
4. Write:
5. Browse
What is the folder location for Virtual Directory ?
Posted by: Abhijit Jana
:\inetpub\wwwroot
What is the use of Enable Pinging Properties for Application Pool ?
Posted by: Abhijit Jana
IIS should periodically monitor the health of a worker process [ Idle or not , Time for recycle ornot, 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 30s .
Does One Web Application can have multiple Application Pool ?
Posted by: Abhijit Jana
No. Every Web Application should have one Application Pool. Bydefault it is "DefaultAppPool ".
Which version of IIS is available in Windows Server 2008 ?
Posted by: Abhijit Jana
IIS 7.0 .
Even Vista Home Premium and Ultimate edition is also having IIS 7.0
-
8/10/2019 Iis Server Interview Ques
6/29
6
How we can save an Application Pool Settings?
Posted by: Abhijit JanaApplication Pool Settings can be save as "XML" Format.
Right Click on Application Pool > All Task > Save Configuration to a File .
This will save all the settings of Application Pool as an XML file.We can make it password
protected also.
Which Tool is used for Remote IIS Debugging ?
Posted by: Abhijit Jana
Tools is : msvsmon.exe
This is located at : Install path\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86
What are the different authentication mode available for IIS Remote Debugging ?
Posted by: Abhijit Jana
For IIS Remote Debugging msvsmon supported two authentication mode
1. Windows Authentication
2. No-Authentication
How can we get the list of worker process running in IIS along with the Application pool name ?
Posted by: Abhijit Jana
By running iisapp.vbs script from command Prompt.
Below are the steps :
1. Start > Run > Cmd
2. Go To Windows > System32
3. Run cscript iisapp.vbs
If there are multiple worker process running on IIS, then how can you attach a particular worker
process for application ?
-
8/10/2019 Iis Server Interview Ques
7/29
7
Posted by: Abhijit Jana
Well, If there are multiple worker process running in IIS, it means I have to know the name of my
application pool. Then I can run cscript iisapi.vbs script to find out the process ID and
Application Pool name . Based on the process Id for particular application I have to attache the
process from Visual studio IDE.
Why do we need to IIS Remote Debugging ?
Posted by: Abhijit Jana
There are following reasons where we can use remote debugging
1. Your development server does not have IIS installed.
2. Development server and Build/Released/Hosting Server is different
3. Multiple user want to debug simultaneously.
Does IIS allows multiple user to Remote debug simultaneously ?
Posted by: Abhijit Jana
Yes. This is one of the great features of msvsmon.exe . Each instance of the remote debugger
has a unique server name.we can give an instance of the remote debugger any server name.
Now multiple user can able to access the server instance.
What is the use of aspnet_regiis -i command ?
Posted by: Abhijit Jana
This is used automatically register the .NET Framework with your IIS
Can we have multiple web sites on IIS ?
Posted by: Abhijit Jana
Yes. IIS Can have multiple web sites and Each and every web sites can have multiple virtual
Directory.
Note : Here web sites means the Root Node.
Where is the default location for IIS Log files ?
Posted by: Abhijit Jana
Its
-
8/10/2019 Iis Server Interview Ques
8/29
8
C:\WINDOWS\system32\LogFiles\W3SVC1
What is ISAPI Filter ?
Posted by: Abhijit JanaThis is one of the more important question for experienced guys.
Please read this in details.
http://msdn.microsoft.com/en-us/library/ms524610.aspx
What are the major innovation in IIS 7.0 ?
Posted by: Abhijit Jana
Below are the Major Innovation in IIS 7.0
Components are designed as module and there are major change in administration settings.
FYI : You can find out many of them, just go thorugh Microsoft IIS web site.
What is the Role of Windows Activation Process in IIS ?
Posted by: Abhijit Jana
WAP is the Controller of Worker process under a Application Pool. Windows Activation Process
which is managed by the worker process by starting, stopping and recycling the application
pool. When to start, stop and Recycle should be defined on Application Pool Settings. Activation
Process is also responsible for Health Monitor of Application Pool during runtime.
FYI : Health monitoring setting can be easily found in Properties of Application Pool.
What are the different type of application pool available in IIS 7.0 ?
Posted by: Abhijit Jana
IIS 7.0 having two types of application pool.
1. DefaultAppPool (Integrated)
2. ClassicAppPool
Which is not an Identity of Application Pool ?
Posted by: Abhijit Jana
NOTE: This is objective type question, Please click question title for correct answer.
-
8/10/2019 Iis Server Interview Ques
9/29
9
Which application pool having maximum privilege on the server ?
Posted by: Abhijit JanaNOTE: This is objective type question, Please click question title for correct answer.
What is name of default application pool in IIS ?
Posted by: Abhijit Jana
NOTE: This is objective type question, Please click question title for correct answer.
What are the worker process for IIS 5.1 and IIS 6.0 ?
Posted by: Abhijit Jana
For IIS 5.1 > aspnet_wp.exe
For IIS 6.0 > w3wp.exe
Name of the tool which is used for remote debugging of IIS
Posted by: Abhijit Jana
NOTE: This is objective type question, Please click question title for correct answer.
What is Web Farm ?
Posted by: Abhijit Jana
This is one of the most question in IIS. And along with that interviewer can as what is the
different between Web farm and Web Garden ?
When we hosted our web Application on multiple web server under a load balancer call the Web
Farm. This is generally used for heavy load web application where there are many user request
at a time. So When Web Application is hosted on Different IIS Server over a load balancer,
Load balancer is responsible for distribute the load on different server.
Please have a look into this :
http://www.dotnetfunda.com/articles/article713-difference-between-web-farm-and-web-
garden.aspx
-
8/10/2019 Iis Server Interview Ques
10/29
10
What is the default Identity of an Application Pool ?
Posted by: Abhijit Jana
NetworkServices
How can we set the default page for any web application ?
Posted by: Abhijit Jana
We can set the default page for a web site from the Virtual Directory Setting.
How To :
IIS Manager > Virtual Directory > Right Click > Properties > GoTo Document Tab.
How we can set the Idle Time out of an worker process ?
Posted by: Abhijit Jana
We can set the Idle time out for an worker process from Application Pool Properties.
In Performance Tab of Application pool, we can set the Idle Time out of the worker process.
This means worker process will shut down after that given time period if it stay idle. And will
again wake up again if a new request comes.
Is there any alternative way to host site on IIS rather than opening IIS Manager ?
Posted by: Abhijit JanaYes, We can directly host any site from the physical location of directory itself.
Right Click on Physical Folder > Properties > Web Sharing
There you need to select > "Share This Folder" Option Button. Then it will ask for alias name
and other setting. Then Click on OK.
To Validate : Run > Inetmgr > Check there should an virtual directory with the same "Alias"
name that you have given.
If there are already one Virtual directory exist it will showing you the error message while you
providing the "Alias" name.
Can we create one Application Pool From Another Application Pool ?
Posted by: Abhijit Jana
-
8/10/2019 Iis Server Interview Ques
11/29
11
Yes. We can.
While creating Application Application Pool From IIS, there should have two option available first
one is for Default Setting and Another is for Existing Setting as template.
We can select the second one and from the drop down listed below we can select any on the
Application Pool as Template,.
What are the main components of SVCHost.exe ?
Posted by: Abhijit Jana
Main components for SVCHost.exe are WWW Publishing Service (W3SVC) and Windows
Activation Porcess (WAP) .
W3SVC is the mediator of HTTP.SYS and Windows Activation Process. Windows Activation
Process maintain the worker processes.
What are the different way that we can hosted site on IIS ?
Posted by: Abhijit Jana
We can hosted site on IIS either creating Virtual Directory through IIS manager or Using Folder
Web Sharing .
Apart from that Visual studio provide some inbuilt features to host the site on IIS like using
Publishing the web site , Using Copy web Tool or Creating Virtual directory during the creating
the project by choosing Location as HTTP
How does IIS process an ASP.net request ?
Posted by: Abhijit Jana
When client request for an aspx pages, request comes to kernel level off IIS means to
HTTP.SYS . HTTP.SYS receives the request and based on the application pool name [ Which is
already registred with the HTTP.SYS ] it send the request to worker process. Windows
Activation process works as mediator of them. w3wp.exe loads "aspnet_isapi.dll" files to start
the HTTPRuntime . HTTPRuntime creates HTTPApplication objects and all request are passed
through HTTPModule and finally reached to HttpHandler . This is the request pipeline. After end
of Request pipeline ASP.NET Page lifecycle starts.
For more Information :
http://www.codeproject.com/KB/aspnet/aspnetrequestarchitecture.aspx
From where we can set the Session Time Out in IIS ?
-
8/10/2019 Iis Server Interview Ques
12/29
12
Posted by: Abhijit Jana
We can set the Session time out settings from the Virtual Directory for that site.
Right Click on Virtual Directory > Properties > Click on "Configuration" Button
Goto the "Option" Tab. There in Enable Session State Section you can configure the Session
Timeout .
What are the different "Execution Permission" available for IIS for an virtual directory ?
Posted by: Abhijit Jana
There are three Execution Permission available.
1. None
2. Scripts Only
3. Scripts and Executable
From where you can change the ASP.NET Version in IIS ?
Posted by: Abhijit Jana
This can be change from Virtual Directory properties. First open Properties of Virtual Directory >
GoTo ASP.NET Version Tab.
There we can have change the ASP.NET Version.
What is the latest version of IIS released with Windows 7
Posted by: Nishithraj
IIS 7.5
What is the default user name of an anonymous login in IIS?
Posted by: Peermohamedmydeen
In IIS, an anonymous user will be given with a user name of "IUSR_MachineName "
How can we take back-ups in IIS Server?
Posted by: Peermohamedmydeen
Step 1 : In the IIS (inetmgr), right click on the "Computer" icon under "Internet Information
Services" . Click "All Tasks" and select "Backup/Restore Configuration".
-
8/10/2019 Iis Server Interview Ques
13/29
13
Step 2 : Click on button "Create backup". Give Name for your backup file. If you want encryption
enable encryption option and give UserName and Password and then click OK.
What is IIS metabase? And In which format IIS stors configurations?
Posted by: Peermohamedmydeen
IIS metabase is a special databse which is used to maintain the settings and configurations data
for IIS. In simple term, it is a configuration base for IIS (Metabase.xml).
IIS 5.0 --> Metabse is in Binary.
IIS 6.0 & 7.5 --> Metabase is in XML.
List of Error & Status codes in IIS 6.0?
Posted by: Peermohamedmydeen
Status Code Type of Code
100 Series - Informational
200 Series - Success
300 Series - Redirection
400 Series - Client Error
500 Series - Server Error
How to recycle application pool from the command prompt in IIS7?
Posted by: Prasham
1. Use appcmd.exe to recycle the application pool from the command prompt.
2. appcmd.exe is the command line tool for IIS7, you will find this tool at following location :
%systemroot%\system32\inetsrv\appcmd
3. To recycle your application pool use the following command:
appcmd recycle apppool /apppool.name:
What are the Different steps to be followed to get SSL(Secure Sockets Layer) for our Web
Application ?
Posted by: Chvrsri
. Intially we have to Generate a certificate request from our IIS
-
8/10/2019 Iis Server Interview Ques
14/29
14
. Now we have to request a certificate from the certificate authority(CA)
. This CA is an entity which issues Digital Certificates.
. After receiving the certificate we have to install that particular certificate on our Web Serverusing IIS
. We have to use Secure Hyper Text Transfer Protocol(HTTPS) when accessing secure pages
in our application.
By this way we could make our web page as SSL protected. !!!
Which DLL is used to translate XML to SQL in Internet Information Services (IIS) ?
Sqlisapi.dllDLL used to translate XML to SQL in Internet Information Server (IIS)
Posted by: Chvrsri
NOTE: This is objective type question, Please click question title for correct answer.
What is the purpose of IIS application pools?
Posted by: Lokesh76
We use applicaiton pools for isolation purpose. Every application within an application pool used
the same worker process. Each worker process operates as a separate instance of the worker
process executable, W3wp.exe, the worker process that services one application pool is
separated from the worker process that services another.
In simplest words we use applicaiton pools for ISOLATION purpose.
what is Windows Process Activation Service ?
Posted by: Sagnikmukh
The Windows Process Activation Service (WAS) provides process activation, resource
management and health management services for message-activated applications. It manages
application pool configuration and the creation and lifetime of worker processes for HTTP and
other protocols (net.tcp,net.pipe,net.msmq)
-
8/10/2019 Iis Server Interview Ques
15/29
15
Details : http://techprudent.com/the-windows-process-activation-service/
and
MSDN : http://technet.microsoft.com/en-us/library/cc735229%28WS.10%29.aspx
What are the Different Authentication Methods(Using Windows Authentication) which areprovided by IIS ?
Posted by: Chvrsri
Generally IIS provides four different kinds of Authentication Methods they are :
Anonymous Method
If we select this authentication, IIS doesn't perform any authentication so that any one can
access the application.
Basic Method
If we select this method, the user who access the application should provide windows username
and password to access the application. Although this is sent through a network by transmitting
direct text so it it very insecure.
Digest Method
This method is almost equal to Basic method but the difference is the password is hashed
before it is transmitted through out a network.
Windows Integrated Method
In this the application uses the Kerberos protocol to validate(Authenticate) the user. This uses a
Secret key cryptography which provides strign authentication for Client/Server applications.
How can we check whether IIS is being installed in my system or not?
Posted by: Chvrsri
To verify if IIS is installed or not we need to go to Add or Remove Programs utility in the
Control panel and click on the Add/Remove Windows Components in the side menu.
There we must locate an item called "Internet Information Services (IIS)". If this is checked, IIS
should be installed.
So that you can have your IIS installed in your system if it is not installed
-
8/10/2019 Iis Server Interview Ques
16/29
16
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, SMTPEtc. 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 isolate 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.
http://www.dotnetfunda.com/interviews/show/1413/what-are-the-different-version-on-iis-that-you-have-worked-onhttp://www.dotnetfunda.com/interviews/show/1413/what-are-the-different-version-on-iis-that-you-have-worked-onhttp://www.dotnetfunda.com/interviews/show/1413/what-are-the-different-version-on-iis-that-you-have-worked-onhttp://www.dotnetfunda.com/interviews/show/1414/what-is-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1414/what-is-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1414/what-is-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1414/what-is-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1413/what-are-the-different-version-on-iis-that-you-have-worked-onhttp://www.dotnetfunda.com/interviews/show/1413/what-are-the-different-version-on-iis-that-you-have-worked-onhttp://www.dotnetfunda.com/interviews/show/1413/what-are-the-different-version-on-iis-that-you-have-worked-on -
8/10/2019 Iis Server Interview Ques
17/29
17
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 :DefaultAppPool
What are the different types of Identity available in IIS 6.0 ?
IIS having three different Identity.
1. Local System
2. Local Services
3. NetworkServices
Name of default Identity of IIS6.0
Default Identity of IIS 6.0 is NetworkServices.
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 (w3wp.exe) and the memory used for the web
application.
There are two types of recycling related with Application pool
1. Recycling Worker Process - Predefined Settings2. Recycling Worker Process - Based on Memory
What are the main layers of IIS Architecture ?
http://www.dotnetfunda.com/interviews/show/1415/what-is-the-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1415/what-is-the-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1416/what-are-the-different-types-of-identity-available-in-iis-60http://www.dotnetfunda.com/interviews/show/1416/what-are-the-different-types-of-identity-available-in-iis-60http://www.dotnetfunda.com/interviews/show/1417/name-of-default-identity-of-iis60http://www.dotnetfunda.com/interviews/show/1417/name-of-default-identity-of-iis60http://www.dotnetfunda.com/interviews/show/1418/what-is-recycling-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1418/what-is-recycling-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1419/what-are-the-main-layers-of-iis-architecturehttp://www.dotnetfunda.com/interviews/show/1419/what-are-the-main-layers-of-iis-architecturehttp://www.dotnetfunda.com/interviews/show/1419/what-are-the-main-layers-of-iis-architecturehttp://www.dotnetfunda.com/interviews/show/1419/what-are-the-main-layers-of-iis-architecturehttp://www.dotnetfunda.com/interviews/show/1418/what-is-recycling-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1418/what-is-recycling-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1417/name-of-default-identity-of-iis60http://www.dotnetfunda.com/interviews/show/1417/name-of-default-identity-of-iis60http://www.dotnetfunda.com/interviews/show/1416/what-are-the-different-types-of-identity-available-in-iis-60http://www.dotnetfunda.com/interviews/show/1416/what-are-the-different-types-of-identity-available-in-iis-60http://www.dotnetfunda.com/interviews/show/1415/what-is-the-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1415/what-is-the-name-of-default-application-pool-in-iis -
8/10/2019 Iis Server Interview Ques
18/29
18
IIS having mainly two layer Kernel Mode and User Mode
Below are the subsection of both of them.
1. Kernel Mode
o HTTP.SYS
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 theparticular during request processing.
What are the different security settings available in IIS ?
Below are the commonly used IIS Security settings
1 Anonymous
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
Click on Edit Button .
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 Worker process called Web Gardens. Each
http://www.dotnetfunda.com/interviews/show/1420/what-is-the-role-of-httpsys-in-iishttp://www.dotnetfunda.com/interviews/show/1420/what-is-the-role-of-httpsys-in-iishttp://www.dotnetfunda.com/interviews/show/1421/what-are-the-different-security-settings-available-in-iishttp://www.dotnetfunda.com/interviews/show/1421/what-are-the-different-security-settings-available-in-iishttp://www.dotnetfunda.com/interviews/show/1422/what-is-the-default-authentication-settings-for-iishttp://www.dotnetfunda.com/interviews/show/1422/what-is-the-default-authentication-settings-for-iishttp://www.dotnetfunda.com/interviews/show/1423/what-is-web-gardenhttp://www.dotnetfunda.com/interviews/show/1423/what-is-web-gardenhttp://www.dotnetfunda.com/interviews/show/1423/what-is-web-gardenhttp://www.dotnetfunda.com/interviews/show/1423/what-is-web-gardenhttp://www.dotnetfunda.com/interviews/show/1422/what-is-the-default-authentication-settings-for-iishttp://www.dotnetfunda.com/interviews/show/1422/what-is-the-default-authentication-settings-for-iishttp://www.dotnetfunda.com/interviews/show/1421/what-are-the-different-security-settings-available-in-iishttp://www.dotnetfunda.com/interviews/show/1421/what-are-the-different-security-settings-available-in-iishttp://www.dotnetfunda.com/interviews/show/1420/what-is-the-role-of-httpsys-in-iishttp://www.dotnetfunda.com/interviews/show/1420/what-is-the-role-of-httpsys-in-iis -
8/10/2019 Iis Server Interview Ques
19/29
19
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 > GotoPerformance 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 :
http://www.codeproject.com/KB/aspnet/ProcessAttache.aspx
How we can open IIS Configuration manager ?
Just simply Run >inetmgr
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
http://www.dotnetfunda.com/interviews/show/1424/where-session-data-stores-in-case-of-in-proc-session-modehttp://www.dotnetfunda.com/interviews/show/1424/where-session-data-stores-in-case-of-in-proc-session-modehttp://www.dotnetfunda.com/interviews/show/1424/where-session-data-stores-in-case-of-in-proc-session-modehttp://www.dotnetfunda.com/interviews/show/1425/how-we-can-create-an-web-gardenhttp://www.dotnetfunda.com/interviews/show/1425/how-we-can-create-an-web-gardenhttp://www.dotnetfunda.com/interviews/show/1426/how-we-can-debug-a-web-application-which-is-hosted-on-iishttp://www.dotnetfunda.com/interviews/show/1426/how-we-can-debug-a-web-application-which-is-hosted-on-iishttp://www.codeproject.com/KB/aspnet/ProcessAttache.aspxhttp://www.dotnetfunda.com/interviews/show/1427/how-we-can-open-iis-configuration-managerhttp://www.dotnetfunda.com/interviews/show/1427/how-we-can-open-iis-configuration-managerhttp://www.dotnetfunda.com/interviews/show/1428/how-we-can-create-a-virtual-directory-on-iishttp://www.dotnetfunda.com/interviews/show/1428/how-we-can-create-a-virtual-directory-on-iishttp://www.dotnetfunda.com/interviews/show/1428/how-we-can-create-a-virtual-directory-on-iishttp://www.dotnetfunda.com/interviews/show/1428/how-we-can-create-a-virtual-directory-on-iishttp://www.dotnetfunda.com/interviews/show/1427/how-we-can-open-iis-configuration-managerhttp://www.dotnetfunda.com/interviews/show/1427/how-we-can-open-iis-configuration-managerhttp://www.codeproject.com/KB/aspnet/ProcessAttache.aspxhttp://www.dotnetfunda.com/interviews/show/1426/how-we-can-debug-a-web-application-which-is-hosted-on-iishttp://www.dotnetfunda.com/interviews/show/1426/how-we-can-debug-a-web-application-which-is-hosted-on-iishttp://www.dotnetfunda.com/interviews/show/1425/how-we-can-create-an-web-gardenhttp://www.dotnetfunda.com/interviews/show/1425/how-we-can-create-an-web-gardenhttp://www.dotnetfunda.com/interviews/show/1424/where-session-data-stores-in-case-of-in-proc-session-modehttp://www.dotnetfunda.com/interviews/show/1424/where-session-data-stores-in-case-of-in-proc-session-modehttp://www.dotnetfunda.com/interviews/show/1424/where-session-data-stores-in-case-of-in-proc-session-mode -
8/10/2019 Iis Server Interview Ques
20/29
20
What are the permission settings are available for Virtual
Directory ?
Below are the list of permission that can be set during virtaul directory creation
1. Read
2. Run Scripts
3. Execute:
4. Write:
5. Browse
What is the folder location for Virtual Directory ?
:\inetpub\wwwroot
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 30s .
Now you don't need go anywhere to get the best interview questions on Microsoft technology. We are trying to
gather all real interview questions asked from MNCs and put them here. You can also assist us in doing so
bysubmitting .net interview questions. These questions are generally different from certification questions however
it may help you in that too.
Does One Web Application can have multiple Application Pool
?
No. Every Web Application should have one Application Pool. Bydefault it is "DefaultAppPool ".
http://www.dotnetfunda.com/interviews/show/1429/what-are-the-permission-settings-are-available-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1429/what-are-the-permission-settings-are-available-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1429/what-are-the-permission-settings-are-available-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1430/what-is-the-folder-location-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1430/what-is-the-folder-location-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1432/what-is-the-use-of-enable-pinging-properties-for-application-poolhttp://www.dotnetfunda.com/interviews/show/1432/what-is-the-use-of-enable-pinging-properties-for-application-poolhttp://www.dotnetfunda.com/interviews/show/1432/what-is-the-use-of-enable-pinging-properties-for-application-poolhttp://www.dotnetfunda.com/interviews/postexamquestion.aspxhttp://www.dotnetfunda.com/interviews/show/1433/does-one-web-application-can-have-multiple-application-poolhttp://www.dotnetfunda.com/interviews/show/1433/does-one-web-application-can-have-multiple-application-poolhttp://www.dotnetfunda.com/interviews/show/1433/does-one-web-application-can-have-multiple-application-poolhttp://www.dotnetfunda.com/interviews/show/1433/does-one-web-application-can-have-multiple-application-poolhttp://www.dotnetfunda.com/interviews/show/1433/does-one-web-application-can-have-multiple-application-poolhttp://www.dotnetfunda.com/interviews/show/1433/does-one-web-application-can-have-multiple-application-poolhttp://www.dotnetfunda.com/interviews/postexamquestion.aspxhttp://www.dotnetfunda.com/interviews/show/1432/what-is-the-use-of-enable-pinging-properties-for-application-poolhttp://www.dotnetfunda.com/interviews/show/1432/what-is-the-use-of-enable-pinging-properties-for-application-poolhttp://www.dotnetfunda.com/interviews/show/1432/what-is-the-use-of-enable-pinging-properties-for-application-poolhttp://www.dotnetfunda.com/interviews/show/1430/what-is-the-folder-location-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1430/what-is-the-folder-location-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1429/what-are-the-permission-settings-are-available-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1429/what-are-the-permission-settings-are-available-for-virtual-directoryhttp://www.dotnetfunda.com/interviews/show/1429/what-are-the-permission-settings-are-available-for-virtual-directory -
8/10/2019 Iis Server Interview Ques
21/29
21
Which version of IIS is available in Windows Server 2008 ?
IIS 7.0 .
Even Vista Home Premium and Ultimate edition is also having IIS 7.0
How we can save an Application Pool Settings?
Application Pool Settings can be save as "XML" Format.
Right Click on Application Pool > All Task > Save Configuration to a File .
This will save all the settings of Application Pool as an XML file.We can make it password protected also.
Which Tool is used for Remote IIS Debugging ?
Tools is : msvsmon.exe
This is located at : Install path\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86
What are the different authentication mode available for IIS
Remote Debugging ?
For IIS Remote Debugging msvsmon supported two authentication mode
1. Windows Authentication
2. No-Authentication
How can we get the list of worker process running in IISalong with the Application pool name ?
By running iisapp.vbs script from command Prompt.
Below are the steps :
1. Start > Run > Cmd
http://www.dotnetfunda.com/interviews/show/1434/which-version-of-iis-is-available-in-windows-server-2008http://www.dotnetfunda.com/interviews/show/1434/which-version-of-iis-is-available-in-windows-server-2008http://www.dotnetfunda.com/interviews/show/1435/how-we-can-save-an-application-pool-settingshttp://www.dotnetfunda.com/interviews/show/1435/how-we-can-save-an-application-pool-settingshttp://www.dotnetfunda.com/interviews/show/1436/which-tool-is-used-for-remote-iis-debugginghttp://www.dotnetfunda.com/interviews/show/1436/which-tool-is-used-for-remote-iis-debugginghttp://www.dotnetfunda.com/interviews/show/1437/what-are-the-different-authentication-mode-available-for-iis-remote-dehttp://www.dotnetfunda.com/interviews/show/1437/what-are-the-different-authentication-mode-available-for-iis-remote-dehttp://www.dotnetfunda.com/interviews/show/1437/what-are-the-different-authentication-mode-available-for-iis-remote-dehttp://www.dotnetfunda.com/interviews/show/1438/how-can-we-get-the-list-of-worker-process-running-in-iis-along-with-thhttp://www.dotnetfunda.com/interviews/show/1438/how-can-we-get-the-list-of-worker-process-running-in-iis-along-with-thhttp://www.dotnetfunda.com/interviews/show/1438/how-can-we-get-the-list-of-worker-process-running-in-iis-along-with-thhttp://www.dotnetfunda.com/interviews/show/1438/how-can-we-get-the-list-of-worker-process-running-in-iis-along-with-thhttp://www.dotnetfunda.com/interviews/show/1438/how-can-we-get-the-list-of-worker-process-running-in-iis-along-with-thhttp://www.dotnetfunda.com/interviews/show/1438/how-can-we-get-the-list-of-worker-process-running-in-iis-along-with-thhttp://www.dotnetfunda.com/interviews/show/1437/what-are-the-different-authentication-mode-available-for-iis-remote-dehttp://www.dotnetfunda.com/interviews/show/1437/what-are-the-different-authentication-mode-available-for-iis-remote-dehttp://www.dotnetfunda.com/interviews/show/1437/what-are-the-different-authentication-mode-available-for-iis-remote-dehttp://www.dotnetfunda.com/interviews/show/1436/which-tool-is-used-for-remote-iis-debugginghttp://www.dotnetfunda.com/interviews/show/1436/which-tool-is-used-for-remote-iis-debugginghttp://www.dotnetfunda.com/interviews/show/1435/how-we-can-save-an-application-pool-settingshttp://www.dotnetfunda.com/interviews/show/1435/how-we-can-save-an-application-pool-settingshttp://www.dotnetfunda.com/interviews/show/1434/which-version-of-iis-is-available-in-windows-server-2008http://www.dotnetfunda.com/interviews/show/1434/which-version-of-iis-is-available-in-windows-server-2008 -
8/10/2019 Iis Server Interview Ques
22/29
22
2. Go To Windows > System32
3. Run cscript iisapp.vbs
If there are multiple worker process running on IIS, then how
can you attach a particular worker process for application ?
Well, If there are multiple worker process running in IIS, it means I have to know the name of my application pool.
Then I can run cscript iisapi.vbs script to find out the process ID and Application Pool name . Based on the process
Id for particular application I have to attache the process from Visual studio IDE.
Why do we need to IIS Remote Debugging ?
There are following reasons where we can use remote debugging
1. Your development server does not have IIS installed.
2. Development server and Build/Released/Hosting Server is different
3. Multiple user want to debug simultaneously.
Does IIS allows multiple user to Remote debug
simultaneously ?
Yes. This is one of the great features of msvsmon.exe . Each instance of the remote debugger has a unique server
name.we can give an instance of the remote debugger any server name. Now multiple user can able to access the
server instance.
What is the use of aspnet_regiis -i command ?
This is used automatically register the .NET Framework with your IIS.
For more information :
http://msdn.microsoft.com/en-us/library/k6h9cz8h%28VS.80%29.aspx
Can we have multiple web sites on IIS ?
Yes. IIS Can have multiple web sites and Each and every web sites can have multiple virtual Directory.
http://www.dotnetfunda.com/interviews/show/1439/if-there-are-multiple-worker-process-running-on-iis-then-how-can-you-ahttp://www.dotnetfunda.com/interviews/show/1439/if-there-are-multiple-worker-process-running-on-iis-then-how-can-you-ahttp://www.dotnetfunda.com/interviews/show/1439/if-there-are-multiple-worker-process-running-on-iis-then-how-can-you-ahttp://www.dotnetfunda.com/interviews/show/1440/why-do-we-need-to-iis-remote-debugginghttp://www.dotnetfunda.com/interviews/show/1440/why-do-we-need-to-iis-remote-debugginghttp://www.dotnetfunda.com/interviews/show/1441/does-iis-allows-multiple-user-to-remote-debug-simultaneouslyhttp://www.dotnetfunda.com/interviews/show/1441/does-iis-allows-multiple-user-to-remote-debug-simultaneouslyhttp://www.dotnetfunda.com/interviews/show/1441/does-iis-allows-multiple-user-to-remote-debug-simultaneouslyhttp://www.dotnetfunda.com/interviews/show/1442/what-is-the-use-of-aspnetregiis-i-commandhttp://www.dotnetfunda.com/interviews/show/1442/what-is-the-use-of-aspnetregiis-i-commandhttp://msdn.microsoft.com/en-us/library/k6h9cz8h%28VS.80%29.aspxhttp://www.dotnetfunda.com/interviews/show/1443/can-we-have-multiple-web-sites-on-iishttp://www.dotnetfunda.com/interviews/show/1443/can-we-have-multiple-web-sites-on-iishttp://www.dotnetfunda.com/interviews/show/1443/can-we-have-multiple-web-sites-on-iishttp://www.dotnetfunda.com/interviews/show/1443/can-we-have-multiple-web-sites-on-iishttp://msdn.microsoft.com/en-us/library/k6h9cz8h%28VS.80%29.aspxhttp://www.dotnetfunda.com/interviews/show/1442/what-is-the-use-of-aspnetregiis-i-commandhttp://www.dotnetfunda.com/interviews/show/1442/what-is-the-use-of-aspnetregiis-i-commandhttp://www.dotnetfunda.com/interviews/show/1441/does-iis-allows-multiple-user-to-remote-debug-simultaneouslyhttp://www.dotnetfunda.com/interviews/show/1441/does-iis-allows-multiple-user-to-remote-debug-simultaneouslyhttp://www.dotnetfunda.com/interviews/show/1441/does-iis-allows-multiple-user-to-remote-debug-simultaneouslyhttp://www.dotnetfunda.com/interviews/show/1440/why-do-we-need-to-iis-remote-debugginghttp://www.dotnetfunda.com/interviews/show/1440/why-do-we-need-to-iis-remote-debugginghttp://www.dotnetfunda.com/interviews/show/1439/if-there-are-multiple-worker-process-running-on-iis-then-how-can-you-ahttp://www.dotnetfunda.com/interviews/show/1439/if-there-are-multiple-worker-process-running-on-iis-then-how-can-you-ahttp://www.dotnetfunda.com/interviews/show/1439/if-there-are-multiple-worker-process-running-on-iis-then-how-can-you-a -
8/10/2019 Iis Server Interview Ques
23/29
23
Note : Here web sites means the Root Node.
Where is the default location for IIS Log files ?
Its
C:\WINDOWS\system32\LogFiles\W3SVC1
What is ISAPI Filter ?
This is one of the more important question for experienced guys.
Please read this in details.http://msdn.microsoft.com/en-us/library/ms524610.aspx
What are the major innovation in IIS 7.0 ?
Below are the Major Innovation in IIS 7.0
Components are designed as module and there are major change in administration settings.
FYI : You can find out many of them, just go thorugh Microsoft IIS web site.
What is the Role of Windows Activation Process in IIS ?
WAP is the Controller of Worker process under a Application Pool. Windows Activation Process which is managed by
the worker process by starting, stopping and recycling the application pool. When to start, stop and Recycle should
be defined on Application Pool Settings. Activation Process is also responsible for Health Monitor of Application Pool
during runtime.
FYI : Health monitoring setting can be easily found in Properties of Application Pool.
What are the different type of application pool available in IIS
7.0 ?
IIS 7.0 having two types of application pool.
http://www.dotnetfunda.com/interviews/show/1444/where-is-the-default-location-for-iis-log-fileshttp://www.dotnetfunda.com/interviews/show/1444/where-is-the-default-location-for-iis-log-fileshttp://www.dotnetfunda.com/interviews/show/1445/what-is-isapi-filterhttp://www.dotnetfunda.com/interviews/show/1445/what-is-isapi-filterhttp://msdn.microsoft.com/en-us/library/ms524610.aspxhttp://www.dotnetfunda.com/interviews/show/1446/what-are-the-major-innovation-in-iis-70http://www.dotnetfunda.com/interviews/show/1446/what-are-the-major-innovation-in-iis-70http://www.dotnetfunda.com/interviews/show/1447/what-is-the-role-of-windows-activation-process-in-iishttp://www.dotnetfunda.com/interviews/show/1447/what-is-the-role-of-windows-activation-process-in-iishttp://www.dotnetfunda.com/interviews/show/1448/what-are-the-different-type-of-application-pool-available-in-iis-70http://www.dotnetfunda.com/interviews/show/1448/what-are-the-different-type-of-application-pool-available-in-iis-70http://www.dotnetfunda.com/interviews/show/1448/what-are-the-different-type-of-application-pool-available-in-iis-70http://www.dotnetfunda.com/interviews/show/1448/what-are-the-different-type-of-application-pool-available-in-iis-70http://www.dotnetfunda.com/interviews/show/1448/what-are-the-different-type-of-application-pool-available-in-iis-70http://www.dotnetfunda.com/interviews/show/1448/what-are-the-different-type-of-application-pool-available-in-iis-70http://www.dotnetfunda.com/interviews/show/1447/what-is-the-role-of-windows-activation-process-in-iishttp://www.dotnetfunda.com/interviews/show/1447/what-is-the-role-of-windows-activation-process-in-iishttp://www.dotnetfunda.com/interviews/show/1446/what-are-the-major-innovation-in-iis-70http://www.dotnetfunda.com/interviews/show/1446/what-are-the-major-innovation-in-iis-70http://msdn.microsoft.com/en-us/library/ms524610.aspxhttp://www.dotnetfunda.com/interviews/show/1445/what-is-isapi-filterhttp://www.dotnetfunda.com/interviews/show/1445/what-is-isapi-filterhttp://www.dotnetfunda.com/interviews/show/1444/where-is-the-default-location-for-iis-log-fileshttp://www.dotnetfunda.com/interviews/show/1444/where-is-the-default-location-for-iis-log-files -
8/10/2019 Iis Server Interview Ques
24/29
24
1. DefaultAppPool (Integrated)
2. ClassicAppPool
Which is not an Identity of Application Pool ?
NOTE: This is objective type question, Please click question title for correct answer.
Which application pool having maximum privilege on the
server ?
NOTE: This is objective type question, Please click question title for correct answer.
What is name of default application pool in IIS ?
NOTE: This is objective type question, Please click question title for correct answer.
What are the worker process for IIS 5.1 and IIS 6.0 ?
For IIS 5.1 > aspnet_wp.exe
For IIS 6.0 > w3wp.exe
Now you don't need go anywhere to get the best interview questions on Microsoft technology. We are trying to
gather all real interview questions asked from MNCs and put them here. You can also assist us in doing so
bysubmitting .net interview questions. These questions are generally different from certification questions however
it may help you in that too.
Get 500+ .NET Interview preparation videos at discounted price
66 records found.
http://www.dotnetfunda.com/interviews/show/1449/which-is-not-an-identity-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1449/which-is-not-an-identity-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1450/which-application-pool-having-maximum-privilege-on-the-serverhttp://www.dotnetfunda.com/interviews/show/1450/which-application-pool-having-maximum-privilege-on-the-serverhttp://www.dotnetfunda.com/interviews/show/1450/which-application-pool-having-maximum-privilege-on-the-serverhttp://www.dotnetfunda.com/interviews/show/1451/what-is-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1451/what-is-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1452/what-are-the-worker-process-for-iis-51-and-iis-60http://www.dotnetfunda.com/interviews/show/1452/what-are-the-worker-process-for-iis-51-and-iis-60http://www.dotnetfunda.com/interviews/postexamquestion.aspxhttp://www.itfunda.com/net-interview-preparation-kit-with-dvd-delivery/Show/15http://www.itfunda.com/net-interview-preparation-kit-with-dvd-delivery/Show/15http://www.dotnetfunda.com/interviews/postexamquestion.aspxhttp://www.dotnetfunda.com/interviews/show/1452/what-are-the-worker-process-for-iis-51-and-iis-60http://www.dotnetfunda.com/interviews/show/1452/what-are-the-worker-process-for-iis-51-and-iis-60http://www.dotnetfunda.com/interviews/show/1451/what-is-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1451/what-is-name-of-default-application-pool-in-iishttp://www.dotnetfunda.com/interviews/show/1450/which-application-pool-having-maximum-privilege-on-the-serverhttp://www.dotnetfunda.com/interviews/show/1450/which-application-pool-having-maximum-privilege-on-the-serverhttp://www.dotnetfunda.com/interviews/show/1450/which-application-pool-having-maximum-privilege-on-the-serverhttp://www.dotnetfunda.com/interviews/show/1449/which-is-not-an-identity-of-application-poolhttp://www.dotnetfunda.com/interviews/show/1449/which-is-not-an-identity-of-application-pool -
8/10/2019 Iis Server Interview Ques
25/29
25
Be interview ready, test your skills inVirtual Interview.
Name of the tool which is used for remote debugging of IIS
NOTE: This is objective type question, Please click question title for correct answer.
What is Web Farm ?
This is one of the most question in IIS. And along with that interviewer can as what is the different between Web
farm and Web Garden ?
When we hosted our web Application on multiple web server under a load balancer call the Web Farm. This is
generally used for heavy load web application where there are many user request at a time. So When Web
Application is hosted on Different IIS Server over a load balancer, Load balancer is responsible for distribute the
load on different server.
Please have a look into this :
http://www.dotnetfunda.com/articles/article713-difference-between-web-farm-and-web-garden.aspx
What is the default Identity of an Application Pool ?
NetworkServices
How can we set the default page for any web application ?
We can set the default page for a web site from the Virtual Directory Setting.
How To :
IIS Manager > Virtual Directory > Right Click > Properties > GoTo Document Tab.
How we can set the Idle Time out of an worker process ?
We can set the Idle time out for an worker process from Application Pool Properties.
In Performance Tab of Application pool, we can set the Idle Time out of the worker process. This means worker
http://www.dotnetfunda.com/interviews/interviewtest.aspxhttp://www.dotnetfunda.com/interviews/show/1453/name-of-the-tool-which-is-used-for-remote-debugging-of-iishttp://www.dotnetfunda.com/interviews/show/1453/name-of-the-tool-which-is-used-for-remote-debugging-of-iishttp://www.dotnetfunda.com/interviews/show/1456/what-is-web-farmhttp://www.dotnetfunda.com/interviews/show/1456/what-is-web-farmhttp://www.dotnetfunda.com/articles/article713-difference-between-web-farm-and-web-garden.aspxhttp://www.dotnetfunda.com/interviews/show/1457/what-is-the-default-identity-of-an-application-poolhttp://www.dotnetfunda.com/interviews/show/1457/what-is-the-default-identity-of-an-application-poolhttp://www.dotnetfunda.com/interviews/show/1460/how-can-we-set-the-default-page-for-any-web-applicationhttp://www.dotnetfunda.com/interviews/show/1460/how-can-we-set-the-default-page-for-any-web-applicationhttp://www.dotnetfunda.com/interviews/show/1461/how-we-can-set-the-idle-time-out-of-an-worker-processhttp://www.dotnetfunda.com/interviews/show/1461/how-we-can-set-the-idle-time-out-of-an-worker-processhttp://www.dotnetfunda.com/interviews/show/1461/how-we-can-set-the-idle-time-out-of-an-worker-processhttp://www.dotnetfunda.com/interviews/show/1461/how-we-can-set-the-idle-time-out-of-an-worker-processhttp://www.dotnetfunda.com/interviews/show/1460/how-can-we-set-the-default-page-for-any-web-applicationhttp://www.dotnetfunda.com/interviews/show/1460/how-can-we-set-the-default-page-for-any-web-applicationhttp://www.dotnetfunda.com/interviews/show/1457/what-is-the-default-identity-of-an-application-poolhttp://www.dotnetfunda.com/interviews/show/1457/what-is-the-default-identity-of-an-application-poolhttp://www.dotnetfunda.com/articles/article713-difference-between-web-farm-and-web-garden.aspxhttp://www.dotnetfunda.com/interviews/show/1456/what-is-web-farmhttp://www.dotnetfunda.com/interviews/show/1456/what-is-web-farmhttp://www.dotnetfunda.com/interviews/show/1453/name-of-the-tool-which-is-used-for-remote-debugging-of-iishttp://www.dotnetfunda.com/interviews/show/1453/name-of-the-tool-which-is-used-for-remote-debugging-of-iishttp://www.dotnetfunda.com/interviews/interviewtest.aspx -
8/10/2019 Iis Server Interview Ques
26/29
26
process will shut down after that given time period if it stay idle. And will again wake up again if a new request
comes.
Is there any alternative way to host site on IIS rather than
opening IIS Manager ?
Yes, We can directly host any site from the physical location of directory itself.
Right Click on Physical Folder > Properties > Web Sharing
There you need to select > "Share This Folder" Option Button. Then it will ask for alias name and other setting.
Then Click on OK.
To Validate : Run > Inetmgr > Check there should an virtual directory with the same "Alias" name that you have
given.
If there are already one Virtual directory exist it will showing you the error message while you providing the "Alias"
name.
Can we create one Application Pool From Another Application
Pool ?
Yes. We can.
While creating Application Application Pool From IIS, there should have two option available first one is for Default
Setting and Another is for Existing Setting as template.We can select the second one and from the drop down listed below we can select any on the Application Pool as
Template,.
What are the main components of SVCHost.exe ?
Main components for SVCHost.exe are WWW Publishing Service(W3SVC) and Windows Activation
Porcess (WAP) .
W3SVC is the mediator of HTTP.SYS and Windows Activation Process. Windows Activation Process maintain theworker processes.
What are the different way that we can hosted site on IIS ?
We can hosted site on IIS either creating Virtual Directory through IIS manager or Using Folder Web Sharing .
http://www.dotnetfunda.com/interviews/show/1483/is-there-any-alternative-way-to-host-site-on-iis-rather-than-opening-ihttp://www.dotnetfunda.com/interviews/show/1483/is-there-any-alternative-way-to-host-site-on-iis-rather-than-opening-ihttp://www.dotnetfunda.com/interviews/show/1483/is-there-any-alternative-way-to-host-site-on-iis-rather-than-opening-ihttp://www.dotnetfunda.com/interviews/show/1484/can-we-create-one-application-pool-from-another-application-poolhttp://www.dotnetfunda.com/interviews/show/1484/can-we-create-one-application-pool-from-another-application-poolhttp://www.dotnetfunda.com/interviews/show/1484/can-we-create-one-application-pool-from-another-application-poolhttp://www.dotnetfunda.com/interviews/show/1500/what-are-the-main-components-of-svchostexehttp://www.dotnetfunda.com/interviews/show/1500/what-are-the-main-components-of-svchostexehttp://www.dotnetfunda.com/interviews/show/1505/what-are-the-different-way-that-we-can-hosted-site-on-iishttp://www.dotnetfunda.com/interviews/show/1505/what-are-the-different-way-that-we-can-hosted-site-on-iishttp://www.dotnetfunda.com/interviews/show/1505/what-are-the-different-way-that-we-can-hosted-site-on-iishttp://www.dotnetfunda.com/interviews/show/1505/what-are-the-different-way-that-we-can-hosted-site-on-iishttp://www.dotnetfunda.com/interviews/show/1500/what-are-the-main-components-of-svchostexehttp://www.dotnetfunda.com/interviews/show/1500/what-are-the-main-components-of-svchostexehttp://www.dotnetfunda.com/interviews/show/1484/can-we-create-one-application-pool-from-another-application-poolhttp://www.dotnetfunda.com/interviews/show/1484/can-we-create-one-application-pool-from-another-application-poolhttp://www.dotnetfunda.com/interviews/show/1484/can-we-create-one-application-pool-from-another-application-poolhttp://www.dotnetfunda.com/interviews/show/1483/is-there-any-alternative-way-to-host-site-on-iis-rather-than-opening-ihttp://www.dotnetfunda.com/interviews/show/1483/is-there-any-alternative-way-to-host-site-on-iis-rather-than-opening-ihttp://www.dotnetfunda.com/interviews/show/1483/is-there-any-alternative-way-to-host-site-on-iis-rather-than-opening-i -
8/10/2019 Iis Server Interview Ques
27/29
27
Apart from that Visual studio provide some inbuilt features to host the site on IIS like using Publishing the web site
, Using Copy web Tool or Creating Virtual directory during the creating the project by choosing Location as HTTP
How does IIS process an ASP.net request ?
When client request for an aspx pages, request comes to kernel level off IIS means to HTTP.SYS.
HTTP.SYS receives the request and based on the application pool name [ Which is already registred with the
HTTP.SYS ] it send the request to worker process. Windows Activation processworks as mediator of
them.w3wp.exe loads "aspnet_isapi.dll" files to start
the HTTPRuntime .HTTPRuntime creates HTTPApplication objects and all request are passed
through HTTPModule and finally reached to HttpHandler. This is the request pipeline. After end of Request
pipeline ASP.NET Page lifecycle starts.
For more Information :
http://www.codeproject.com/KB/aspnet/aspnetrequestarchitecture.aspx
From where we can set the Session Time Out in IIS ?
We can set the Session time out settings from the Virtual Directory for that site.
Right Click on Virtual Directory > Properties > Click on "Configuration" Button
Goto the "Option" Tab. There inEnable Session StateSection you can configure the Session Timeout .
What are the different "Execution Permission" available for
IIS for an virtual directory ?
There are three Execution Permission available.
1. None
2. Scripts Only
3. Scripts and Executable
From where you can change the ASP.NET Version in IIS ?
This can be change from Virtual Directory properties. First open Properties of Virtual Directory > GoTo ASP.NET
Version Tab.
http://www.dotnetfunda.com/interviews/show/1506/how-does-iis-process-an-aspnet-requesthttp://www.dotnetfunda.com/interviews/show/1506/how-does-iis-process-an-aspnet-requesthttp://www.codeproject.com/KB/aspnet/aspnetrequestarchitecture.aspxhttp://www.dotnetfunda.com/interviews/show/1507/from-where-we-can-set-the-session-time-out-in-iishttp://www.dotnetfunda.com/interviews/show/1507/from-where-we-can-set-the-session-time-out-in-iishttp://www.dotnetfunda.com/interviews/show/1508/what-are-the-different-execution-permission-available-for-iis-for-an-vhttp://www.dotnetfunda.com/interviews/show/1508/what-are-the-different-execution-permission-available-for-iis-for-an-vhttp://www.dotnetfunda.com/interviews/show/1508/what-are-the-different-execution-permission-available-for-iis-for-an-vhttp://www.dotnetfunda.com/interviews/show/1509/from-where-you-can-change-the-aspnet-version-in-iishttp://www.dotnetfunda.com/interviews/show/1509/from-where-you-can-change-the-aspnet-version-in-iishttp://www.dotnetfunda.com/interviews/show/1509/from-where-you-can-change-the-aspnet-version-in-iishttp://www.dotnetfunda.com/interviews/show/1509/from-where-you-can-change-the-aspnet-version-in-iishttp://www.dotnetfunda.com/interviews/show/1508/what-are-the-different-execution-permission-available-for-iis-for-an-vhttp://www.dotnetfunda.com/interviews/show/1508/what-are-the-different-execution-permission-available-for-iis-for-an-vhttp://www.dotnetfunda.com/interviews/show/1508/what-are-the-different-execution-permission-available-for-iis-for-an-vhttp://www.dotnetfunda.com/interviews/show/1507/from-where-we-can-set-the-session-time-out-in-iishttp://www.dotnetfunda.com/interviews/show/1507/from-where-we-can-set-the-session-time-out-in-iishttp://www.codeproject.com/KB/aspnet/aspnetrequestarchitecture.aspxhttp://www.dotnetfunda.com/interviews/show/1506/how-does-iis-process-an-aspnet-requesthttp://www.dotnetfunda.com/interviews/show/1506/how-does-iis-process-an-aspnet-request -
8/10/2019 Iis Server Interview Ques
28/29
28
There we can have change the ASP.NET Version.
What is the latest version of IIS released with Windows 7
IIS 7.5
What is the default user name of an anonymous login in IIS?
In IIS, an anonymous user will be given with a user name of "IUSR_MachineName "
How can we take back-ups in IIS Server?
Step 1 : In the IIS (inetmgr), right click on the "Computer" icon under "Internet Information Services" . Click "All
Tasks" and select "Backup/Restore Configuration".
Step 2 : Click on button "Create backup". Give Name for your backup file. If you want encryption enable encryption
option and give UserName and Password and then click OK.
What is IIS metabase? And In which format IIS storsconfigurations?
IIS metabase is a special databse which is used to maintain the settings and configurations data for IIS. In simple
term, it is a configuration base for IIS (Metabase.xml).
IIS 5.0 --> Metabse is in Binary.
IIS 6.0 & 7.5 --> Metabase is in XML.
List of Error & Status codes in IIS 6.0?
Status CodeType of Code
100 Series - Informational
200 Series - Success
300 Series - Redirection
400 Series - Client Error
500 Series - Server Error
http://www.dotnetfunda.com/interviews/show/1843/what-is-the-latest-version-of-iis-released-with-windows-7http://www.dotnetfunda.com/interviews/show/1843/what-is-the-latest-version-of-iis-released-with-windows-7http://www.dotnetfunda.com/interviews/show/2811/what-is-the-default-user-name-of-an-anonymous-login-in-iishttp://www.dotnetfunda.com/interviews/show/2811/what-is-the-default-user-name-of-an-anonymous-login-in-iishttp://www.dotnetfunda.com/interviews/show/2812/how-can-we-take-back-ups-in-iis-serverhttp://www.dotnetfunda.com/interviews/show/2812/how-can-we-take-back-ups-in-iis-serverhttp://www.dotnetfunda.com/interviews/show/3045/what-is-iis-metabase-and-in-which-format-iis-stors-configurationshttp://www.dotnetfunda.com/interviews/show/3045/what-is-iis-metabase-and-in-which-format-iis-stors-configurationshttp://www.dotnetfunda.com/interviews/show/3045/what-is-iis-metabase-and-in-which-format-iis-stors-configurationshttp://www.dotnetfunda.com/interviews/show/3046/list-of-error-status-codes-in-iis-60http://www.dotnetfunda.com/interviews/show/3046/list-of-error-status-codes-in-iis-60http://www.dotnetfunda.com/interviews/show/3046/list-of-error-status-codes-in-iis-60http://www.dotnetfunda.com/interviews/show/3046/list-of-error-status-codes-in-iis-60http://www.dotnetfunda.com/interviews/show/3045/what-is-iis-metabase-and-in-which-format-iis-stors-configurationshttp://www.dotnetfunda.com/interviews/show/3045/what-is-iis-metabase-and-in-which-format-iis-stors-configurationshttp://www.dotnetfunda.com/interviews/show/3045/what-is-iis-metabase-and-in-which-format-iis-stors-configurationshttp://www.dotnetfunda.com/interviews/show/2812/how-can-we-take-back-ups-in-iis-serverhttp://www.dotnetfunda.com/interviews/show/2812/how-can-we-take-back-ups-in-iis-serverhttp://www.dotnetfunda.com/interviews/show/2811/what-is-the-default-user-name-of-an-anonymous-login-in-iishttp://www.dotnetfunda.com/interviews/show/2811/what-is-the-default-user-name-of-an-anonymous-login-in-iishttp://www.dotnetfunda.com/interviews/show/1843/what-is-the-latest-version-of-iis-released-with-windows-7http://www.dotnetfunda.com/interviews/show/1843/what-is-the-latest-version-of-iis-released-with-windows-7 -
8/10/2019 Iis Server Interview Ques
29/29
29
How to recycle application pool from the command prompt in
IIS7?
1. Use appcmd.exe to recycle the application pool from the command prompt.
2. appcmd.exe is the command line tool for IIS7, you will find this tool at following location :
%systemroot%\system32\inetsrv\appcmd
3. To recycle your application pool use the following command:
appcmd recycle apppool /apppool.name:
What are the Different steps to be followed to get
SSL(Secure Sockets Layer) for our Web Application ?
.Intially we have to Generate a certificate request from our IIS
.Now we have to request a certificate from the certificate authority(CA)
.This CA is an entity which issues Digital Certificates.
.After receiving the certificate we have to install that particular certificate on our Web Server using IIS
.We have to use Secure Hyper Text Transfer Protocol(HTTPS) when accessing secure pages in our application.
By this way we could make our web page as SSLprotected. !!!
http://www.dotnetfunda.com/interviews/show/3506/how-to-recycle-application-pool-from-the-command-prompt-in-iis7http://www.dotnetfunda.com/interviews/show/3506/how-to-recycle-application-pool-from-the-command-prompt-in-iis7http://www.dotnetfunda.com/interviews/show/3506/how-to-recycle-application-pool-from-the-command-prompt-in-iis7http://www.dotnetfunda.com/interviews/show/3662/what-are-the-different-steps-to-be-followed-to-get-sslsecure-sockets-lhttp://www.dotnetfunda.com/interviews/show/3662/what-are-the-different-steps-to-be-followed-to-get-sslsecure-sockets-lhttp://www.dotnetfunda.com/interviews/show/3662/what-are-the-different-steps-to-be-followed-to-get-sslsecure-sockets-lhttp://www.dotnetfunda.com/interviews/show/3662/what-are-the-different-steps-to-be-followed-to-get-sslsecure-sockets-lhttp://www.dotnetfunda.com/interviews/show/3662/what-are-the-different-steps-to-be-followed-to-get-sslsecure-sockets-lhttp://www.dotnetfunda.com/interviews/show/3662/what-are-the-different-steps-to-be-followed-to-get-sslsecure-sockets-lhttp://www.dotnetfunda.com/interviews/show/3506/how-to-recycle-application-pool-from-the-command-prompt-in-iis7http://www.dotnetfunda.com/interviews/show/3506/how-to-recycle-application-pool-from-the-command-prompt-in-iis7http://www.dotnetfunda.com/interviews/show/3506/how-to-recycle-application-pool-from-the-command-prompt-in-iis7