Tuesday, December 20, 2011

IIS Administration Interview Questions and Answers Series 6

Can we create one Application Pool From Another Application Pool?
Yes. We can create, 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 the worker 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. 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 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.

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 in Enable Session State Section 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.
There we can have change the ASP.NET Version.

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?
1 : In the IIS (inetmgr), right click on the "Computer" icon under "Internet Information Services" . Click "All Tasks" and select "Backup/Restore Configuration".

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?
IIS metabase is a special database 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.


Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More