Important Internet Information Servers Interview Questions
Q – 1 Define the different security settings available in IIS?
Ans- Below are the commonly used IIS Security settings:
★ Anonymous
★ Integrated Windows Authentication
★ Digest Authentication
★ Passport Authentication
★ Basic Authentication
For Set security permission you need to go to Virtual Directory > Right Click > Properties > Directory Security
Click on Edit Button.
Q – 2 Describe the different types of identity available in IIS 6.0?
Ans- IIS having three different Identity:
★ Local System
★ Local Services
★ NetworkServices
Q – 3 Describe the role of Http.Sys in IIS?
Ans- 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 – 4 Describe the permission settings are available for Virtual directory?
Ans- Below are the list of permission that can be set during virtual directory creation:
★ Read
★ Run Scripts
★ Execute
★ Write
★ Browse
Q – 5 How to create a Virtual directory on IIS?
Ans- 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
Q – 6 How to open IIS configuration manager?
Ans- Just simply Run >inetmgr
Or we can open it from control panel > Administrative tools.
Q – 7 How to debug a web application which is hosted on IIS?
Ans- 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.
Q – 8 How to create web garden?
Ans- For creating web graden we need to go to Application Pool, then Right Click on Application Pool > Properties > Goto Performance Tab
In Web Garden Section, increase the number of worker process. By default it is 1.
Q – 9 Explain the main layers of IIS architecture?
Ans- IIS having mainly two layer Kernel Mode and User Mode.
Below are the subsection of both of them:
1) Kernel Mode
★ HTTP.SYS
2) User Mode
★ Web Admin Service
★ Virtual Directory
★ Application Pool
Q – 10 Define recycling of application pool?
Ans- Recycling 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
★ Recycling Worker Process – Predefined Settings
★ Recycling Worker Process – Based on Memory
Q – 11 What is the default Identity of IIS6.0?
Ans- Default Identity of IIS 6.0 is Network-Services.
Which is having very minimum rights on your system. The user can only have the read access of the site.
Q – 12 What is the name of default application pool in IIS?
Ans- Though we can create new application pool IIS with different settings, but IIS having its own default application pool named: DefaultAppPool.
Q – 13 What is application pool in IIS?
Ans- 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:
★ Isolation of Different Web Application
★ Individual worker process for different web application
★ More reliably web application
★ Better Performance
Q – 14 Define the different version on IIS that you have worked on?
Ans- 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.
Q – 15 Explain the role of IIS?
Ans- 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.
Q – 16 What is a vector space query?
Ans- A multiple-word query where the weight can be assigned to each of the search words. For example, if you want to fight information on ‘black hole’, but would prefer to give more weight to the word hole, you can enter black hole into the search window.
Q – 17 For the document of size 1 MB, what size would you expect the index to be with Indexing Service?
Ans- 150-300 KB, 15-30% is a reasonable expectation.
Q – 18 Where is ASP cache located on IIS 6.0?
Ans- On disk, as opposed to memory, as it used to be in IIS 5.
Q – 19 What is the role of http.sys in IIS?
Ans- It is the point of contact for all incoming HTTP requests. It listens for requests and queues them until they are all processed, no more queues are available, or the Web server is shut down.
Q – 20 What is the relation between SSL and TLS?
Ans- Transport Layer Security (TLS) extends SSL by providing cryptographic authentication.
Q – 21 What secure authentication and encryption mechanisms are supported by IIS 6.0?
Ans- Basic authentication, Digest authentication, Advanced digest authentication, Certificate-based Web transactions that use PKCS #7/PKCS #10, Fortezza, SSL, Server-Gated Cryptography, Transport Layer Security
Q – 22 What is the name of the user who connects to the Web site anonymously?
Ans- IUSR_computername
Q – 23 What scripts ship with IIS 6.0?
Ans- iisweb.vsb to create, delete, start, stop, and list Web sites, iisftp.vsb to create, delete, start, stop, and list FTP sites, iisdir.vsb to create, delete, start, stop, and display virtual directories, iisftpdr.vsb to create, delete, start, stop, and display virtual directories under an FTP root, iiscnfg.vbs to export and import IIS configuration to an XML file.
Q – 24 What is the difference between the basic disk and dynamic disk?
Ans- The basic type contains partitions, extended partitions, logical drivers, and an assortment of static volumes; the dynamic type does not use partitions but dynamically manages volumes and provides advanced storage options
Q – 25 Can Windows Server 2003 function as a bridge?
Ans- Yes, and it’s a new feature for the 2003 product. You can combine several networks and devices connected via several adapters by enabling IP routing.
Q – 26 Does Windows Server 2003 support IPv6?
Ans- Yes, run ipv6.exe from command line to disable it.
Q – 27 What is presentation layer responsible for in the OSI model?
Ans- The presentation layer establishes the data format prior to passing it along to the network application’s interface. TCP/IP networks perform this task at the application layer.
Q – 28 What is the proporties of application Pool in IIS?
Ans- The proporties of application Pool in IIS is:
1 Recycling
2 Performance
3 Health
4 Identity
Q – 29 what is the difference between IIS 5.1 and IIS 6 administration?
Ans- IIS 5.1 is for Windows XP
IIS 6 is for Windows Server, We can create separate application pool with worker process for a separete website in IIS 6.0 Server only.
Q – 30 What is App Pool and App Domain? What is the difference between the two in IIS?
Ans-
► Application pool is created the each and every website.
► Application domain is created to one domain purpose.
Q – 31 In IIS Version 6.0 Through application pool we can provide different -2 applications for the client. Is it right? If yes then how to provide the application to the client and what kind of application it can be?
Ans- If you are running your IIS server with 2 different versions of framework(1.1 & 2.0)you can create 2 different application pools and point your application to the required framework you want to run.
Q – 32 How many times are working in IIS Server?
Ans- 24 Hours
Q – 33 Whats the Hardware requirements for the IIS Server so that we can host a webpage?
Ans- It depends upon the what kind of Application we are using and related to frontend and backend features .Also
Number of hits to the server on live is one of the Important key for the configuration .
Minimal configuration for a PHP webpage is
1.Any mid range server with (IBM system X , blade)
2.4 GB ram
3.160 GB HDD (May vary according to the Data )if seperate DB server is used we dont want this much of space for the Application server
Please be more specific on the Application we are going to host , so that we can plan a good configuration .
Q – 34 Can we run multiple websites with same port number and different IP address?
Ans- Yes, We can use multiple websites with same port number and different IP address.
Q – 35 How to install our Web Application In IIS Web Server?
Ans- There are different way to deploy the web application in web server like
1- X Copy deployment
2- create setup package and install the server machine
3- use the deployment tools and configure the server repositery and drag and drop all files in your machine to virtul folder of server machine,