iis inteview question

6
IIS Inteview Question: when i am in UK and my iis server is in India,my server is automatically down?In that time how can solve the problem? if you have multiple servers and they are running in cluster first you have to identify by loging individually to the server vis server IP and not the VIP . Identify the server and remove it from cluster . What is Web Garden? A Web garden is configured on a single server by specifying multiple worker processes for application pool. Web farms use multiple physical servers for supporting a single Web site What are the worker process for IIS 5.1 and IIS 6.0 and IIS 7.0? For IIS 5.1 aspnet!wp.e"e For IIS #.$ w%wp.e"e For IIS &.$ w%wp.e"e 'ypes of Authentication available in IIS #.$ and &.$ What is the use of aspnet_regiis i co!!and ? 'his is used automatically register the .()' Framework with your IIS. If there are !u"tip"e worker process running on IIS# then how can $ou attach a particu"ar worker process for app"ication ? run cscript iisapi.%bs script to find out the process I* and Application +ool name . ,ased on the process Id for particular application I have to attache the process -isual studio I*). IIS &pp"ication poo" ? Group of web app"ications are ca""ed app"ication poo" .

Upload: deepagaje

Post on 06-Oct-2015

2 views

Category:

Documents


0 download

DESCRIPTION

ddg

TRANSCRIPT

IIS Inteview Question:

when i am in UK and my iis server is in India,my server is automatically down?In that time how can solve the problem?if you have multiple servers and they are running incluster first you have to identify by loging individuallyto the server vis server IP and not the VIP . Identify theserver and remove it from cluster .

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 are the worker process for IIS 5.1 and IIS 6.0 and IIS 7.0?For IIS 5.1 > aspnet_wp.exeFor IIS 6.0 > w3wp.exeFor IIS 7.0 > w3wp.exe

Types of Authentication available in IIS 6.0 and 7.0

What is the use of aspnet_regiis -i command ?This is used automatically register the .NET Framework with your IIS.

If there are multiple worker process running on IIS, then how can you attach a particularworker process for application ?runcscript iisapi.vbsscript 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.

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 set of worker processes. Any Web directory or virtual directory can be assigned to an application pool. 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.

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 a certificate attached to the Web site. If the button is not activated, you must attach a server certificate 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? (IIS 6.0)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 on your server. Administrators can also specify the names of ISAPIs or CGIs that are forbidden to run on your server. Before loading an ISAPI extension .dll file or CGI .exe file, IIS checks this manifest 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 response to 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.2 error, which administrators can view to assess problems or potential threats against the server.

What is ISAPI Filter ?ISAPI filters are DLL files that can be used to modify and enhance the functionality provided by IIS. ISAPI filters always run on an IIS server, filtering every request until they find one they need to process. The ability to examine and modify both incoming and outgoing streams of data makes ISAPI filters powerful and flexible.

Filters are registered at either the site level or the global level (that is, global filters apply to all sites on the IIS server), and are initialized when the worker process is started. A filter listens 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 comes with wizards that make ISAPI development fast and easy.

Q: 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 etcQ: What is Application Pool in IIS ?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.Q: 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.

Q: What are the different security settings available in IIS ?Below are the commonly used IIS Security settings1 Anonymous2 Integrated Windows Authentication3. Basic Authentication4. Digest Authentication5. Passport AuthenticationFor Set security permission you need to go to Virtul Directory > Right Click > Properties > Directory SecurityClick on Edit Button .Q: What are the main layers of IIS Architecture ?IIS having mainly two layer Kernel Mode and User ModeQ: What is the Name of Default Application Pool in IIS ?Default application pool named : DefaultAppPoolHow do I stop and restart Internet services?By using the IISRESET command

What is the properties of App Pool in IIS?1.Recycling2.Perfomance3.Health4.Identity

IIS Services?1. www services2. FTP services3. SMTP services4. NNTP services

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

Which Tool is used for Remote IIS Debugging ?Tools is : msvsmon.exeThis is located at : \Microsoft Visual Studio 8\Common7\IDERemote Debuggerx86\

How to check Installed.Net Version on IISC:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe lv

Where is the default location for IIS Log files ?C:\WINDOWS\system32\LogFiles\W3SVC1

What are the different type of application pool available in IIS 7.0 ?1. DefaultAppPool (Integrated)2. ClassicAppPool

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

How to know whether IIS is installed in your machine or not.

Click inetmgr in run ,if iis there,that wll openBrowse or navigate to the URLhttp://localhost/

How to restart the IIS ?

Go to run--> type 'iisreset' --> enterIIS version:6.0Built-in component of Windows Server 2003.WIndows Server 2003

7.0Built-in component of Windows Vista and Windows Server 2008.Windows Vista and WIndows Server 2008

7.5Built-in component of Windows 7 and Windows Server 2008 R2.Windows 7 and Windows Server 2008 R2

8.0Built-in component of Windows8 and Windows Server 2012.Windows8 and Windows Server 2012

Which DLL transulates or convert XML to SQL in IIS.Sqlisapi.dllWhere does the virtual directory locate? C:\inetpub\wwwrootWindows Process Activation Service (WAS)Windows Process Activation Service (WAS) manages application pool configuration and the creation and lifetime of worker processes for HTTP and other protocols. The World Wide Web Publishing Service (W3SVC) and other services depend on WAS.what is iis applicaion pool?1. Anapplication poolis a group of one or more URLs that are served by a worker process or set of worker processes.Application poolsare used to separate sets ofIISworker processes that share the same configuration andapplicationboundaries.

What is Web Farm?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 requests 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.