300+ TOP IIS ADMIN Interview Questions and Answers [LATEST]

IIS ADMIN Interview Questions

1. What Is Web Farm In Iis?

Hosting webapplication in multiple webservers using load balancer is called as Web Farm.To avoid the high load in single server this load balancer method will use to distribute the traffic to different server on same web application.

2. What Is Web Garden?

Configure multiple work process on one application pool in a web server is called as Web Garden.Application Pool can configure for multiple websites hosted in IIS.

3. Which Is The Default Identity Of An Application Pool?

Network Services

4. Different Available Identity Of An Application Pool?

For IIS 6.0 –
NetworkServices,LocalService,LocalSystem

For IIS 7.0 –
NetworkServices,LocalService,LocalSystem and Application Pool Identity.

5. Worker Process In Iis 6.0 And Iis 7.0?

For IIS 6.0 > w3wp.exe
For IIS 7.0 > w3wp.exe
in IIS 5.1 worker process is aspnet_wp.exe.

6. What Are The Various Application Pool In Iis ?

1. DefaultAppPool (Integrated)
2. ClassicAppPool

7. Unique Properties Of App Pool In Iis?

1.Recycling Process
2.Performance
3.Health
4.Process Identity

8. How To Restart Iis From Command Prompt?

Use the following command “IISRESET”.

9. Default Iis Services?

1. www services (Worldwide Web)
2. FTP services (File Transfer Protocol)
3. SMTP services (Simple Mail Transfer Protocol)
4. NNTP services (Network News Transfer Protocol)

10. Default Iis Port Numbers?

  • HTTP – 80
  • SSL – 443
  • FTP – 21
  • SMTP – 25
  • POP3 – 110
  • IMAP – 143
  • NNTP – 119
  • LDAP – 89

Other Port Number

      • DNS – 53
      • DHCP : 67

11. What Is Iis Application Pool?

Application Pool stated that Multiple web applications or Group of web applications.
Application pool contain one or more Web URLs used by Worker processes.For one website or many website we can assign Application Pool, to avoid the effect of other website need to create seperate Application Pool.

12. Difference Between App Pool And App Domain In Iis ?

App Pool and App Domain both are for isolations on different approches.App Pool use process to isolate without .net but for App Domain isolation methods by .net.

In Simple terms

For Multiple websites in IIS need different Application Pool.
In Single domain purpose we use Application Domain.

13. Different Layers In Iis Architecture ?

Two types of layers in IIS:

  1. Kernal Mode
  2. User Mode

Under Main Layers sub contents are:

1.Kernel Mode

  • HTTP.SYS

2.User Mode

      • Web Admin Service
      • Virtual Directory
      • Application Pool

14. What Is The Key Role Od Http.sys In Iis ?

HTTPS.SYS key component in Kernal level.It process the queue which hit the client request for each Application Pool depend on request.While create any new Application Pool IIS will register the Application Pool with HTTP.SYS.

15. What Are The Security Authentication In Iis ?

1.Anonymous ( Default Authentication in IIS runs under IUSER_servername )
2.Integrated Windows Authentication
3.Basic Authentication
4.Digest Authentication
5.Passport Authentication

16. How To Open Iis Manager ?

      1. From Run -> inetmgr
      2. Start -> Programs -> Administrative tools

17. What Are The Default Permissions For Virtual Directory?

1.Read
2.Write
3.Execute
4.Browse
5.Run Scripts

18. How To Save Application Pool Settings In A File?

Right click on Application Pool ->All Task ->Save Configuration to a File.
It will save the configuration file in xml format.

19. How User Can Attach A Particular Worker Process To Application When Multiple Worker Process Are Running In Iis?

First identify the Application pool name and process ID using cscript iisapi.vbs script.Later attach process from Visual Studio IDE.

20. What Is Isapi Filter?

ISAPI filters are DLL files used to modify the enhance functionality allocated by IIS.By default ISAPI filters run in IIS server.

      1. change request URL or headers
      2. perform custom authentication
      3. Handle encryption and compression

21. What Are Core Components Of Svchost.exe In Iis?

SVCHost.exe is the key component of www publishing service (w3svc) and Windows action Process(WAP)(WAP for start and stop the process).

W3SVC is the mediator for HTTP.SYS and WAP(windows activation process)

22. What Are The Execution Permission For Virtual Directory?

1.None
2.Scripts Only
3.Scripts and Executable

23. How To Take Iis Server Backup?

      1. Open IIS and right click on Computer in IIS.
      2. Select Internet Information Services.Now goto All Tasks Backup/Restore Configuration.
      3. Click on create backup and give the backup name.

24. Which Dll Is Used To Translate Xml To Sql In Iis?

Sqlisapi.dll

25. What Are Script Files In Iis?

iisweb.vsb –
Create,Delete,start,stop,list websites

iisftp.vsb –
Create,Delete,start,stop,List FTP sites

iisdir.vsb –
Create,Delete,start,stop,List Virtual Directories

iisftpdr.vsb –
Create,Delete,start,stop,List Virtual Directories under FTP root

iiscnfg.vbs –
Export and import IIS configuration to an XML file

26. How To Use Sql Database Connection In Iis?

Open IIS and go to ASP.NET panel from here select Connection Strings to Add Connection String.

To manage the database from IIS use Database Manager( Download and install from Microsoft website)

Tags:
IIS,IIS interview,IIS Interview Questions,IIS interview latest questions,IIS update questions,windows IIS interview questions,Virtual directory,IIS Interview Tips,IIS Versions,IIS services,Internet Information Service.

27. 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.

28. If There Are Multiple Worker Process Running On Iis, Then How Can You Attach A Particular Worker Process For Application ?

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.

29. 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.

30. 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 .

IIS ADMIN Interview Questions with answers pdf download online exam test